Web Inspector [chromium]: toolbar border is missing on non-Mac in docked-to-bottom...
[WebKit-https.git] / Source / WebKit / chromium / ChangeLog
1 2013-01-11  Pavel Feldman  <pfeldman@chromium.org>
2
3         Web Inspector [chromium]: toolbar border is missing on non-Mac in docked-to-bottom mode
4         https://bugs.webkit.org/show_bug.cgi?id=106560
5
6         Reviewed by Vsevolod Vlasov.
7
8         * src/js/devTools.css:
9         (body.dock-to-bottom.platform-mac #toolbar):
10
11 2013-01-10  Noel Gordon  <noel.gordon@gmail.com>
12
13         [chromium] Disable PNG and ICO image webkit-unit-tests after r139347
14         https://bugs.webkit.org/show_bug.cgi?id=106631
15
16         Reviewed by Eric Seidel.
17
18         * tests/WebImageTest.cpp:
19         (WebKit::TEST): Disable ICOImage and PNGImage tests on WIN and MAC to
20         green their respective webkit-unit-test bots. The tests still pass on
21         LINUX so keep test coverage there for now.
22
23 2013-01-10  Dan Beam  <dbeam@chromium.org>
24
25         Implement AutocompleteErrorEvent#reason
26         https://bugs.webkit.org/show_bug.cgi?id=105568
27
28         Reviewed by Adam Barth.
29
30         * public/WebFormElement.h: Added matching enum values for public chromium WebKit API.
31         * src/AssertMatchingEnums.cpp: Updated compile assert that WebKit and WebCore enums match.
32
33 2013-01-10  Adam Barth  <abarth@webkit.org>
34
35         Add an ENABLE macro and a WebCore::Setting for the threaded parser
36         https://bugs.webkit.org/show_bug.cgi?id=106595
37
38         Reviewed by Benjamin Poulain.
39
40         Explicitly disable THREADED_HTML_PARSER for Chromium so that we can
41         more easily enable it locally.
42
43         * features.gypi:
44
45 2013-01-10  John Mellor  <johnme@chromium.org>
46
47         Fix scale of screen.width, window.outerWidth and @media device-width when page scale not applied in compositor.
48         https://bugs.webkit.org/show_bug.cgi?id=106460
49
50         Reviewed by Kenneth Rohde Christiansen.
51
52         1. Exposes the existing applyDeviceScaleFactorInCompositor from
53         WebSettings on Settings (and stores the value there instead), so it can
54         be accessed from WebCore.
55
56         2. Changes ChromeClientImpl::windowRect to return values in density
57         independent (UI) pixels pixels instead of physical screen pixels (see
58         explanation in Source/WebCore/ChangeLog).
59
60         * src/ChromeClientImpl.cpp:
61         (WebKit::ChromeClientImpl::windowRect):
62             Normalizes window rect scale.
63         * src/WebSettingsImpl.cpp:
64         (WebKit::WebSettingsImpl::WebSettingsImpl):
65         (WebKit::WebSettingsImpl::setApplyDeviceScaleFactorInCompositor):
66         (WebKit::WebSettingsImpl::applyDeviceScaleFactorInCompositor):
67         (WebKit):
68         * src/WebSettingsImpl.h:
69         (WebSettingsImpl):
70
71 2013-01-10  Sheriff Bot  <webkit.review.bot@gmail.com>
72
73         Unreviewed.  Rolled DEPS.
74
75         * DEPS:
76
77 2013-01-10  Dimitri Glazkov  <dglazkov@chromium.org>
78
79         Unreviewed, rolling out r139227.
80         http://trac.webkit.org/changeset/139227
81         https://bugs.webkit.org/show_bug.cgi?id=106227
82
83         Broke Win component build.
84
85         * public/WebAccessibilityObject.h:
86         * public/WebAccessibilityRole.h:
87         * public/WebActiveWheelFlingParameters.h:
88         * public/WebAnimationController.h:
89         * public/WebApplicationCacheHost.h:
90         * public/WebApplicationCacheHostClient.h:
91         * public/WebArrayBuffer.h:
92         * public/WebAudioSourceProvider.h:
93         * public/WebBatteryStatus.h:
94         * public/WebBindings.h:
95         * public/WebBlob.h:
96         * public/WebCache.h:
97         * public/WebCachedURLRequest.h:
98         * public/WebColorChooser.h:
99         * public/WebColorChooserClient.h:
100         * public/WebColorName.h:
101         * public/WebCommonWorkerClient.h:
102         * public/WebCompositionUnderline.h:
103         * public/WebCompositorInputHandler.h:
104         * public/WebConsoleMessage.h:
105         * public/WebContentDetectionResult.h:
106         * public/WebContextMenuData.h:
107         * public/WebCrossOriginPreflightResultCache.h:
108         * public/WebCursorInfo.h:
109         * public/WebDOMEvent.h:
110         * public/WebDOMEventListener.h:
111         * public/WebDOMStringList.h:
112         * public/WebDataSource.h:
113         * public/WebDatabase.h:
114         * public/WebDateTimeChooserCompletion.h:
115         * public/WebDateTimeChooserParams.h:
116         * public/WebDeliveredIntentClient.h:
117         * public/WebDevToolsAgent.h:
118         * public/WebDevToolsAgentClient.h:
119         * public/WebDevToolsFrontend.h:
120         * public/WebDeviceOrientationClient.h:
121         * public/WebDeviceOrientationClientMock.h:
122         * public/WebDeviceOrientationController.h:
123         * public/WebDocument.h:
124         * public/WebDraggableRegion.h:
125         * public/WebExternalPopupMenuClient.h:
126         * public/WebFileChooserCompletion.h:
127         * public/WebFileChooserParams.h:
128         * public/WebFileSystemCallbacks.h:
129         * public/WebFileSystemEntry.h:
130         * public/WebFileWriter.h:
131         * public/WebFileWriterClient.h:
132         * public/WebFindOptions.h:
133         * public/WebFont.h:
134         * public/WebFontCache.h:
135         * public/WebFontDescription.h:
136         * public/WebFormControlElement.h:
137         * public/WebFormElement.h:
138         * public/WebFrame.h:
139         * public/WebFrameClient.h:
140         * public/WebGeolocationClientMock.h:
141         * public/WebGeolocationController.h:
142         * public/WebGeolocationError.h:
143         * public/WebGeolocationPermissionRequest.h:
144         * public/WebGeolocationPermissionRequestManager.h:
145         * public/WebGeolocationPosition.h:
146         * public/WebGlyphCache.h:
147         * public/WebHelperPlugin.h:
148         * public/WebHistoryItem.h:
149         * public/WebHitTestResult.h:
150         * public/WebIDBCallbacks.h:
151         * public/WebIDBCursor.h:
152         * public/WebIDBDatabase.h:
153         * public/WebIDBDatabaseCallbacks.h:
154         * public/WebIDBDatabaseError.h:
155         * public/WebIDBFactory.h:
156         * public/WebIDBIndex.h:
157         * public/WebIDBKey.h:
158         * public/WebIDBKeyPath.h:
159         * public/WebIDBKeyRange.h:
160         * public/WebIDBMetadata.h:
161         * public/WebIDBObjectStore.h:
162         * public/WebIDBTransaction.h:
163         * public/WebIDBTransactionCallbacks.h:
164         * public/WebIconURL.h:
165         * public/WebImageDecoder.h:
166         * public/WebInputEvent.h:
167         * public/WebIntent.h:
168         * public/WebIntentRequest.h:
169         * public/WebIntentServiceInfo.h:
170         * public/WebMediaPlayer.h:
171         * public/WebMediaStreamRegistry.h:
172         * public/WebMenuItemInfo.h:
173         * public/WebNetworkStateNotifier.h:
174         * public/WebNode.h:
175         * public/WebNodeCollection.h:
176         * public/WebNodeList.h:
177         * public/WebNotification.h:
178         * public/WebNotificationPresenter.h:
179         * public/WebOptionElement.h:
180         * public/WebPageOverlay.h:
181         * public/WebPagePopup.h:
182         * public/WebPageSerializer.h:
183         * public/WebPasswordFormData.h:
184         * public/WebPerformance.h:
185         * public/WebPlugin.h:
186         * public/WebPluginContainer.h:
187         * public/WebPluginParams.h:
188         * public/WebPopupMenu.h:
189         * public/WebPopupMenuInfo.h:
190         * public/WebPrerendererClient.h:
191         * public/WebPrintParams.h:
192         * public/WebRange.h:
193         * public/WebRegularExpression.h:
194         * public/WebRuntimeFeatures.h:
195         * public/WebScopedMicrotaskSuppression.h:
196         * public/WebScopedUserGesture.h:
197         * public/WebScriptController.h:
198         * public/WebScriptSource.h:
199         * public/WebSearchableFormData.h:
200         * public/WebSecurityOrigin.h:
201         * public/WebSecurityPolicy.h:
202         * public/WebSelectElement.h:
203         * public/WebSettings.h:
204         * public/WebSharedWorker.h:
205         * public/WebSharedWorkerRepository.h:
206         * public/WebSpeechGrammar.h:
207         * public/WebSpeechInputController.h:
208         * public/WebSpeechInputResult.h:
209         * public/WebSpeechRecognitionHandle.h:
210         * public/WebSpeechRecognitionParams.h:
211         * public/WebSpeechRecognitionResult.h:
212         * public/WebSpeechRecognizer.h:
213         * public/WebSpeechRecognizerClient.h:
214         * public/WebSpellCheckClient.h:
215         * public/WebStorageEventDispatcher.h:
216         * public/WebSurroundingText.h:
217         * public/WebTestingSupport.h:
218         * public/WebTextCheckingCompletion.h:
219         * public/WebTextCheckingResult.h:
220         * public/WebTextFieldDecoratorClient.h:
221         * public/WebTextInputInfo.h:
222         * public/WebTextRun.h:
223         * public/WebTimeRange.h:
224         * public/WebTouchPoint.h:
225         * public/WebUserMediaRequest.h:
226         * public/WebView.h:
227         * public/WebViewBenchmarkSupport.h:
228         * public/WebViewClient.h:
229         * public/WebWidget.h:
230         * public/WebWidgetClient.h:
231         * public/WebWindowFeatures.h:
232         * public/WebWorkerInfo.h:
233
234 2013-01-09  Alec Flett  <alecflett@chromium.org>
235
236         IndexedDB: Allow createIndex/createObjectStore to be asynchronous
237         https://bugs.webkit.org/show_bug.cgi?id=106377
238
239         Reviewed by Tony Chang.
240
241         Remove this test as it makes no sense once the objectstore/index
242         hierarchy is gone.
243
244         * tests/IDBDatabaseBackendTest.cpp:
245
246 2013-01-09  Chris Rogers  <crogers@google.com>
247
248         Allow live/local audio input to be enabled only when needed
249         https://bugs.webkit.org/show_bug.cgi?id=106490
250
251         Reviewed by Kenneth Russell.
252
253         * src/AudioDestinationChromium.cpp:
254         (WebCore):
255         (WebCore::AudioDestination::create):
256         (WebCore::AudioDestinationChromium::AudioDestinationChromium):
257         (WebCore::AudioDestinationChromium::render):
258         * src/AudioDestinationChromium.h:
259         (AudioDestinationChromium):
260
261 2013-01-09  Yue Zhang  <zysxqn@google.com>
262
263         [Chromium] Always enable autocomplete for password fields
264         https://bugs.webkit.org/show_bug.cgi?id=104600
265
266         Reviewed by Darin Fisher.
267
268         Don't check autocomplete in webkit code. Rather, we check it in chrome code in the following way: if the password field is chrome generated password, we ignore autocomplete=off and always fill the password; otherwise, we respect the autocomplete set. Since this is a chrome only feature, we make it configurable (default to false but enable this in chrome code).
269
270         * src/WebPasswordFormUtils.cpp:
271         (WebKit::findPasswordFormFields):
272         * src/WebPasswordFormUtils.h:
273         (WebKit):
274         (WebKit::findPasswordFormFields):
275
276 2013-01-09  James Robinson  <jamesr@chromium.org>
277
278         [chromium] Add a notification when a WebWidget's WebLayerTreeView is about to go away
279         https://bugs.webkit.org/show_bug.cgi?id=106495
280
281         Reviewed by Adrienne Walker.
282
283         The WebWidget / WebLayerTreeView ownership is in a slightly awkward place. I'm moving the ownership
284         of the WebLayerTreeView to the WebWidgetClient, but to stage things sanely the WebLayerTreeView's
285         client is sill owned by the WebWidget implementation. Thus to shut down cleanly we need an explicit
286         notification to the WebWidget that the WebLayerTreeView is going to go away.
287
288         This API can go away once the WebWidget implementation does not provide the WebLayerTreeViewClient,
289         which will take a bit more refactoring.
290
291         * public/WebWidget.h:
292         (WebWidget):
293         (WebKit::WebWidget::willCloseLayerTreeView):
294         * src/WebViewImpl.cpp:
295         (WebKit::WebViewImpl::willCloseLayerTreeView):
296         (WebKit):
297         * src/WebViewImpl.h:
298         (WebViewImpl):
299
300 2013-01-09  Mark Pilgrim  <pilgrim@chromium.org>
301
302         [Chromium] Remove stray references to WebKitPlatformSupport.h
303         https://bugs.webkit.org/show_bug.cgi?id=106493
304
305         Reviewed by James Robinson.
306
307         Part of a refactoring series. See tracking bug 82948.
308
309         * src/SharedWorkerRepository.cpp:
310         * tests/RunAllTests.cpp:
311
312 2013-01-09  Mark Pilgrim  <pilgrim@chromium.org>
313
314         [Chromium] Update some #includes in WebKit/chromium/public/ for new Platform directory
315         https://bugs.webkit.org/show_bug.cgi?id=106227
316
317         Reviewed by Darin Fisher.
318
319         Part of a larger refactoring series. See tracking bug 82948.
320
321         * public/WebAccessibilityObject.h:
322         * public/WebAccessibilityRole.h:
323         * public/WebActiveWheelFlingParameters.h:
324         * public/WebAnimationController.h:
325         * public/WebApplicationCacheHost.h:
326         * public/WebApplicationCacheHostClient.h:
327         * public/WebArrayBuffer.h:
328         * public/WebAudioSourceProvider.h:
329         * public/WebBatteryStatus.h:
330         * public/WebBindings.h:
331         * public/WebBlob.h:
332         * public/WebCache.h:
333         * public/WebCachedURLRequest.h:
334         * public/WebColorChooser.h:
335         * public/WebColorChooserClient.h:
336         * public/WebColorName.h:
337         * public/WebCommonWorkerClient.h:
338         * public/WebCompositionUnderline.h:
339         * public/WebCompositorInputHandler.h:
340         * public/WebConsoleMessage.h:
341         * public/WebContentDetectionResult.h:
342         * public/WebContextMenuData.h:
343         * public/WebCrossOriginPreflightResultCache.h:
344         * public/WebCursorInfo.h:
345         * public/WebDOMEvent.h:
346         * public/WebDOMEventListener.h:
347         * public/WebDOMStringList.h:
348         * public/WebDataSource.h:
349         * public/WebDatabase.h:
350         * public/WebDateTimeChooserCompletion.h:
351         * public/WebDateTimeChooserParams.h:
352         * public/WebDeliveredIntentClient.h:
353         * public/WebDevToolsAgent.h:
354         * public/WebDevToolsAgentClient.h:
355         * public/WebDevToolsFrontend.h:
356         * public/WebDeviceOrientationClient.h:
357         * public/WebDeviceOrientationClientMock.h:
358         * public/WebDeviceOrientationController.h:
359         * public/WebDocument.h:
360         * public/WebDraggableRegion.h:
361         * public/WebExternalPopupMenuClient.h:
362         * public/WebFileChooserCompletion.h:
363         * public/WebFileChooserParams.h:
364         * public/WebFileSystemCallbacks.h:
365         * public/WebFileSystemEntry.h:
366         * public/WebFileWriter.h:
367         * public/WebFileWriterClient.h:
368         * public/WebFindOptions.h:
369         * public/WebFont.h:
370         * public/WebFontCache.h:
371         * public/WebFontDescription.h:
372         * public/WebFormControlElement.h:
373         * public/WebFormElement.h:
374         * public/WebFrame.h:
375         * public/WebFrameClient.h:
376         * public/WebGeolocationClientMock.h:
377         * public/WebGeolocationController.h:
378         * public/WebGeolocationError.h:
379         * public/WebGeolocationPermissionRequest.h:
380         * public/WebGeolocationPermissionRequestManager.h:
381         * public/WebGeolocationPosition.h:
382         * public/WebGlyphCache.h:
383         * public/WebHelperPlugin.h:
384         * public/WebHistoryItem.h:
385         * public/WebHitTestResult.h:
386         * public/WebIDBCallbacks.h:
387         * public/WebIDBCursor.h:
388         * public/WebIDBDatabase.h:
389         * public/WebIDBDatabaseCallbacks.h:
390         * public/WebIDBDatabaseError.h:
391         * public/WebIDBFactory.h:
392         * public/WebIDBIndex.h:
393         * public/WebIDBKey.h:
394         * public/WebIDBKeyPath.h:
395         * public/WebIDBKeyRange.h:
396         * public/WebIDBMetadata.h:
397         * public/WebIDBObjectStore.h:
398         * public/WebIDBTransaction.h:
399         * public/WebIDBTransactionCallbacks.h:
400         * public/WebIconURL.h:
401         * public/WebImageDecoder.h:
402         * public/WebInputEvent.h:
403         * public/WebIntent.h:
404         * public/WebIntentRequest.h:
405         * public/WebIntentServiceInfo.h:
406         * public/WebMediaPlayer.h:
407         * public/WebMediaStreamRegistry.h:
408         * public/WebMenuItemInfo.h:
409         * public/WebNetworkStateNotifier.h:
410         * public/WebNode.h:
411         * public/WebNodeCollection.h:
412         * public/WebNodeList.h:
413         * public/WebNotification.h:
414         * public/WebNotificationPresenter.h:
415         * public/WebOptionElement.h:
416         * public/WebPageOverlay.h:
417         * public/WebPagePopup.h:
418         * public/WebPageSerializer.h:
419         * public/WebPasswordFormData.h:
420         * public/WebPerformance.h:
421         * public/WebPlugin.h:
422         * public/WebPluginContainer.h:
423         * public/WebPluginParams.h:
424         * public/WebPopupMenu.h:
425         * public/WebPopupMenuInfo.h:
426         * public/WebPrerendererClient.h:
427         * public/WebPrintParams.h:
428         * public/WebRange.h:
429         * public/WebRegularExpression.h:
430         * public/WebRuntimeFeatures.h:
431         * public/WebScopedMicrotaskSuppression.h:
432         * public/WebScopedUserGesture.h:
433         * public/WebScriptController.h:
434         * public/WebScriptSource.h:
435         * public/WebSearchableFormData.h:
436         * public/WebSecurityOrigin.h:
437         * public/WebSecurityPolicy.h:
438         * public/WebSelectElement.h:
439         * public/WebSettings.h:
440         * public/WebSharedWorker.h:
441         * public/WebSharedWorkerRepository.h:
442         * public/WebSpeechGrammar.h:
443         * public/WebSpeechInputController.h:
444         * public/WebSpeechInputResult.h:
445         * public/WebSpeechRecognitionHandle.h:
446         * public/WebSpeechRecognitionParams.h:
447         * public/WebSpeechRecognitionResult.h:
448         * public/WebSpeechRecognizer.h:
449         * public/WebSpeechRecognizerClient.h:
450         * public/WebSpellCheckClient.h:
451         * public/WebStorageEventDispatcher.h:
452         * public/WebSurroundingText.h:
453         * public/WebTestingSupport.h:
454         * public/WebTextCheckingCompletion.h:
455         * public/WebTextCheckingResult.h:
456         * public/WebTextFieldDecoratorClient.h:
457         * public/WebTextInputInfo.h:
458         * public/WebTextRun.h:
459         * public/WebTimeRange.h:
460         * public/WebTouchPoint.h:
461         * public/WebUserMediaRequest.h:
462         * public/WebView.h:
463         * public/WebViewBenchmarkSupport.h:
464         * public/WebViewClient.h:
465         * public/WebWidget.h:
466         * public/WebWidgetClient.h:
467         * public/WebWindowFeatures.h:
468         * public/WebWorkerInfo.h:
469
470 2013-01-09  Stephen Chenney  <schenney@chromium.org>
471
472         Adjust Skia build flags to WebKit skia gyp
473
474         Unreviewed change to enable easy layout test rebaselining.
475
476         * skia_webkit.gyp:
477
478 2013-01-09  Mikhail Naganov  <mnaganov@chromium.org>
479
480         [Chromium] Unreviewed: A trivial fix for WebFrameTest.DivAutoZoomParamsTest after r139177.
481
482         * tests/WebFrameTest.cpp:
483
484 2013-01-08  Mikhail Naganov  <mnaganov@chromium.org>
485
486         [Chromium] When viewport is disabled, use display width in DIP pixels for the fallback width
487         https://bugs.webkit.org/show_bug.cgi?id=106021
488
489         This is to emulate 'UseWideViewport' setting of Android WebView properly.
490         'UseWideViewport' now corresponds to the 'viewportEnabled' setting.
491         When the value is false, "meta viewport" tag is ignored, and when calculating
492         layout width, display width in DIP pixels is used.
493
494         Reviewed by Adam Barth.
495
496         * src/ChromeClientImpl.cpp:
497         (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
498         * src/WebViewImpl.cpp:
499         (WebKit::WebViewImpl::resize):
500         (WebKit::WebViewImpl::dipSize):
501         (WebKit):
502         * src/WebViewImpl.h:
503         (WebCore):
504         (WebViewImpl):
505
506 2013-01-08  Chris Rogers  <crogers@google.com>
507
508         Remove unused/deprecated render() method in chromium WebKit API
509         https://bugs.webkit.org/show_bug.cgi?id=106399
510
511         Reviewed by Kent Tamura.
512
513         * src/AudioDestinationChromium.cpp:
514         * src/AudioDestinationChromium.h:
515         (AudioDestinationChromium):
516
517 2013-01-08  Yoshifumi Inoue  <yosin@chromium.org>
518
519         Remove WebKit/chromium/src/DragScrollTimer.{cpp,h}
520         https://bugs.webkit.org/show_bug.cgi?id=106403
521
522         This patch removes unused file DragScrollTimer.{cpp,h} obsoleted by
523         r139044.
524
525         Reviewed by Hajime Morita.
526
527         * WebKit.gyp: Changed to remove lines for DragScroll.{cpp.h}.
528         * src/DragScrollTimer.cpp: Removed.
529         * src/DragScrollTimer.h: Removed.
530
531 2013-01-08  Keishi Hattori  <keishi@webkit.org>
532
533         [Chromium] Hiding popups on mouse wheel should be handled by WebViewImpl
534         https://bugs.webkit.org/show_bug.cgi?id=106312
535
536         Reviewed by Kent Tamura.
537
538         We had to removed the code that closed popups on mouse wheel events from
539         content::RenderWidgetHostViewMac because it no longer had access to
540         child popups. WebViewImpl will hide the popups on mouse wheel events so
541         we can maintain the same behavior.
542
543         https://src.chromium.org/viewvc/chrome?view=rev&revision=175488
544
545         * src/WebViewImpl.cpp:
546         (WebKit::WebViewImpl::handleMouseWheel): Overriding so we can hide popups.
547         (WebKit):
548         * src/WebViewImpl.h:
549
550 2013-01-08  James Robinson  <jamesr@chromium.org>
551
552         [chromium] Remove transitional #defines from WebKit API headers
553         https://bugs.webkit.org/show_bug.cgi?id=106381
554
555         Reviewed by Adam Barth.
556
557         * public/WebWidget.h:
558
559 2013-01-08  Sheriff Bot  <webkit.review.bot@gmail.com>
560
561         Unreviewed.  Rolled DEPS.
562
563         * DEPS:
564
565 2013-01-08  Tom Sepez  <tsepez@chromium.org>
566
567         Copy-paste preserves <embed> tags containing active content.
568         https://bugs.webkit.org/show_bug.cgi?id=77625
569
570         Reviewed by Ryosuke Niwa.
571
572         Adds chromium API to new unsafePluginPastingEnabled setting.
573
574         * public/WebSettings.h:
575         * src/WebSettingsImpl.cpp:
576         (WebKit::WebSettingsImpl::setUnsafePluginPastingEnabled):
577         (WebKit):
578         * src/WebSettingsImpl.h:
579         (WebSettingsImpl):
580
581 2013-01-08  Mark Lam  <mark.lam@apple.com>
582
583         Removed the need for the ProposedDatabase mechanism.
584         https://bugs.webkit.org/show_bug.cgi?id=106292.
585
586         Reviewed by Sam Weinig.
587
588         * src/ChromeClientImpl.cpp:
589         (WebKit::ChromeClientImpl::exceededDatabaseQuota):
590         * src/ChromeClientImpl.h:
591         (ChromeClientImpl):
592
593 2013-01-08  Keishi Hattori  <keishi@webkit.org>
594
595         [Chromium] Don't confine page popups to root view on Mac
596         https://bugs.webkit.org/show_bug.cgi?id=106315
597
598         Reviewed by Kent Tamura.
599
600         Page popups on Mac no longer get clipped to the web view so we can
601         remove the code to confine to root view.
602
603         * src/ColorChooserPopupUIController.cpp:
604         (WebKit::ColorChooserPopupUIController::writeDocument): Removing parameters confineToRootView and rootViewRectInScreen.
605         * src/DateTimeChooserImpl.cpp:
606         (WebKit::DateTimeChooserImpl::writeDocument): Ditto.
607
608 2012-12-20  Antonio Gomes  <a1.gomes@sisa.samsung.com>
609
610         Introduce a compositing trigger for scrollable frames
611         https://bugs.webkit.org/show_bug.cgi?id=105573
612
613         Reviewed by James Robinson.
614
615         Set the newly added scrollable-inner-frames bit to compositing-trigger
616         bitset in accordance to the respective setting value.
617
618         * src/ChromeClientImpl.cpp:
619         (WebKit::ChromeClientImpl::allowedCompositingTriggers):
620
621 2013-01-08  Steve Block  <steveblock@chromium.org>
622
623         Rename 'IntSize toSize(const IntPoint&)' to 'toIntSize'
624         https://bugs.webkit.org/show_bug.cgi?id=106307
625
626         This matches other method names which distinguish between sizes and
627         points. See https://bugs.webkit.org/show_bug.cgi?id=105992#c4.
628
629         Reviewed by Kentaro Hara.
630
631         * src/NonCompositedContentHost.cpp:
632         (WebKit::NonCompositedContentHost::setViewport):
633         * src/WebFrameImpl.cpp:
634         (WebKit::WebFrameImpl::minimumScrollOffset):
635         (WebKit::WebFrameImpl::maximumScrollOffset):
636
637 2013-01-08  Yoshifumi Inoue  <yosin@chromium.org>
638
639         Dragging over an element with scrollbars should scroll the element when dragging near edges
640         https://bugs.webkit.org/show_bug.cgi?id=39725
641
642         Reviewed by Hajime Morita.
643
644         This patch removes DragScrollTimer used for automatic scrolling of main
645         frame drag-and-drop which is now implemented in EventHandler.
646
647         Another patch will remove DragScrollTimer.{cpp,h} and update GYP files to
648         make patch size small.
649
650         No tests. Existing test covers this change.
651
652         * src/WebViewImpl.cpp:
653         (WebKit::WebViewImpl::WebViewImpl): Changed to remove m_dragScrollTimer.
654         (WebKit::WebViewImpl::dragSourceEndedAt): ditto
655         (WebKit::WebViewImpl::dragSourceMovedTo): ditto
656         (WebKit::WebViewImpl::dragTargetDrop): ditto
657         (WebKit::WebViewImpl::dragTargetDragEnterOrOver): ditto
658         * src/WebViewImpl.h:
659         (WebKit): Chagned to remove DragScrollTimer.
660
661 2013-01-07  Steve Block  <steveblock@chromium.org>
662
663         Use toSize() to convert from Int/FloatPoint to Int/FloatSize
664         https://bugs.webkit.org/show_bug.cgi?id=105992
665
666         Reviewed by Kentaro Hara.
667
668         * src/LinkHighlight.cpp:
669         (WebKit::LinkHighlight::computeHighlightLayerPathAndPosition):
670         * src/WebFrameImpl.cpp:
671         (WebKit::WebFrameImpl::minimumScrollOffset):
672         (WebKit::WebFrameImpl::maximumScrollOffset):
673
674 2013-01-07  Xianzhu Wang  <wangxianzhu@chromium.org>
675
676         [Chromium] Expose compositedScrollingForFramesEnabled setting in WebKit API
677         https://bugs.webkit.org/show_bug.cgi?id=106262
678
679         Reviewed by James Robinson.
680
681         * public/WebSettings.h:
682         * src/WebSettingsImpl.cpp:
683         (WebKit::WebSettingsImpl::setCompositedScrollingForFramesEnabled):
684         (WebKit):
685         * src/WebSettingsImpl.h:
686         (WebSettingsImpl):
687
688 2013-01-07  Stephen White  <senorblanco@chromium.org>
689
690         Add a flag to control canvas antialiasing.
691         https://bugs.webkit.org/show_bug.cgi?id=106255
692
693         Reviewed by Darin Fisher.
694
695         * public/WebSettings.h:
696         * src/WebSettingsImpl.cpp:
697         (WebKit::WebSettingsImpl::setAntialiased2dCanvasEnabled):
698         * src/WebSettingsImpl.h:
699
700 2013-01-07  Yusuf Ozuysal  <yusufo@google.com>
701
702         Don't use double tap zoom if minimum and maximum page scale is the same
703         https://bugs.webkit.org/show_bug.cgi?id=106272
704
705         Reviewed by James Robinson.
706
707         We should only try to computed relevant scale and scrollOffset and start the animation
708         if the page is zoomable. This now creates an undesired animation for mobile pages which
709         are not zoomable.
710
711         * src/WebViewImpl.cpp:
712         (WebKit::WebViewImpl::handleGestureEvent):
713
714 2013-01-07  Tony Chang  <tony@chromium.org>
715
716         Unreviewed.  Rolled DEPS.
717
718         * DEPS:
719
720 2013-01-07  Alok Priyadarshi  <alokp@chromium.org>
721
722         [chromium] Fix PlatformContextSkia::setDrawingToImageBuffer abuse
723         https://bugs.webkit.org/show_bug.cgi?id=104956
724
725         Reviewed by James Robinson.
726
727         Replaced PlatformContextSkia::SetDrawingToImageBuffer with GraphicsContext::setShouldSmoothFonts.
728
729         * src/NonCompositedContentHost.cpp:
730         (WebKit::NonCompositedContentHost::paintContents):
731         (WebKit):
732         (WebKit::NonCompositedContentHost::setShowDebugBorders):
733         * src/PageWidgetDelegate.cpp:
734         (WebKit::PageWidgetDelegate::paint):
735         * src/WebFontImpl.cpp:
736         (WebKit::WebFontImpl::drawText):
737
738 2013-01-07  Mike West  <mkwst@chromium.org>
739
740         Make the IFRAME_SEAMLESS flag runtime-enabled.
741         https://bugs.webkit.org/show_bug.cgi?id=106213
742
743         Reviewed by Ojan Vafai.
744
745         * public/WebRuntimeFeatures.h:
746         (WebRuntimeFeatures):
747         * src/WebRuntimeFeatures.cpp:
748         (WebKit::WebRuntimeFeatures::enableSeamlessIFrames):
749         (WebKit):
750         (WebKit::WebRuntimeFeatures::areSeamlessIFramesEnabled):
751             Expose the new runtime feature to the Chromium port.
752
753 2013-01-07  Alec Flett  <alecflett@chromium.org>
754
755         IndexedDB: Stub out async IDBDatabaseBackendInterface::createObjectStore
756         https://bugs.webkit.org/show_bug.cgi?id=106148
757
758         Reviewed by Adam Barth.
759
760         Stub out WebKit API for async createObjectStore.
761
762         * public/WebIDBDatabase.h:
763         (WebIDBDatabase):
764         * src/IDBDatabaseBackendProxy.cpp:
765         (WebKit::IDBDatabaseBackendProxy::createObjectStore):
766         (WebKit):
767         (WebKit::IDBDatabaseBackendProxy::deleteObjectStore):
768         * src/IDBDatabaseBackendProxy.h:
769         (IDBDatabaseBackendProxy):
770         * src/WebIDBDatabaseImpl.cpp:
771         (WebKit::WebIDBDatabaseImpl::createObjectStore):
772         (WebKit):
773         (WebKit::WebIDBDatabaseImpl::deleteObjectStore):
774         * src/WebIDBDatabaseImpl.h:
775         (WebIDBDatabaseImpl):
776
777 2013-01-07  Stephen Chenney  <schenney@chromium.org>
778
779         Add comment to WebKit skia gyp
780
781         Unreviewed additon of a comment.
782
783         * skia_webkit.gyp: Some changes should not yet be committed. Commented to that effect.
784
785 2013-01-07  Stephen Chenney  <schenney@chromium.org>
786
787         Add Skia build flags to WebKit skia gyp
788
789         Unreviewed change to enable easy layout test rebaselining.
790
791         * skia_webkit.gyp: Added SK_IGNORE_QUAD_STROKE_FIX and SK_IGNORE_TREAT_AS_SPRITE
792
793 2013-01-05  Alec Flett  <alecflett@chromium.org>
794
795         IndexedDB: Migrate backend ObjectStore calls to use transaction id
796         https://bugs.webkit.org/show_bug.cgi?id=102741
797
798         Reviewed by Tony Chang.
799
800         Fix a bug where an array was initialized with a large empty buffer,
801         clean up whitespace, and update to match signatures that changed
802         in WebCore.
803
804         * public/WebIDBDatabase.h:
805         (WebKit::WebIDBDatabase::clear):
806         * src/WebIDBDatabaseImpl.cpp:
807         (WebKit::WebIDBDatabaseImpl::put):
808         * src/WebIDBIndexImpl.cpp:
809         * tests/IDBDatabaseBackendTest.cpp:
810
811 2013-01-05  Alec Flett  <alecflett@chromium.org>
812
813         IndexedDB: Stub out IDBDatabaseBackendInterface::createIndex/deleteIndex
814         https://bugs.webkit.org/show_bug.cgi?id=106117
815
816         Reviewed by Adam Barth.
817
818         Stubs for migration from WebIDBObjectStore.
819
820         * public/WebIDBDatabase.h:
821         (WebKit::WebIDBDatabase::createIndex):
822         (WebKit::WebIDBDatabase::deleteIndex):
823         (WebIDBDatabase):
824         * src/IDBDatabaseBackendProxy.cpp:
825         (WebKit::IDBDatabaseBackendProxy::createIndex):
826         (WebKit):
827         (WebKit::IDBDatabaseBackendProxy::deleteIndex):
828         * src/IDBDatabaseBackendProxy.h:
829         (IDBDatabaseBackendProxy):
830         * src/WebIDBDatabaseImpl.cpp:
831         (WebKit::WebIDBDatabaseImpl::createIndex):
832         (WebKit):
833         (WebKit::WebIDBDatabaseImpl::deleteIndex):
834         * src/WebIDBDatabaseImpl.h:
835         (WebIDBDatabaseImpl):
836         * tests/IDBDatabaseBackendTest.cpp:
837
838 2013-01-05  Chris Hopman  <cjhopman@google.com>
839
840         Add function to move caret selection towards a point
841         https://bugs.webkit.org/show_bug.cgi?id=105189
842
843         Reviewed by Eric Seidel.
844
845         This function moves the selection to the corresponding point in the
846         rootEditableElement of the current selection. Used on Android for
847         the behavior of insertion handles (i.e. dragging the caret around).
848
849         * public/WebFrame.h:
850         (WebFrame):
851         * src/WebFrameImpl.cpp:
852         (WebKit::WebFrameImpl::moveCaretSelectionTowardsWindowPoint):
853         (WebKit):
854         * src/WebFrameImpl.h:
855         (WebFrameImpl):
856
857 2013-01-04  James Robinson  <jamesr@chromium.org>
858
859         [chromium] Remove WebWidget::layerTreeView(), ownership is the other way around
860         https://bugs.webkit.org/show_bug.cgi?id=106139
861
862         Reviewed by Adrienne Walker.
863
864         This was added with the thought that it would be useful for transitioning code for a world where the
865         WebLayerTreeView for a given widget was owned by the WebWidgetClient instead of the WebWidget, but as it turns
866         out we've transitioned without every adding any callers to this.
867
868         * public/WebWidget.h:
869         (WebWidget):
870         * src/WebViewImpl.cpp:
871
872 2013-01-04  Dana Jansens  <danakj@chromium.org>
873
874         [chromium] Remove lost-compositor-context layout tests
875         https://bugs.webkit.org/show_bug.cgi?id=106089
876
877         Reviewed by James Robinson.
878
879         Remove the loseCompositorContext() test function.
880
881         * public/WebView.h:
882         (WebView):
883         * src/WebViewImpl.cpp:
884         * src/WebViewImpl.h:
885         (WebViewImpl):
886
887 2013-01-04  Adam Klein  <adamk@chromium.org>
888
889         Remove ENABLE_MUTATION_OBSERVERS #define
890         https://bugs.webkit.org/show_bug.cgi?id=105459
891
892         Reviewed by Ryosuke Niwa.
893
894         * features.gypi:
895         * src/WebKit.cpp:
896         (WebKit::initialize):
897         (WebKit::shutdown):
898
899 2013-01-04  Mark Pilgrim  <pilgrim@chromium.org>
900
901         [Chromium] Update some #includes to use headers in the new Platform directory
902         https://bugs.webkit.org/show_bug.cgi?id=106092
903
904         Reviewed by Kentaro Hara.
905
906         Working towards getting rid of legacy header files in
907         WebKit/chromium/public/ and WebKit/chromium/public/platform/
908
909         * src/AsyncFileSystemChromium.cpp:
910         * src/StorageAreaProxy.cpp:
911         * src/StorageNamespaceProxy.cpp:
912         * src/WebFileSystemCallbacksImpl.cpp:
913         * src/WebGraphicsContext3D.cpp:
914         * src/WebIDBCursorImpl.h:
915         * src/WebIDBDatabaseCallbacksImpl.cpp:
916         * src/WebIDBDatabaseCallbacksImpl.h:
917         * src/WebIDBDatabaseError.cpp:
918         * src/WebIDBDatabaseImpl.h:
919         * src/WebIDBIndexImpl.h:
920         * src/WebIDBKeyPath.cpp:
921         * src/WebIDBMetadata.cpp:
922         * src/WebIDBObjectStoreImpl.h:
923         * src/WebWorkerClientImpl.cpp:
924         * src/WebWorkerRunLoop.cpp:
925         * src/WorkerFileSystemCallbacksBridge.cpp:
926         * tests/AssociatedURLLoaderTest.cpp:
927         * tests/FrameTestHelpers.cpp:
928         * tests/PopupMenuTest.cpp:
929         * tests/URLTestHelpers.cpp:
930         * tests/WebFrameTest.cpp:
931         * tests/WebPageNewSerializerTest.cpp:
932         * tests/WebPageSerializerTest.cpp:
933         * tests/WebURLRequestTest.cpp:
934         * tests/WebURLResponseTest.cpp:
935         * tests/WebUnitTests.h:
936         * tests/WebViewTest.cpp:
937
938 2013-01-04  Sheriff Bot  <webkit.review.bot@gmail.com>
939
940         Unreviewed.  Rolled DEPS.
941
942         * DEPS:
943
944 2013-01-03  Sami Kyostila  <skyostil@chromium.org>
945
946         [chromium] Rename low latency rendering mode setting to vsync notification
947         https://bugs.webkit.org/show_bug.cgi?id=106020
948
949         Reviewed by James Robinson.
950
951         Rename low latency rendering mode setting to vsync notification because
952         the old name was ambiguous and bad. This setting is meant to control
953         whether the renderer uses a vsync signal provided by the browser to
954         schedule rendering.
955
956 2013-01-03  Mark Pilgrim  <pilgrim@chromium.org>
957
958         [Chromium] Remove all references to sharedWorkerRepository()
959         https://bugs.webkit.org/show_bug.cgi?id=104704
960
961         Reviewed by Adam Barth.
962
963         Now that Chromium calls setSharedWorkerRepository upon
964         initializing WebKit (
965         https://codereview.chromium.org/10990121/ and
966         https://codereview.chromium.org/11576028/ ) and no longer
967         tries to override sharedWorkerRepository, it is safe to remove
968         all references to this function.
969
970         * public/platform/WebKitPlatformSupport.h:
971         (WebKit):
972         (WebKit::WebKitPlatformSupport::idbFactory):
973         * src/SharedWorkerRepository.cpp:
974         (WebKit::sharedWorkerRepository):
975         (WebCore::SharedWorkerRepository::isAvailable):
976
977 2013-01-03  Tommy Widenflycht  <tommyw@google.com>
978
979         MediaStream API: Add a missing state to RTCPeerConnection
980         https://bugs.webkit.org/show_bug.cgi?id=106017
981
982         Reviewed by Adam Barth.
983
984         Adding the missing ReadyStateHaveRemoteOffer which will show up in the spec soon.
985
986         * src/AssertMatchingEnums.cpp:
987
988 2013-01-03  Joshua Bell  <jsbell@chromium.org>
989
990         IndexedDB: Simplify IDBTransactionBackendImpl::scheduleTask usage
991         https://bugs.webkit.org/show_bug.cgi?id=103536
992
993         Reviewed by Tony Chang.
994
995         Track whether IDBCallbacks has fired before being destructed. If not it probably
996         came in after a transaction had asynchronously aborted; fire an abort error which
997         will be ignored on the front-end but will clean up lingering IPC tracking.
998
999         * public/WebIDBDatabaseException.h:
1000         * src/AssertMatchingEnums.cpp:
1001         * src/IDBCallbacksProxy.cpp:
1002         (WebKit::IDBCallbacksProxy::IDBCallbacksProxy):
1003         (WebKit::IDBCallbacksProxy::~IDBCallbacksProxy):
1004         (WebKit::IDBCallbacksProxy::onError):
1005         (WebKit::IDBCallbacksProxy::onSuccess):
1006         * src/IDBCallbacksProxy.h:
1007         (IDBCallbacksProxy):
1008
1009 2013-01-02  Kenneth Russell  <kbr@google.com>
1010
1011         [chromium] Creation of dedicated workers (isolates) leaks reference to HTMLDocument
1012         https://bugs.webkit.org/show_bug.cgi?id=105367
1013
1014         Reviewed by Dmitry Titov.
1015
1016         Made WebWorkerClientImpl a subclass of WorkerMessagingProxy rather than an object wrapping
1017         WorkerMessagingProxy. WorkerMessagingProxy manages its own lifetime and it is impossible to
1018         properly synchronize the lifetime of WebWorkerClientImpl separately.
1019
1020         This allowed most of WebWorkerClientImpl to be deleted, but forced a divergence in the class
1021         hierarchies of WebWorkerClientImpl and WebSharedWorkerImpl. Conversion methods were added to
1022         WorkerLoaderProxy and WebWorkerBase to bridge the hierarchies of in-process and
1023         out-of-process workers.
1024
1025         * src/DatabaseObserver.cpp:
1026         (WebCore::DatabaseObserver::canEstablishDatabase):
1027             Adjusted how WebWorkerBase is obtained from WorkerLoaderProxy.
1028         * src/IDBFactoryBackendProxy.cpp:
1029         (WebKit::AllowIndexedDBMainThreadBridge::signalCompleted):
1030             Adjusted how WorkerLoaderProxy's methods are called.
1031         (WebKit::IDBFactoryBackendProxy::allowIndexedDB):
1032             Adjusted how WebWorkerBase is obtained from WorkerLoaderProxy.
1033         * src/LocalFileSystemChromium.cpp:
1034         (WebCore::openFileSystemHelper):
1035             Adjusted how WebWorkerBase is obtained from WorkerLoaderProxy.
1036         * src/WebSharedWorkerImpl.cpp:
1037         (WebKit::WebSharedWorkerImpl::toWebWorkerBase):
1038             Implemented new conversion method.
1039         * src/WebSharedWorkerImpl.h:
1040         (WebSharedWorkerImpl):
1041             Explicitly derive from WorkerLoaderProxy now that WebWorkerBase no longer does.
1042         (WebKit::WebSharedWorkerImpl::workerLoaderProxy):
1043             Added new conversion method.
1044         * src/WebWorkerBase.h:
1045         (WebWorkerBase):
1046             Removed derivation from WorkerLoaderProxy. Added method to convert to WorkerLoaderProxy.
1047         * src/WebWorkerClientImpl.cpp:
1048         (WebKit):
1049             Adjusted comment.
1050         (WebKit::WebWorkerClientImpl::createWorkerContextProxy):
1051             Adjusted whitespace.
1052         (WebKit::WebWorkerClientImpl::terminateWorkerContext):
1053             Eliminated delegation to separate object.
1054         (WebKit::WebWorkerClientImpl::toWebWorkerBase):
1055             Implemented new conversion method.
1056         (WebKit::WebWorkerClientImpl::view):
1057         (WebKit::WebWorkerClientImpl::allowDatabase):
1058         (WebKit::WebWorkerClientImpl::allowFileSystem):
1059         (WebKit::WebWorkerClientImpl::openFileSystem):
1060         (WebKit::WebWorkerClientImpl::allowIndexedDB):
1061             Eliminated delegation to separate object.
1062         (WebKit::WebWorkerClientImpl::WebWorkerClientImpl):
1063         * src/WebWorkerClientImpl.h:
1064         (WebKit):
1065             Changed to inherit from WorkerMessagingProxy directly.
1066         (WebWorkerClientImpl):
1067             Deleted most methods previously overridden from WorkerContextProxy, etc.
1068         * src/WorkerAsyncFileSystemChromium.cpp:
1069         (WebCore::WorkerAsyncFileSystemChromium::WorkerAsyncFileSystemChromium):
1070         (WebCore::WorkerAsyncFileSystemChromium::createWorkerFileSystemCallbacksBridge):
1071             Hold on to, and use, WorkerLoaderProxy rather than WebWorkerBase.
1072         * src/WorkerAsyncFileSystemChromium.h:
1073         (WebKit):
1074         (WebCore):
1075         (WorkerAsyncFileSystemChromium):
1076             Hold on to WorkerLoaderProxy rather than WebWorkerBase.
1077
1078 2013-01-02  James Robinson  <jamesr@chromium.org>
1079
1080         [chromium] Remove unused transitional #defines from WebKit Client API
1081         https://bugs.webkit.org/show_bug.cgi?id=105974
1082
1083         Reviewed by Adam Barth.
1084
1085         The transitions these #defines helped with have completed.
1086
1087         * public/WebFileSystemCallbacks.h:
1088         (WebKit):
1089         * public/WebKit.h:
1090         * public/WebRuntimeFeatures.h:
1091         * public/WebSettings.h:
1092         * public/WebWidget.h:
1093
1094 2013-01-02  Cris Neckar  <cdn@chromium.org>
1095
1096         Initialize WebInputEvent to prevent sending uninitialized bytes with IPC messages.
1097         https://bugs.webkit.org/show_bug.cgi?id=105934
1098
1099         Reviewed by James Robinson.
1100
1101         * public/WebInputEvent.h:
1102         (WebKit::WebInputEvent::WebInputEvent):
1103
1104 2013-01-02  David Tseng  <dtseng@google.com>
1105
1106         AX: Chromium needs platform localized strings for media controls.
1107         https://bugs.webkit.org/show_bug.cgi?id=105940
1108
1109         Reviewed by Tony Chang.
1110
1111         * src/LocalizedStrings.cpp:
1112         (WebCore::localizedMediaControlElementString):
1113         (WebCore):
1114         (WebCore::localizedMediaControlElementHelpText):
1115
1116 2013-01-02  Mark Pilgrim  <pilgrim@chromium.org>
1117
1118         [Chromium] Add Platform/chromium to include_dirs
1119         https://bugs.webkit.org/show_bug.cgi?id=105955
1120
1121         Reviewed by James Robinson.
1122
1123         Currently the headers in WebKit/chromium/public/Web*.h can not
1124         include headers from the new Platform/chromium/ directory with the
1125         "#include <public/WebFoo.h>" syntax, because the include_dirs for
1126         dependent builds (like Chromium-within-WebKit) do not include the
1127         new Platform/chromium/ directory. This patch adds that capability
1128         without managing to break anything else.
1129
1130         * WebKit.gyp:
1131
1132 2013-01-02  Alec Flett  <alecflett@chromium.org>
1133
1134         IndexedDB: Use non-const buffers in put() to avoid copies
1135         https://bugs.webkit.org/show_bug.cgi?id=105572
1136
1137         Reviewed by Adam Barth.
1138
1139         Pass on non-const Vectors to allow buffer adoption rather than copies.
1140
1141         * public/WebIDBDatabase.h:
1142         (WebIDBDatabase):
1143         (WebKit::WebIDBDatabase::put):
1144         * src/IDBDatabaseBackendProxy.cpp:
1145         (WebKit::IDBDatabaseBackendProxy::put):
1146         * src/IDBDatabaseBackendProxy.h:
1147         (IDBDatabaseBackendProxy):
1148         * src/WebIDBDatabaseImpl.cpp:
1149         (WebKit::WebIDBDatabaseImpl::put):
1150         * src/WebIDBDatabaseImpl.h:
1151         (WebIDBDatabaseImpl):
1152         * tests/IDBDatabaseBackendTest.cpp:
1153
1154 2013-01-02  Robert Kroeger  <rjkroege@chromium.org>
1155
1156         [chromium] Use top level field for gesture event source
1157         https://bugs.webkit.org/show_bug.cgi?id=105664
1158
1159         Reviewed by Adam Barth.
1160
1161         Previously, only GestureFlingStart subtypes of WebGestureEvent
1162         had a deviceSource flag. A previous CL added a top-level
1163         deviceSource field for all WebGestureEvent. Now that this field
1164         is populated in Chromium, use it as necessary in the Chromium
1165         WebKit layer.
1166
1167         No new tests: covered by existing tests.
1168
1169         * src/WebCompositorInputHandlerImpl.cpp:
1170         (WebKit::WebCompositorInputHandlerImpl::handleGestureFling):
1171         * src/WebViewImpl.cpp:
1172         (WebKit::WebViewImpl::handleGestureEvent):
1173         * tests/WebCompositorInputHandlerImplTest.cpp:
1174         (WebKit::TEST_F):
1175
1176 2012-12-28  Fady Samuel  <fsamuel@chromium.org>
1177
1178         Roll Chromium DEPS to r174739
1179         https://bugs.webkit.org/show_bug.cgi?id=105813
1180
1181         Unreviewed.
1182
1183         * DEPS:
1184
1185 2012-12-26  Nico Weber  <thakis@chromium.org>
1186
1187         [chromium] Disable unprefixed css transitions until they're functional
1188         https://bugs.webkit.org/show_bug.cgi?id=105771
1189
1190         Reviewed by Eric Seidel.
1191
1192         Bug 105647 mentions that this is not fully implemented yet, and the
1193         partial support breaks feature detection in modernizr and friends.
1194
1195         * features.gypi:
1196
1197 2012-12-26  Yury Semikhatsky  <yurys@chromium.org>
1198
1199         Web Inspector: extract JS heap profiler specifics into JSHeapSnapshot.js
1200         https://bugs.webkit.org/show_bug.cgi?id=105768
1201
1202         Reviewed by Pavel Feldman.
1203
1204         * WebKit.gyp: added new file to JS heap profiler.
1205
1206 2012-12-21  Xianzhu Wang  <wangxianzhu@chromium.org>
1207
1208         [Chromium-Android] Use harfbuzz-ng instead of harfbuzz-old on Android
1209         https://bugs.webkit.org/show_bug.cgi?id=104410
1210
1211         Reviewed by Eric Seidel.
1212
1213         * features.gypi: Enable harfbuzz-ng on Android.
1214
1215 2012-12-21  Joshua Bell  <jsbell@chromium.org>
1216
1217         IndexedDB: Combine openConnection and openConnectionWithVersion
1218         https://bugs.webkit.org/show_bug.cgi?id=105658
1219
1220         Reviewed by Tony Chang.
1221
1222         * tests/IDBDatabaseBackendTest.cpp:
1223
1224 2012-12-20  Noel Gordon  <noel.gordon@gmail.com>
1225
1226         [chromium] Disable color profile support for WebImageSkia users 
1227         https://bugs.webkit.org/show_bug.cgi?id=105493
1228
1229         Reviewed by Eric Seidel.
1230
1231         Disable color profiles to prevent null pointer dereference under some
1232         conditions. Tested by unittests at src.chromium.org.
1233
1234         * src/WebImageSkia.cpp:
1235         (WebKit::WebImage::fromData):
1236         (WebKit::WebImage::framesFromData):
1237
1238 2012-12-20  Nate Chapin  <japhet@chromium.org>
1239
1240         Rename shouldBufferData to dataBufferingPolicy
1241         https://bugs.webkit.org/show_bug.cgi?id=105450
1242
1243         Reviewed by Alexey Proskuryakov.
1244
1245         No new tests, simple rename.
1246
1247         * src/AssociatedURLLoader.cpp:
1248         (WebKit::AssociatedURLLoader::loadAsynchronously):
1249
1250 2012-12-20  Dominic Mazzoni  <dmazzoni@google.com>
1251
1252         AX: support clickPoint in DRT for chromium
1253         https://bugs.webkit.org/show_bug.cgi?id=97359
1254
1255         Reviewed by Chris Fleizach.
1256
1257         Exposes the clickPoint accessibility method in WebAccessibilityObject.
1258
1259         * public/WebAccessibilityObject.h:
1260         (WebAccessibilityObject):
1261         * src/WebAccessibilityObject.cpp:
1262         (WebKit::WebAccessibilityObject::clickPoint):
1263         (WebKit):
1264
1265 2012-12-19  Pavel Feldman  <pfeldman@chromium.org>
1266
1267         Web Inspector: introduce Page.captureScreenshot
1268         https://bugs.webkit.org/show_bug.cgi?id=105315
1269
1270         Reviewed by Yury Semikhatsky.
1271
1272         Introduces a way for browser to handle protocol commands:
1273         embedder will ask WebKit whether it should override the command
1274         result and will get a hint value. Based on that hint, browser
1275         will prepare the data and ask WebKit again to patch this data in.
1276
1277         * public/WebDevToolsAgent.h:
1278         (WebDevToolsAgent):
1279         * src/InspectorClientImpl.cpp:
1280         (WebKit::InspectorClientImpl::captureScreenshot):
1281         (WebKit):
1282         * src/InspectorClientImpl.h:
1283         (InspectorClientImpl):
1284         * src/WebDevToolsAgentImpl.cpp:
1285         (BrowserDataHintStringValues):
1286         (WebKit):
1287         (WebKit::WebDevToolsAgentImpl::WebDevToolsAgentImpl):
1288         (WebKit::WebDevToolsAgentImpl::captureScreenshot):
1289         (WebKit::browserHintToString):
1290         (WebKit::browserHintFromString):
1291         (WebKit::WebDevToolsAgentImpl::sendMessageToFrontend):
1292         (WebKit::WebDevToolsAgent::shouldPatchWithBrowserData):
1293         (WebKit::WebDevToolsAgent::patchWithBrowserData):
1294         * src/WebDevToolsAgentImpl.h:
1295         (WebDevToolsAgentImpl):
1296
1297 2012-12-20  Sheriff Bot  <webkit.review.bot@gmail.com>
1298
1299         Unreviewed, rolling out r138215.
1300         http://trac.webkit.org/changeset/138215
1301         https://bugs.webkit.org/show_bug.cgi?id=105505
1302
1303         it broke downstream compilation with clang (Requested by
1304         loislo on #webkit).
1305
1306         * public/platform/WebKitPlatformSupport.h:
1307         (WebKit):
1308         (WebKitPlatformSupport):
1309         (WebKit::WebKitPlatformSupport::sharedWorkerRepository):
1310         * src/SharedWorkerRepository.cpp:
1311         (WebKit::sharedWorkerRepository):
1312         (WebCore::SharedWorkerRepository::isAvailable):
1313
1314 2012-12-19  Mark Pilgrim  <pilgrim@chromium.org>
1315
1316         [Chromium] Remove idbFactory from PlatformSupport
1317         https://bugs.webkit.org/show_bug.cgi?id=105460
1318
1319         Reviewed by Darin Fisher.
1320
1321         Part of a larger refactoring series; see tracking bug 82948.
1322
1323         * WebKit.gyp:
1324         * src/IDBFactoryBackendInterface.cpp: Added.
1325         (WebCore):
1326         (WebCore::IDBFactoryBackendInterface::create):
1327         * src/PlatformSupport.cpp: Removed.
1328
1329 2012-12-19  Antoine Labour  <piman@chromium.org>
1330
1331         [chromium] Remove old setBackingTextureId/setBackingIOSurfaceId API on WebPluginContainer
1332         https://bugs.webkit.org/show_bug.cgi?id=105472
1333
1334         Reviewed by James Robinson.
1335
1336         This is not called anymore by chromium (as of r173545), using
1337         setWebPlugin instead.
1338
1339         * public/WebPluginContainer.h:
1340         * src/WebPluginContainerImpl.cpp:
1341         (WebKit::WebPluginContainerImpl::WebPluginContainerImpl):
1342         * src/WebPluginContainerImpl.h:
1343         (WebPluginContainerImpl):
1344
1345 2012-12-19  Mark Pilgrim  <pilgrim@chromium.org>
1346
1347         [Chromium] add setIDBFactory method for embedders to call
1348         https://bugs.webkit.org/show_bug.cgi?id=105465
1349
1350         Reviewed by Darin Fisher.
1351
1352         This is step 1 of getting rid of WebKitPlatform::idbFactory. This
1353         adds a setter for embedders to call upon initialization, which (if
1354         set) will be used instead of calling the idbFactory()
1355         method. Eventually the idbFactory() method will go away, and this
1356         setter will be the only way to initialize the Indexed Database API.
1357
1358         * public/WebIDBFactory.h:
1359         (WebKit):
1360         * src/IDBFactoryBackendProxy.cpp:
1361         (WebKit):
1362         (WebKit::setIDBFactory):
1363         (WebKit::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
1364
1365 2012-12-19  Rachel Blum  <groby@chromium.org>
1366
1367         [Chromium] Check Document now should work with continuous check off
1368         https://bugs.webkit.org/show_bug.cgi?id=105228
1369
1370         Reviewed by Anders Carlsson.
1371
1372         * src/EditorClientImpl.cpp:
1373         (WebKit::EditorClientImpl::checkSpellingOfString):
1374
1375 2012-12-19  Rachel Blum  <groby@chromium.org>
1376
1377         [Chromium] Spellchecker should provide suggestions for non-caret selection, too
1378         https://bugs.webkit.org/show_bug.cgi?id=104841
1379
1380         Reviewed by Anders Carlsson.
1381
1382         Allow spelling suggestions for a word if the word is already selected. No suggestion 
1383         if subset of a word or more than a word is selected.
1384
1385         * src/ContextMenuClientImpl.cpp:
1386         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
1387
1388 2012-12-19  Mark Pilgrim  <pilgrim@chromium.org>
1389
1390         [Chromium] Remove all references to sharedWorkerRepository()
1391         https://bugs.webkit.org/show_bug.cgi?id=104704
1392
1393         Reviewed by Darin Fisher.
1394
1395         Now that Chromium calls setSharedWorkerRepository upon
1396         initializing WebKit (
1397         https://codereview.chromium.org/10990121/ and
1398         https://codereview.chromium.org/11576028/ ) and no longer
1399         tries to override sharedWorkerRepository, it is safe to remove
1400         all references to this function.
1401
1402         * public/platform/WebKitPlatformSupport.h:
1403         (WebKit):
1404         (WebKit::WebKitPlatformSupport::idbFactory):
1405         * src/SharedWorkerRepository.cpp:
1406         (WebKit::sharedWorkerRepository):
1407         (WebCore::SharedWorkerRepository::isAvailable):
1408
1409 2012-12-19  Alexis Menard  <alexis@webkit.org>
1410
1411         Implement CSS parsing for CSS transitions unprefixed.
1412         https://bugs.webkit.org/show_bug.cgi?id=104804
1413
1414         Reviewed by Dean Jackson.
1415
1416         Add a new flag ENABLE_CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
1417         to cover the work of unprefixing Transforms, Animations and 
1418         Transitions. It will let the possibility of each ports to turn it off 
1419         in their release branches until we're confident that these CSS 
1420         properties are ready to be unprefixed.
1421
1422         * features.gypi:
1423
1424 2012-12-19  Dominic Mazzoni  <dmazzoni@google.com>
1425
1426         Support titleUIElement in chromium DRT
1427         https://bugs.webkit.org/show_bug.cgi?id=96529
1428
1429         Reviewed by Chris Fleizach.
1430
1431         Fix implementation of titleUIElement - it shouldn't return anything
1432         if supportsTitleUIElement returns false, so that accessible label
1433         overriding logic works correctly.
1434
1435         * src/WebAccessibilityObject.cpp:
1436         (WebKit::WebAccessibilityObject::titleUIElement):
1437
1438 2012-12-19  Gavin Peters  <gavinp@chromium.org>
1439
1440         [chromium] WebCore::Prerender::didStartPrerender depends on LinkLoader
1441         https://bugs.webkit.org/show_bug.cgi?id=105290
1442
1443         Reviewed by Abhishek Arya.
1444
1445         The LinkLoader now removes itself from its prerender in time.
1446
1447         * tests/PrerenderingTest.cpp:
1448
1449 2012-12-18  Ilya Tikhonovsky  <loislo@chromium.org>
1450
1451         Unreviewed, rolling out r138061.
1452         https://bugs.webkit.org/show_bug.cgi?id=105396
1453
1454         Original patch:
1455         http://trac.webkit.org/changeset/138061
1456         https://bugs.webkit.org/show_bug.cgi?id=97359
1457
1458         It is crashing on Debug bots
1459
1460         * public/WebAccessibilityObject.h:
1461         (WebAccessibilityObject):
1462         * src/WebAccessibilityObject.cpp:
1463
1464 2012-12-18  David Dorwin  <ddorwin@chromium.org>
1465
1466         [Chromium] Remove temporary backwards compatible interface code (from r137724).
1467         https://bugs.webkit.org/show_bug.cgi?id=105205
1468
1469         Reviewed by James Robinson.
1470
1471         * public/WebMediaPlayerClient.h:
1472         * src/WebMediaPlayerClientImpl.cpp:
1473
1474 2012-12-18  Dirk Pranke  <dpranke@chromium.org>
1475
1476         [chromium] pull in the CDM module recently added to media
1477         https://bugs.webkit.org/show_bug.cgi?id=105360
1478
1479         Unreiviewed build fix, but sanity checked by ddorwin.
1480
1481         * DEPS:
1482
1483 2012-12-18  Dean Jackson  <dino@apple.com>
1484
1485         Unreviewed attempted build fix for Chromium.
1486
1487         Insert stub methods for localized text track menu labels.
1488
1489         * src/LocalizedStrings.cpp:
1490         (WebCore):
1491         (WebCore::textTrackClosedCaptionsText):
1492         (WebCore::textTrackSubtitlesText):
1493         (WebCore::textTrackOffText):
1494         (WebCore::textTrackNoLabelText):
1495
1496 2012-12-18  Dirk Pranke  <dpranke@chromium.org>
1497
1498         Pull in the opus codec sources.
1499
1500         Unreviewed, build fix.
1501
1502         * DEPS:
1503
1504 2012-12-18  Dirk Pranke  <dpranke@chromium.org>
1505
1506         Unreviewed, roll chromium deps to r173769
1507
1508         * DEPS:
1509
1510 2012-12-18  Dominic Mazzoni  <dmazzoni@google.com>
1511
1512         AX: support clickPoint in DRT for chromium
1513         https://bugs.webkit.org/show_bug.cgi?id=97359
1514
1515         Reviewed by Chris Fleizach.
1516
1517         Exposes the clickPoint accessibility method in WebAccessibilityObject.
1518
1519         * public/WebAccessibilityObject.h:
1520         (WebAccessibilityObject):
1521         * src/WebAccessibilityObject.cpp:
1522         (WebKit::WebAccessibilityObject::clickPoint):
1523         (WebKit):
1524
1525 2012-12-18  Wei Jia  <wjia@chromium.org>
1526
1527         Enable media stream on Android for Chromium
1528         https://bugs.webkit.org/show_bug.cgi?id=102545
1529
1530         Reviewed by Eric Seidel.
1531
1532         Put all webrtc related stuff under one flag "enable_webrtc" which is set to 1
1533         on Linux/Windows/Mac and 0 on Android.
1534
1535         * features.gypi:
1536
1537 2012-12-18  Yaron Friedman  <yfriedman@chromium.org>
1538
1539         Chrome Android java output is too verbose
1540         https://bugs.webkit.org/show_bug.cgi?id=105247
1541
1542         Reviewed by Tony Chang.
1543
1544         Pass -quiet to ant to suppress extraneous output.
1545
1546         * WebKitUnitTests.gyp:
1547
1548 2012-12-17  Andrey Kosyakov  <caseq@chromium.org>
1549
1550         Web Inspector: paint inspector overlay on a transparency layer
1551         https://bugs.webkit.org/show_bug.cgi?id=97659
1552
1553         Reviewed by Yury Semikhatsky.
1554
1555         Add a call to PlatformContextSkia::setDrawingToImageBuffer(true) to
1556         fix wrong rendering of content on transparent background.
1557
1558         * src/WebDevToolsAgentImpl.cpp:
1559         (WebKit::WebDevToolsAgentImpl::paintPageOverlay):
1560
1561 2012-12-17  Alex Hutter  <ahutter@chromium.org>
1562
1563         Exposing querySelector function on WebNode
1564         https://bugs.webkit.org/show_bug.cgi?id=105193
1565
1566         Reviewed by Darin Fisher.
1567
1568         This change is necessitated by the new autofill flows in chromium.
1569
1570         * public/WebNode.h:
1571         * src/WebNode.cpp:
1572         (WebKit::WebNode::querySelector):
1573         (WebKit):
1574
1575 2012-12-17  Chris Fleizach  <cfleizach@apple.com>
1576
1577         Seamless iframe should not announce a new browsing context
1578         https://bugs.webkit.org/show_bug.cgi?id=86317
1579
1580         Reviewed by Eric Seidel.
1581
1582         * public/WebAccessibilityRole.h:
1583         * src/AssertMatchingEnums.cpp:
1584
1585 2012-12-17  Levi Weintraub  <leviw@chromium.org>
1586
1587         Add support for tracking hit test rectangles to enable fast event rejection in the compositor
1588         https://bugs.webkit.org/show_bug.cgi?id=103914
1589
1590         Reviewed by James Robinson.
1591
1592         Enabling touch event target region tracking.
1593
1594         * features.gypi:
1595         * src/WebPluginContainerImpl.cpp:
1596         (WebKit::WebPluginContainerImpl::requestTouchEventType):
1597         (WebKit::WebPluginContainerImpl::~WebPluginContainerImpl):
1598
1599 2012-12-17  James Robinson  <jamesr@chromium.org>
1600
1601         [chromium] Move ownership of WebLayerTreeView to WebWidgetClient
1602         https://bugs.webkit.org/show_bug.cgi?id=105071
1603
1604         Reviewed by Adrienne Walker.
1605
1606         This moves ownership of a given WebWidget's WebLayerTreeView from WebViewImpl out to the embedder by way of
1607         WebWidgetClient. To deal with the two-sided nature of the patch, if construction by the new path fails
1608         WebViewImpl constructs a WebLayerTreeView by the old path, which means it keeps ownership.
1609
1610         * public/WebWidgetClient.h:
1611         (WebWidgetClient):
1612         (WebKit::WebWidgetClient::initializeLayerTreeView):
1613         (WebKit::WebWidgetClient::layerTreeView):
1614         * src/WebViewImpl.cpp:
1615         (WebKit::WebViewImpl::WebViewImpl):
1616         (WebKit::WebViewImpl::~WebViewImpl):
1617         (WebKit::WebViewImpl::webLayerTreeView):
1618         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1619         * src/WebViewImpl.h:
1620
1621 2012-12-17  Pavel Feldman  <pfeldman@chromium.org>
1622
1623         Web Inspector: [chromium] make toolbar render with Mountain Lion-friendly colors
1624         https://bugs.webkit.org/show_bug.cgi?id=105177
1625
1626         Reviewed by Vsevolod Vlasov.
1627
1628         * src/js/devTools.css:
1629         (body.dock-to-bottom #toolbar):
1630         (body.undocked.platform-mac-leopard #toolbar):
1631         (body.undocked.platform-mac-leopard.inactive #toolbar):
1632         (body.undocked.platform-mac-snowleopard #toolbar):
1633         (body.undocked.platform-mac-snowleopard.inactive #toolbar):
1634         (body.undocked.platform-mac-mountain-lion #toolbar):
1635         (body.undocked.platform-mac-mountain-lion.inactive #toolbar):
1636
1637 2012-12-16  Levi Weintraub  <leviw@chromium.org>
1638
1639         Push pixel snapping logic into TransformState
1640         https://bugs.webkit.org/show_bug.cgi?id=101779
1641
1642         Reviewed by Simon Fraser.
1643
1644         Eliminating use of SnapOffsetForTransforms as it's no longer needed.
1645
1646         * src/FindInPageCoordinates.cpp:
1647         (WebKit::toNormalizedRect):
1648         * src/LinkHighlight.cpp:
1649         (WebKit::convertTargetSpaceQuadToCompositedLayer):
1650         * src/WebInputEventConversion.cpp:
1651         (WebKit::convertAbsoluteLocationForRenderObject):
1652         * src/WebPluginContainerImpl.cpp:
1653         (WebKit::WebPluginContainerImpl::windowToLocalPoint):
1654
1655 2012-05-21  Jochen Eisinger  <jochen@chromium.org>
1656
1657         [chromium] Build content_shell from within WebKit
1658         https://bugs.webkit.org/show_bug.cgi?id=87045
1659
1660         Reviewed by Simon Fraser.
1661
1662         * All.gyp:
1663         * DEPS:
1664
1665 2012-12-15  Anders Carlsson  <andersca@apple.com>
1666
1667         Rename FrameLoaderClient::download to convertMainResourceLoadToDownload
1668         https://bugs.webkit.org/show_bug.cgi?id=105122
1669
1670         Reviewed by Andreas Kling.
1671
1672         Update for WebCore changes.
1673
1674         * src/FrameLoaderClientImpl.cpp:
1675         (WebKit::FrameLoaderClientImpl::convertMainResourceLoadToDownload):
1676         * src/FrameLoaderClientImpl.h:
1677         (FrameLoaderClientImpl):
1678
1679 2012-12-15  Simon Fraser  <simon.fraser@apple.com>
1680
1681         Fix repaint issues when resizing a window with centered content, for platforms with a tile cache
1682         https://bugs.webkit.org/show_bug.cgi?id=105073
1683
1684         Reviewed by Dan Bernstein.
1685
1686         Include RenderLayerBacking.h, which is no longer included by RenderLayerCompositor.h.
1687
1688         * tests/ScrollingCoordinatorChromiumTest.cpp:
1689
1690 2012-12-14  Dan Alcantara  <dfalcantara@chromium.org>
1691
1692         WebViewImpl::resetScrollAndScaleState() causes the page to render incorrectly
1693         https://bugs.webkit.org/show_bug.cgi?id=104767
1694
1695         Reviewed by Darin Fisher.
1696
1697         Change WebViewImpl::resetScrollAndScaleState() so that it directly
1698         alters values in the HistoryItem instead of indirectly changing the
1699         values.
1700
1701         Adds a method in HistoryController to clear the scroll and scale state of
1702         its current HistoryItem.
1703
1704         * public/WebView.h:
1705         (WebView):
1706         * src/WebViewImpl.cpp:
1707         (WebKit::WebViewImpl::resetScrollAndScaleState):
1708         * tests/WebViewTest.cpp:
1709
1710 2012-12-14  Sheriff Bot  <webkit.review.bot@gmail.com>
1711
1712         Unreviewed, rolling out r137765.
1713         http://trac.webkit.org/changeset/137765
1714         https://bugs.webkit.org/show_bug.cgi?id=105067
1715
1716         Breaks webkit_unit_tests and transferred flings (Requested by
1717         jamesr_ on #webkit).
1718
1719         * src/WebCompositorInputHandlerImpl.cpp:
1720         (WebKit::WebCompositorInputHandlerImpl::WebCompositorInputHandlerImpl):
1721         (WebKit::WebCompositorInputHandlerImpl::handleInputEventInternal):
1722         (WebKit::WebCompositorInputHandlerImpl::handleGestureFling):
1723         * src/WebCompositorInputHandlerImpl.h:
1724         (WebCompositorInputHandlerImpl):
1725         * src/WebViewImpl.cpp:
1726         (WebKit::WebViewImpl::handleGestureEvent):
1727         (WebKit::WebViewImpl::handleKeyEvent):
1728         (WebKit::WebViewImpl::updateAnimations):
1729         (WebKit::WebViewImpl::didCommitLoad):
1730
1731 2012-12-14  Fady Samuel  <fsamuel@chromium.org>
1732
1733         Allow embedder to observe changes to frame names
1734         https://bugs.webkit.org/show_bug.cgi?id=104404
1735
1736         Reviewed by Darin Fisher.
1737
1738         * public/WebFrameClient.h:
1739         (WebFrameClient):
1740         (WebKit::WebFrameClient::didChangeName):
1741         * src/FrameLoaderClientImpl.cpp:
1742         (WebKit::FrameLoaderClientImpl::didChangeName):
1743         (WebKit):
1744         * src/FrameLoaderClientImpl.h:
1745         (FrameLoaderClientImpl):
1746
1747 2012-12-14  Joshua Bell  <jsbell@chromium.org>
1748
1749         [Chromium] IndexedDB: Memory leak in IDBCallbacksProxy::onSuccess(PassRefPtr<IDBDatabaseBackendInterface>)
1750         https://bugs.webkit.org/show_bug.cgi?id=104615
1751
1752         Reviewed by Tony Chang.
1753
1754         Don't create (and leak) a new wrapper object for onSuccess if one was created for onUpgradeNeeded.
1755
1756         * src/IDBCallbacksProxy.cpp:
1757         (WebKit::IDBCallbacksProxy::IDBCallbacksProxy):
1758         (WebKit::IDBCallbacksProxy::onSuccess):
1759         (WebKit::IDBCallbacksProxy::onUpgradeNeeded):
1760         * src/IDBCallbacksProxy.h:
1761         (IDBCallbacksProxy):
1762
1763 2012-12-14  Yusuf Ozuysal  <yusufo@google.com>
1764
1765         Send a message from WebViewImpl to the compositor to inform about end of flings
1766         https://bugs.webkit.org/show_bug.cgi?id=104947
1767
1768         Reviewed by James Robinson.
1769
1770         Whenever we have a fling animation finished on cancelled on main thread this sends
1771         a message that will be relayed to the compositor input handler. Then the input handler
1772         keeps track of main thread fling with a boolean and doesn't send flingCancels
1773         unnecessarily
1774
1775         * src/WebCompositorInputHandlerImpl.cpp:
1776         (WebKit::WebCompositorInputHandlerImpl::WebCompositorInputHandlerImpl):
1777         (WebKit::WebCompositorInputHandlerImpl::handleInputEventInternal):
1778         (WebKit::WebCompositorInputHandlerImpl::handleGestureFling):
1779         (WebKit::WebCompositorInputHandlerImpl::mainThreadHasStoppedFlinging):
1780         (WebKit):
1781         * src/WebCompositorInputHandlerImpl.h:
1782         (WebCompositorInputHandlerImpl):
1783         * src/WebViewImpl.cpp:
1784         (WebKit::WebViewImpl::handleGestureEvent):
1785         (WebKit::WebViewImpl::handleKeyEvent):
1786         (WebKit::WebViewImpl::updateAnimations):
1787         (WebKit::WebViewImpl::didCommitLoad):
1788
1789 2012-12-14  Sheriff Bot  <webkit.review.bot@gmail.com>
1790
1791         Unreviewed, rolling out r137570.
1792         http://trac.webkit.org/changeset/137570
1793         https://bugs.webkit.org/show_bug.cgi?id=105048
1794
1795         Stale nodes in the touchEventTarget HashCountedSet are
1796         triggering crashes. Rolling out while I find the root cause.
1797         (Requested by leviw on #webkit).
1798
1799         * features.gypi:
1800         * src/WebPluginContainerImpl.cpp:
1801         (WebKit::WebPluginContainerImpl::requestTouchEventType):
1802         (WebKit::WebPluginContainerImpl::~WebPluginContainerImpl):
1803
1804 2012-12-14  Stephen White  <senorblanco@chromium.org>
1805
1806         Unreviewed.  Rolled DEPS.
1807
1808         * DEPS:
1809
1810 2012-12-14  Stephen White  <senorblanco@chromium.org>
1811
1812         Unreviewed.  Rolled DEPS.
1813
1814         * DEPS:
1815
1816 2012-12-14  David Dorwin  <ddorwin@chromium.org>
1817
1818         EME v0.1: Report defaultURL in KeyMessage.
1819         https://bugs.webkit.org/show_bug.cgi?id=104284
1820
1821         Reviewed by Darin Fisher.
1822
1823         Passes defaultURL down from the media engine to HTMLMediaElement.
1824         Only Valid URLs will be passed.
1825
1826         No test because Clear Key does not provide a defaultURL (in v0.1).
1827
1828         * public/WebMediaPlayerClient.h:
1829         * src/WebMediaPlayerClientImpl.cpp:
1830         (WebKit::WebMediaPlayerClientImpl::keyMessage):
1831         (WebKit):
1832         (WebKit::WebMediaPlayerClient::keyMessage):
1833         * src/WebMediaPlayerClientImpl.h:
1834         (WebMediaPlayerClientImpl):
1835
1836 2012-12-13  Tien-Ren Chen  <trchen@chromium.org>
1837
1838         Don't consider container nodes of other disambiguated nodes
1839         https://bugs.webkit.org/show_bug.cgi?id=104619
1840
1841         Reviewed by Eric Seidel.
1842
1843         Added a test to track the new disambiguation popup heuristics.
1844
1845         * tests/WebFrameTest.cpp:
1846         * tests/data/disambiguation_popup_no_container.html: Added.
1847
1848 2012-12-13  James Robinson  <jamesr@chromium.org>
1849
1850         [chromium] Expose a WebLayerTreeView getter on WebWidget to make it easier for the embedder to interface with the compositor
1851         https://bugs.webkit.org/show_bug.cgi?id=104968
1852
1853         Reviewed by Adrienne Walker.
1854
1855         This is an intermediate step on the way to https://code.google.com/p/chromium/issues/detail?id=156175.
1856
1857         * public/WebWidget.h:
1858         (WebKit):
1859         (WebWidget):
1860         (WebKit::WebWidget::layerTreeView):
1861         * src/WebViewImpl.cpp:
1862         (WebKit::WebViewImpl::webLayerTreeView):
1863         (WebKit):
1864         * src/WebViewImpl.h:
1865         (WebViewImpl):
1866
1867 2012-12-13  Antoine Labour  <piman@chromium.org>
1868
1869         [chromium] Small fixes for WebPluginContainer::setWebLayer
1870         https://bugs.webkit.org/show_bug.cgi?id=104953
1871
1872         Reviewed by James Robinson.
1873
1874         * src/WebPluginContainerImpl.cpp:
1875         (WebKit::WebPluginContainerImpl::~WebPluginContainerImpl): Allow
1876         WebPlugin to clean up dangling pointers.
1877
1878 2012-12-13  Antoine Labour  <piman@chromium.org>
1879
1880         [chromium] Add WebPluginContainer::setWebLayer to supersede setBackingTextureId/setBackingIOSurfaceId
1881         https://bugs.webkit.org/show_bug.cgi?id=104875
1882
1883         Reviewed by James Robinson.
1884
1885         * public/WebPluginContainer.h:
1886         (WebKit):
1887         (WebPluginContainer):
1888         * src/WebPluginContainerImpl.cpp:
1889         (WebKit::WebPluginContainerImpl::setWebLayer):
1890         (WebKit):
1891         (WebKit::WebPluginContainerImpl::setBackingTextureId):
1892         (WebKit::WebPluginContainerImpl::setBackingIOSurfaceId):
1893         (WebKit::WebPluginContainerImpl::commitBackingTexture):
1894         (WebKit::WebPluginContainerImpl::setOpaque):
1895         (WebKit::WebPluginContainerImpl::platformLayer):
1896         (WebKit::WebPluginContainerImpl::WebPluginContainerImpl):
1897         (WebKit::WebPluginContainerImpl::~WebPluginContainerImpl):
1898         * src/WebPluginContainerImpl.h:
1899         (WebPluginContainerImpl):
1900
1901 2012-12-13  Yusuf Ozuysal  <yusufo@google.com>
1902
1903         Check whether a touchDown lands on a registered touch event handler from the compositor
1904         https://bugs.webkit.org/show_bug.cgi?id=104863
1905
1906         Reviewed by James Robinson.
1907
1908         * src/WebCompositorInputHandlerImpl.cpp:
1909         (WebKit::WebCompositorInputHandlerImpl::handleInputEventInternal):
1910
1911 2012-12-07  Levi Weintraub  <leviw@chromium.org>
1912
1913         Add support for tracking hit test rectangles to enable fast event rejection in the compositor
1914         https://bugs.webkit.org/show_bug.cgi?id=103914
1915
1916         Reviewed by Simon Fraser.
1917
1918         Enabling touch event target region tracking.
1919
1920         * features.gypi:
1921         * src/WebPluginContainerImpl.cpp:
1922         (WebKit::WebPluginContainerImpl::requestTouchEventType):
1923         (WebKit::WebPluginContainerImpl::~WebPluginContainerImpl):
1924
1925 2012-12-12  Andy Estes  <aestes@apple.com>
1926
1927         Fix the Chromium build after r137539.
1928
1929         * src/ScrollbarGroup.cpp:
1930         (WebKit::ScrollbarGroup::lastKnownMousePosition): Renamed from currentMousePosition().
1931         * src/ScrollbarGroup.h: Ditto.
1932
1933 2012-12-12  Sheriff Bot  <webkit.review.bot@gmail.com>
1934
1935         Unreviewed.  Rolled DEPS.
1936
1937         * DEPS:
1938
1939 2012-12-12  Charlie Reis  <creis@chromium.org>
1940
1941         [chromium] Expose quickRedirectComing via WebDataSource
1942         https://bugs.webkit.org/show_bug.cgi?id=104586
1943
1944         Reviewed by Nate Chapin.
1945
1946         Exposes whether the current navigation is a client redirect, and
1947         thus should replace the current history item.
1948
1949         * public/WebDataSource.h:
1950         (WebDataSource): Adds isClientRedirect.
1951         * src/WebDataSourceImpl.cpp:
1952         (WebKit::WebDataSourceImpl::isClientRedirect):
1953         (WebKit):
1954         * src/WebDataSourceImpl.h:
1955         (WebDataSourceImpl):
1956
1957 2012-12-12  Mark Lam  <mark.lam@apple.com>
1958
1959         Encapsulate externally used webdatabase APIs in DatabaseManager.
1960         https://bugs.webkit.org/show_bug.cgi?id=104741.
1961
1962         Reviewed by Sam Weinig.
1963
1964         Use DatabaseManager instead of accessing DatabaseTracker, AbstractDatabase,
1965         and DatabaseContext directly. This is to prepare for upcoming webkit2
1966         refactoring.
1967
1968         * src/ChromeClientImpl.cpp:
1969         * src/WebDatabase.cpp:
1970         (WebKit::WebDatabase::closeDatabaseImmediately):
1971         * src/WebRuntimeFeatures.cpp:
1972         (WebKit::WebRuntimeFeatures::enableDatabase):
1973         (WebKit::WebRuntimeFeatures::isDatabaseEnabled):
1974
1975 2012-12-12  Sheriff Bot  <webkit.review.bot@gmail.com>
1976
1977         Unreviewed, rolling out r137490.
1978         http://trac.webkit.org/changeset/137490
1979         https://bugs.webkit.org/show_bug.cgi?id=104838
1980
1981         Breaks Chromium build due to references to
1982         WebSharedWorkerRepository (Requested by aklein on #webkit).
1983
1984         * public/platform/WebKitPlatformSupport.h:
1985         (WebKit):
1986         (WebKitPlatformSupport):
1987         (WebKit::WebKitPlatformSupport::sharedWorkerRepository):
1988         * src/SharedWorkerRepository.cpp:
1989         (WebKit::sharedWorkerRepository):
1990         (WebCore::SharedWorkerRepository::isAvailable):
1991
1992 2012-12-12  Alpha Lam  <hclam@chromium.org>
1993
1994         [chromium] Minimize memcpy for encoded image data in ImageFrameGenerator
1995         https://bugs.webkit.org/show_bug.cgi?id=103797
1996
1997         Reviewed by Stephen White.
1998
1999         Added unit tests for ThreadSafeDataTransport.
2000
2001         Added unit tests for ImageFrameGenerator to test behavior with and without
2002         new data.
2003
2004         New tests:
2005         ThreadSafeDataTransportTest.hasNewData
2006         ThreadSafeDataTransportTest.setData
2007         ImageFrameGeneratorTest.cacheMissWithIncompleteDecodeNoNewData
2008
2009         * WebKit.gypi:
2010         * tests/ThreadSafeDataTransportTest.cpp: Added.
2011         (WebCore):
2012         (WebCore::TEST):
2013
2014 2012-12-12  Mark Pilgrim  <pilgrim@chromium.org>
2015
2016         [Chromium] Remove all references to sharedWorkerRepository()
2017         https://bugs.webkit.org/show_bug.cgi?id=104704
2018
2019         Reviewed by James Robinson.
2020
2021         Now that Chromium calls setSharedWorkerRepository upon
2022         initializing WebKit (
2023         https://chromiumcodereview.appspot.com/10990121/ ) and no longer
2024         tries to override sharedWorkerRepository, it is safe to remove
2025         all references to this function.
2026
2027         * public/platform/WebKitPlatformSupport.h:
2028         (WebKit):
2029         (WebKit::WebKitPlatformSupport::idbFactory):
2030         * src/SharedWorkerRepository.cpp:
2031         (WebKit::sharedWorkerRepository):
2032         (WebCore::SharedWorkerRepository::isAvailable):
2033
2034 2012-12-12  Tommy Widenflycht  <tommyw@google.com>
2035
2036         MediaStream API: Change the data channel descriptor pattern to a handler pattern
2037         https://bugs.webkit.org/show_bug.cgi?id=104543
2038
2039         Reviewed by Kent Tamura.
2040
2041         * src/AssertMatchingEnums.cpp:
2042
2043 2012-12-11  Dominic Mazzoni  <dmazzoni@google.com>
2044
2045         AX: Make isActionSupported cross-platform.
2046         https://bugs.webkit.org/show_bug.cgi?id=104681
2047
2048         Reviewed by Chris Fleizach.
2049
2050         Add support for press, increment, and decrement actions,
2051         including tests to see whether they're supported on a given
2052         object. This allows Chromium to pass three tests that were
2053         previously skipped.
2054
2055         * public/WebAccessibilityObject.h:
2056         (WebAccessibilityObject):
2057         * src/WebAccessibilityObject.cpp:
2058         (WebKit::WebAccessibilityObject::canDecrement):
2059         (WebKit):
2060         (WebKit::WebAccessibilityObject::canIncrement):
2061         (WebKit::WebAccessibilityObject::canPress):
2062         (WebKit::WebAccessibilityObject::increment):
2063         (WebKit::WebAccessibilityObject::decrement):
2064         (WebKit::WebAccessibilityObject::press):
2065
2066 2012-12-11  Sheriff Bot  <webkit.review.bot@gmail.com>
2067
2068         Unreviewed.  Rolled DEPS.
2069
2070         * DEPS:
2071
2072 2012-12-11  Alec Flett  <alecflett@chromium.org>
2073
2074         IndexedDB: Stub out data operations on IDBDatabaseBackendInterface
2075         https://bugs.webkit.org/show_bug.cgi?id=104592
2076
2077         Reviewed by Dimitri Glazkov.
2078
2079         Stub out chromium side of data operations for refactor.
2080
2081         * public/WebIDBDatabase.h:
2082         (WebKit):
2083         (WebKit::WebIDBDatabase::get):
2084         (WebKit::WebIDBDatabase::put):
2085         (WebKit::WebIDBDatabase::setIndexKeys):
2086         (WebKit::WebIDBDatabase::setIndexesReady):
2087         (WebKit::WebIDBDatabase::openCursor):
2088         (WebKit::WebIDBDatabase::count):
2089         (WebKit::WebIDBDatabase::deleteRange):
2090         (WebKit::WebIDBDatabase::clear):
2091         (WebIDBDatabase):
2092         * src/IDBDatabaseBackendProxy.cpp:
2093         (WebKit::IDBDatabaseBackendProxy::openCursor):
2094         (WebKit):
2095         (WebKit::IDBDatabaseBackendProxy::count):
2096         (WebKit::IDBDatabaseBackendProxy::get):
2097         (WebKit::IDBDatabaseBackendProxy::put):
2098         (WebKit::IDBDatabaseBackendProxy::setIndexKeys):
2099         (WebKit::IDBDatabaseBackendProxy::setIndexesReady):
2100         (WebKit::IDBDatabaseBackendProxy::deleteRange):
2101         (WebKit::IDBDatabaseBackendProxy::clear):
2102         * src/IDBDatabaseBackendProxy.h:
2103         (IDBDatabaseBackendProxy):
2104         * src/WebIDBDatabaseImpl.cpp:
2105         (WebKit):
2106         (WebKit::WebIDBDatabaseImpl::openCursor):
2107         (WebKit::WebIDBDatabaseImpl::count):
2108         (WebKit::WebIDBDatabaseImpl::get):
2109         (WebKit::WebIDBDatabaseImpl::put):
2110         (WebKit::WebIDBDatabaseImpl::setIndexKeys):
2111         (WebKit::WebIDBDatabaseImpl::setIndexesReady):
2112         (WebKit::WebIDBDatabaseImpl::deleteRange):
2113         (WebKit::WebIDBDatabaseImpl::clear):
2114         * src/WebIDBDatabaseImpl.h:
2115         (WebIDBDatabaseImpl):
2116         * tests/IDBDatabaseBackendTest.cpp:
2117
2118 2012-12-11  Sheriff Bot  <webkit.review.bot@gmail.com>
2119
2120         Unreviewed, rolling out r137330.
2121         http://trac.webkit.org/changeset/137330
2122         https://bugs.webkit.org/show_bug.cgi?id=104719
2123
2124         Breaks a chromium browser_test: WebViewTest.IndexedDBIsolation
2125         (Requested by aklein on #webkit).
2126
2127         * src/WebIDBCallbacksImpl.cpp:
2128         (WebKit::WebIDBCallbacksImpl::onSuccess):
2129
2130 2012-12-11  Joshua Bell  <jsbell@chromium.org>
2131
2132         [Chromium] IndexedDB: Memory leak in IDBCallbacksProxy::onSuccess(PassRefPtr<IDBDatabaseBackendInterface>)
2133         https://bugs.webkit.org/show_bug.cgi?id=104615
2134
2135         Reviewed by Tony Chang.
2136
2137         Ensure passed pointer is treated with ownership semantics.
2138
2139         * src/WebIDBCallbacksImpl.cpp:
2140         (WebKit::WebIDBCallbacksImpl::onSuccess):
2141
2142 2012-12-11  Mark Pilgrim  <pilgrim@chromium.org>
2143
2144         [Chromium] Clean up unused interfaces in PlatformSupport
2145         https://bugs.webkit.org/show_bug.cgi?id=104674
2146
2147         Reviewed by Darin Fisher.
2148
2149         Part of a refactoring series. See tracking bug 82948.
2150
2151         * public/platform/WebKitPlatformSupport.h:
2152         * src/PlatformSupport.cpp:
2153
2154 2012-12-11  Mike West  <mkwst@chromium.org>
2155
2156         Web Inspector: ConsoleTypes should not expose MessageType - it should be private to inspector.
2157         https://bugs.webkit.org/show_bug.cgi?id=66371
2158
2159         Reviewed by Pavel Feldman.
2160
2161         Drops WebCore::MessageType from the addMessageToConsole method, and all
2162         the ancilliary places it touches.
2163
2164         Aliases postConsoleMessageToWorkerObject with the old interface in
2165         order to maintain back-compat. Will remove it in a future patch once
2166         Chromium is updated.
2167
2168         * public/WebSharedWorkerClient.h:
2169         (WebSharedWorkerClient):
2170         (WebKit::WebSharedWorkerClient::postConsoleMessageToWorkerObject):
2171         * src/ChromeClientImpl.cpp:
2172         * src/ChromeClientImpl.h:
2173         (ChromeClientImpl):
2174         * src/WebFrameImpl.cpp:
2175         (WebKit::WebFrameImpl::addMessageToConsole):
2176         * src/WebPagePopupImpl.cpp:
2177         * src/WebSharedWorkerImpl.cpp:
2178         (WebKit::WebSharedWorkerImpl::postConsoleMessageToWorkerObject):
2179         (WebKit::WebSharedWorkerImpl::postConsoleMessageTask):
2180         * src/WebSharedWorkerImpl.h:
2181         (WebSharedWorkerImpl):
2182         * src/WebWorkerClientImpl.cpp:
2183         (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObject):
2184         * src/WebWorkerClientImpl.h:
2185         (WebWorkerClientImpl):
2186
2187 2012-12-11  Mark Pilgrim  <pilgrim@chromium.org>
2188
2189         [Chromium] Call createLocalStorageNamespace through Platform.h
2190         https://bugs.webkit.org/show_bug.cgi?id=104675
2191
2192         Reviewed by Kentaro Hara.
2193
2194         Some #include cleanup missing from bug 85766. Part of a
2195         refactoring series; see tracking bug 82948.
2196
2197         * src/StorageNamespaceProxy.cpp:
2198         (WebCore::StorageNamespace::localStorageNamespace):
2199
2200 2012-12-11  Stephen White  <senorblanco@chromium.org>
2201
2202         Unreviewed.  Rolled DEPS.
2203
2204         * DEPS:
2205
2206 2012-12-10  Dana Jansens  <danakj@chromium.org>
2207
2208         [chromium] Remove WebCompositorOutputSurface implementations from DRT
2209         https://bugs.webkit.org/show_bug.cgi?id=104046
2210
2211         Reviewed by Darin Fisher.
2212
2213         Use WebCompositorSupport to create an OutputSurface.
2214
2215         * WebKit.gypi:
2216         * src/WebViewImpl.cpp:
2217         (WebKit):
2218         * tests/Canvas2DLayerBridgeTest.cpp:
2219         * tests/FakeWebCompositorOutputSurface.h: Removed.
2220         * tests/WebLayerTreeViewTestCommon.h:
2221
2222 2012-12-10  Stephen White  <senorblanco@chromium.org>
2223
2224         [Chromium] Re-enable a failing test.  Disabling it just seemed to
2225         move the problem to another test.  Unreviewed.
2226
2227         * tests/GraphicsLayerChromiumTest.cpp:
2228
2229 2012-12-10  David Grogan  <dgrogan@chromium.org>
2230
2231         IndexedDB: Propagate more leveldb errors to script
2232         https://bugs.webkit.org/show_bug.cgi?id=104422
2233
2234         Reviewed by Tony Chang.
2235
2236         * tests/IDBFakeBackingStore.h:
2237           Delete method override that doesn't match new signature.
2238
2239 2012-12-09  Antti Koivisto  <antti@apple.com>
2240
2241         Factor node traversal into standalone functions
2242         https://bugs.webkit.org/show_bug.cgi?id=104507
2243
2244         Reviewed by Eric Seidel.
2245
2246         * src/WebFrameImpl.cpp:
2247         (WebKit::WebFrameImpl::setFindEndstateFocusAndSelection):
2248
2249 2012-12-10  Mark Pilgrim  <pilgrim@chromium.org>
2250
2251         [Chromium][Win] Remove theme-related functions from PlatformSupport
2252         https://bugs.webkit.org/show_bug.cgi?id=102699
2253
2254         Reviewed by Adam Barth.
2255
2256         Call theme engine directly instead of going through
2257         PlatformSupport. Part of a refactoring series. See tracking bug 82948.
2258
2259         * src/PlatformSupport.cpp:
2260         (WebCore::PlatformSupport::pluginScriptableObject):
2261
2262 2012-12-10  Mark Pilgrim  <pilgrim@chromium.org>
2263
2264         [Chromium] Move getPluginsList out of PlatformSupport
2265         https://bugs.webkit.org/show_bug.cgi?id=96507
2266
2267         Reviewed by Darin Fisher.
2268
2269         Part of a refactoring series. See tracking bug 82948.
2270
2271         * WebKit.gyp:
2272         * public/WebPluginListBuilder.h:
2273         * public/platform/WebKitPlatformSupport.h:
2274         (WebKit):
2275         (WebKit::WebKitPlatformSupport::idbFactory):
2276         * src/PlatformSupport.cpp:
2277         (WebCore::PlatformSupport::idbFactory):
2278         * src/WebPluginListBuilderImpl.cpp: Removed.
2279         * src/WebPluginListBuilderImpl.h: Removed.
2280
2281 2012-12-10  Alexis Menard  <alexis@webkit.org>
2282
2283         [CSS3 Backgrounds and Borders] Remove CSS3_BACKGROUND feature flag.
2284         https://bugs.webkit.org/show_bug.cgi?id=104539
2285
2286         Reviewed by Antonio Gomes.
2287
2288         As discussed on webkit-dev it is not needed to keep this feature flag 
2289         as support for <position> type is a small feature that is already 
2290         implemented by three other UAs. It was useful while landing this 
2291         feature as partial bits were landed one after one.
2292
2293         * features.gypi:
2294
2295 2012-12-10  Mike West  <mkwst@chromium.org>
2296
2297         [chromium] Add 'WebKit/chromium/win8' to .gitignore
2298         https://bugs.webkit.org/show_bug.cgi?id=104534
2299
2300         Reviewed by Jochen Eisinger.
2301
2302         I've now added it via 'git add' once, and via 'git commit -a' twice.
2303         Let's make that more difficult, shall we?
2304
2305         * .gitignore:
2306
2307 2012-12-10  Kent Tamura  <tkent@chromium.org>
2308
2309         Refactoring: Introduce HTMLFormControlElement::isDisabledOrReadOnly
2310         https://bugs.webkit.org/show_bug.cgi?id=104508
2311
2312         Reviewed by Kentaro Hara.
2313
2314         * src/WebViewImpl.cpp:
2315         (WebKit::WebViewImpl::textInputType):
2316         Use isDisabledOrReadOnly. Also, remove unnecessary local variable.
2317
2318 2012-12-09  Sheriff Bot  <webkit.review.bot@gmail.com>
2319
2320         Unreviewed, rolling out r137103.
2321         http://trac.webkit.org/changeset/137103
2322         https://bugs.webkit.org/show_bug.cgi?id=104503
2323
2324         Didn't resolve the chrome win build bot failure, problem moved
2325         elsewhere. (Requested by noel_ on #webkit).
2326
2327         * tests/GraphicsLayerChromiumTest.cpp:
2328         (WebKit::TEST_F):
2329
2330 2012-12-09  Noel Gordon  <noel.gordon@gmail.com>
2331
2332         [chromium] webkit_unit_tests tests are failing on win
2333         https://bugs.webkit.org/show_bug.cgi?id=104502
2334
2335         Unreviewed test fix: disable applyScrollToScrollableArea test.
2336
2337         * tests/GraphicsLayerChromiumTest.cpp:
2338         (WebKit::TEST_F):
2339
2340 2012-12-09  Stephen White  <senorblanco@chromium.org>
2341
2342         [Chromium] Unreviewed.  Temporarily disable a webkit_unit_tests test
2343         that's failing on Windows.
2344
2345         * tests/GraphicsLayerChromiumTest.cpp:
2346         (WebKit::TEST_F):
2347
2348 2012-12-09  Stephen White  <senorblanco@chromium.org>
2349
2350         Unreviewed.  Rolled DEPS.
2351
2352         * DEPS:
2353
2354 2012-12-08  Gavin Peters  <gavinp@chromium.org>
2355
2356         Add status events on <link rel=prerender> elements.
2357         https://bugs.webkit.org/show_bug.cgi?id=96474
2358
2359         Reviewed by Adam Barth.
2360
2361         The new PrerenderStatusEvent is sent to link elements when
2362         prerenders are started by the embedder, and also sent when they
2363         are stopped. Pages using this feature can now serialize launching
2364         prerenders, and track timing performance.
2365
2366         * WebKit.gyp:
2367         * WebKit.gypi:
2368         * tests/FrameTestHelpers.cpp:
2369         (WebKit::FrameTestHelpers::createWebView):
2370         (FrameTestHelpers):
2371         (WebKit::FrameTestHelpers::createWebViewAndLoad):
2372         * tests/FrameTestHelpers.h:
2373         (FrameTestHelpers):
2374         * tests/PrerenderingTest.cpp: Added.
2375         * tests/data/prerender/multiple_prerenders.html: Added.
2376         * tests/data/prerender/single_prerender.html: Added.
2377
2378 2012-12-07  Rik Cabanier  <cabanier@adobe.com>
2379
2380         Extend platform layer so it can pass blend modes to the compositing calls
2381         https://bugs.webkit.org/show_bug.cgi?id=104176
2382
2383         Reviewed by Dirk Schulze.
2384
2385         Adding blend mode enumeration to draw functions 
2386
2387         * tests/DragImageTest.cpp:
2388         (WebCore::TestImage::draw):
2389         * tests/ImageLayerChromiumTest.cpp:
2390         (WebCore::TestImage::draw):
2391
2392 2012-12-07  Alpha Lam  <hclam@chromium.org>
2393
2394         [chromium] ImageDecodingStore should cache partially decoded images
2395         https://bugs.webkit.org/show_bug.cgi?id=103796
2396
2397         Reviewed by Stephen White.
2398
2399         Added unit tests to verify caching behavior for partially decoded images.
2400         New tests added:
2401         - ImageDecodingStoreTest.insertIncompleteCache
2402         Insert incomplete image with a decoder into cache.
2403
2404         - ImageDecodingStoreTest.insertCompleteCacheWithDecoder
2405         Insert complete image with a decoder, decoder is deleted.
2406
2407         - ImageDecodingStoreTest.incompleteCacheBecomesComplete
2408         Progressive downloading of a file. Image becomes complete, decoder deleted.
2409
2410         - ImageFrameGeneratorTest.cacheMissWithIncompleteDecodeAndScale
2411         Cache lookup failed and start a decoding that decoded an incomplete image.
2412
2413         ImageFrameGeneratorTest.incompleteDecodeBecomesComplete
2414         Image decoded as incomplete, file fully downloaded and cache entry becomes complete.
2415
2416         ImageFrameGeneratorTest.incompleteDecodeAndScaleBecomesComplete
2417         Image decoded and scaled as incomplete, becomes complete after file is fully dowloaded.
2418
2419         ImageFrameGeneratorTest.incompleteDecodeBecomesCompleteMultiThreaded
2420         Transition from incomplete to complete, entire lifecycle happens on 2 threads.
2421
2422         * tests/DeferredImageDecoderTest.cpp:
2423         (WebCore::DeferredImageDecoderTest::SetUp):
2424         * tests/ImageDecodingStoreTest.cpp:
2425         (WebCore::ImageDecodingStoreTest::SetUp):
2426         (WebCore::ImageDecodingStoreTest::decoderBeingDestroyed):
2427         (ImageDecodingStoreTest):
2428         (WebCore::ImageDecodingStoreTest::frameBufferRequested):
2429         (WebCore::ImageDecodingStoreTest::frameStatus):
2430         (WebCore::ImageDecodingStoreTest::createIncompleteImage):
2431         (WebCore::ImageDecodingStoreTest::lockCache):
2432         (WebCore::TEST_F):
2433         (WebCore):
2434         * tests/ImageFrameGeneratorTest.cpp:
2435         (WebCore::ImageFrameGeneratorTest::SetUp):
2436         (WebCore::ImageFrameGeneratorTest::decoderBeingDestroyed):
2437         (ImageFrameGeneratorTest):
2438         (WebCore::MockImageDecoderFactory::create):
2439         (WebCore::TEST_F):
2440         (WebCore):
2441         (WebCore::decodeThreadMain):
2442         * tests/MockImageDecoder.h:
2443         (WebCore::MockImageDecoder::create):
2444         (MockImageDecoder):
2445         (WebCore::MockImageDecoder::setSize):
2446         (WebCore::MockImageDecoder::frameBufferAtIndex):
2447
2448 2012-12-07  Sheriff Bot  <webkit.review.bot@gmail.com>
2449
2450         Unreviewed, rolling out r136993.
2451         http://trac.webkit.org/changeset/136993
2452         https://bugs.webkit.org/show_bug.cgi?id=104415
2453
2454         This patch breaks the mac build (Requested by cabanier on
2455         #webkit).
2456
2457         * tests/DragImageTest.cpp:
2458         (WebCore::TestImage::draw):
2459         * tests/ImageLayerChromiumTest.cpp:
2460         (WebCore::TestImage::draw):
2461
2462 2012-12-07  Rik Cabanier  <cabanier@adobe.com>
2463
2464         Extend platform layer so it can pass blend modes to the compositing calls
2465         https://bugs.webkit.org/show_bug.cgi?id=104176
2466
2467         Reviewed by Dirk Schulze.
2468
2469         Adding blend mode enumeration to draw functions 
2470
2471         * tests/DragImageTest.cpp:
2472         (WebCore::TestImage::draw):
2473         * tests/ImageLayerChromiumTest.cpp:
2474         (WebCore::TestImage::draw):
2475
2476 2012-12-07  Alec Flett  <alecflett@chromium.org>
2477
2478         IndexedDB: propagate transaction_ids through open/upgradeneeded
2479         https://bugs.webkit.org/show_bug.cgi?id=103922
2480
2481         Reviewed by Tony Chang.
2482
2483         Update test to account for pre-generated transaction ids.
2484
2485         * tests/IDBDatabaseBackendTest.cpp:
2486
2487 2012-12-07  Scott Violet  <sky@chromium.org>
2488
2489         [chromium] Remove linux theme related files and switch to default
2490         https://bugs.webkit.org/show_bug.cgi?id=103897
2491
2492         Reviewed by Dimitri Glazkov.
2493
2494         Linux theme related files are now named Default.
2495
2496         * WebKit.gyp:
2497         * public/linux/WebRenderTheme.h: Removed.
2498         * public/platform/linux/WebThemeEngine.h: Removed.
2499         * src/WebViewImpl.cpp:
2500         (WebKit::WebViewImpl::setScrollbarColors): Cleanup ifdefs.
2501         (WebKit::WebViewImpl::setSelectionColors): Cleanup ifdefs.
2502         * src/linux/WebRenderTheme.cpp: Removed.
2503
2504 2012-12-07  Stephen White  <senorblanco@chromium.org>
2505
2506         Unreviewed.  Rolled DEPS.
2507
2508         * DEPS:
2509
2510 2012-12-07  Alexis Menard  <alexis@webkit.org>
2511
2512         [Chromium] Enable CSS3 background-position offset by default.
2513         https://bugs.webkit.org/show_bug.cgi?id=104253
2514
2515         Reviewed by Tony Chang.
2516
2517         Turn on the feature by default.
2518
2519         * features.gypi:
2520
2521 2012-12-07  Mark Pilgrim  <pilgrim@chromium.org>
2522
2523         [Chromium] Move WorkerContextProxy::create out of PlatformSupport
2524         https://bugs.webkit.org/show_bug.cgi?id=104151
2525
2526         Reviewed by Kentaro Hara.
2527
2528         Doesn't really solve the layering violation as much as kick it
2529         down the road a bit. Part of a refactoring series; see tracking
2530         bug 82948.
2531
2532         * WebKit.gyp:
2533         * src/PlatformSupport.cpp:
2534         (WebCore):
2535         * src/WorkerContextProxy.cpp: Added.
2536         (WebCore):
2537         (WebCore::WebCore::WorkerContextProxy::create):
2538
2539 2012-12-07  Ilya Tikhonovsky  <loislo@chromium.org>
2540
2541         Unreviewed roll crhomium to r171707.
2542
2543         * DEPS:
2544
2545 2012-12-07  Kent Tamura  <tkent@chromium.org>
2546
2547         REGRESSION(r136631): Fix null pointer dereference in WebPagePopupImpl::paint
2548         https://bugs.webkit.org/show_bug.cgi?id=104350
2549
2550         Reviewed by Hajime Morita.
2551
2552         We changed WebPagePopupImpl so that it deleted m_page in
2553         closePopup. However, paint function is still called.
2554
2555         * src/WebPagePopupImpl.cpp:
2556         (WebKit::WebPagePopupImpl::paint): Block by m_closing.
2557
2558 2012-12-06  Kent Tamura  <tkent@chromium.org>
2559
2560         Refactoring: Clean up placeholder attribute usage
2561         https://bugs.webkit.org/show_bug.cgi?id=104337
2562
2563         Reviewed by Kentaro Hara.
2564
2565         * src/WebInputElement.cpp:
2566         (WebKit::WebInputElement::setPlaceholder):
2567         Use setAttribute.
2568         (WebKit::WebInputElement::placeholder):
2569         Use fastGetAttribute.
2570
2571 2012-12-06  Sami Kyostila  <skyostil@chromium.org>
2572
2573         [chromium] Introduce setting for low latency rendering
2574         https://bugs.webkit.org/show_bug.cgi?id=104011
2575
2576         Reviewed by James Robinson.
2577
2578         This low latency rendering setting will be used to enable alternate
2579         render signaling and scheduling to reduce latency.
2580
2581         * public/WebSettings.h:
2582         * src/WebSettingsImpl.cpp:
2583         (WebKit::WebSettingsImpl::WebSettingsImpl):
2584         (WebKit::WebSettingsImpl::setLowLatencyRenderingEnabled):
2585         (WebKit):
2586         * src/WebSettingsImpl.h:
2587         (WebSettingsImpl):
2588         (WebKit::WebSettingsImpl::lowLatencyRenderingEnabled):
2589         * src/WebViewImpl.cpp:
2590         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2591
2592 2012-12-06  Kent Tamura  <tkent@chromium.org>
2593
2594         [Chromium] Rename some init* functions to initialize*
2595         https://bugs.webkit.org/show_bug.cgi?id=104335
2596
2597         Reviewed by Kentaro Hara.
2598
2599         We should use full words.
2600         http://www.webkit.org/coding/coding-style.html#names-full-words
2601
2602         * src/WebHelperPluginImpl.cpp:
2603         (WebKit::WebHelperPluginImpl::initialize): Renamed from init.
2604         (WebKit::WebHelperPluginImpl::initializePage): Renamed from initPage.
2605         * src/WebHelperPluginImpl.h:
2606         (WebHelperPluginImpl):
2607         * src/WebPagePopupImpl.cpp:
2608         (WebKit::WebPagePopupImpl::initialize): Renamed from init.
2609         (WebKit::WebPagePopupImpl::initializePage): Renamed from initPage.
2610         * src/WebPagePopupImpl.h:
2611         (WebPagePopupImpl):
2612         * src/WebPopupMenuImpl.cpp:
2613         (WebKit::WebPopupMenuImpl::initialize): Renamed from init.
2614         * src/WebPopupMenuImpl.h:
2615
2616         * src/WebViewImpl.cpp:
2617         (WebKit::WebViewImpl::openPagePopup): Follow the renamings.
2618         (WebKit::WebViewImpl::createHelperPlugin): Ditto.
2619         * src/ChromeClientImpl.cpp:
2620         (WebKit::ChromeClientImpl::popupOpened): Ditto.
2621
2622 2012-12-06  Rick Byers  <rbyers@chromium.org>
2623
2624         CSS cursor property should support webkit-image-set
2625         https://bugs.webkit.org/show_bug.cgi?id=99493
2626
2627         Reviewed by Beth Dakin.
2628
2629         Add ENABLE_MOUSE_CURSOR_SCALE and enable it on the chromium port.
2630         Plumb cursor image scale factor through to chromium API.
2631
2632         * features.gypi:
2633         * public/WebCursorInfo.h:
2634         * src/WebCursorInfo.cpp:
2635         (WebKit::WebCursorInfo::WebCursorInfo):
2636
2637 2012-12-06  James Simonsen  <simonjam@chromium.org>
2638
2639         [Chromium] Enable Resource Timing and User Timing
2640         https://bugs.webkit.org/show_bug.cgi?id=103788
2641
2642         Reviewed by Tony Gentilcore.
2643
2644         * features.gypi:
2645
2646 2012-12-06  Jochen Eisinger  <jochen@chromium.org>
2647
2648         [chromium] when forwarding events through the WebPluginContainer, create a UserGestureIndicator if processing a user gesture
2649         https://bugs.webkit.org/show_bug.cgi?id=104306
2650
2651         Reviewed by Dimitri Glazkov.
2652
2653         In http://trac.webkit.org/changeset/65964 a UserGestureIndicator was
2654         introduced in chromium's WebKit layer intended to fix a problem with
2655         plugins, however, it also affected regular event handling, so I removed
2656         it in http://trac.webkit.org/changeset/128273. Turns out it still is a
2657         problem for plugins. This change adds the UserGestureIndicator back,
2658         however, only for the WebPluginContainer.
2659
2660         * public/WebInputEvent.h:
2661         (WebInputEvent):
2662         (WebKit::WebInputEvent::isUserGestureEventType):
2663         * src/WebPluginContainerImpl.cpp:
2664         (WebKit::WebPluginContainerImpl::handleEvent):
2665
2666 2012-12-06  David Grogan  <dgrogan@chromium.org>
2667
2668         IndexedDB: Abort transactions because of leveldb errors part 4
2669         https://bugs.webkit.org/show_bug.cgi?id=103964
2670
2671         Reviewed by Tony Chang.
2672
2673         * tests/IDBFakeBackingStore.h:
2674           Update one overridden method signature, delete another.
2675
2676 2012-12-06  Tony Chang  <tony@chromium.org>
2677
2678         REGRESSION(r135082): Restore the ability to insert author level style sheets from script
2679         https://bugs.webkit.org/show_bug.cgi?id=104042
2680
2681         Reviewed by Antti Koivisto.
2682
2683         * src/WebDocument.cpp:
2684         (WebKit::WebDocument::insertUserStyleSheet): Use addAuthorSheet if an author level script is requested.
2685
2686 2012-12-06  Sadrul Habib Chowdhury  <sadrul@chromium.org>
2687
2688         [chromium] Add some null-checks for the touch-lists in TouchEvent
2689         https://bugs.webkit.org/show_bug.cgi?id=104098
2690
2691         Reviewed by Adam Barth.
2692
2693         It is possible for the touch-lists to be NULL in a TouchEvent. V8TouchEvent checks for NULL
2694         touches(), targetTouches() and changedTouches(). So do the same for WebMouseEventBuilder.
2695
2696         * src/WebInputEventConversion.cpp:
2697         (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
2698         * tests/WebInputEventConversionTest.cpp:
2699
2700 2012-12-06  Xianzhu Wang  <wangxianzhu@chromium.org>
2701
2702         [Chromium] Expose acceleratedCompositingForScrollableFramesEnabled in WebKit API
2703         https://bugs.webkit.org/show_bug.cgi?id=104272
2704
2705         We may need the API to enable compositing scrollable frames in Chromium.
2706
2707         Reviewed by Darin Fisher.
2708
2709         * public/WebSettings.h:
2710         * src/WebSettingsImpl.cpp:
2711         (WebKit::WebSettingsImpl::setAcceleratedCompositingForScrollableFramesEnabled):
2712         (WebKit):
2713         * src/WebSettingsImpl.h:
2714         (WebSettingsImpl):
2715
2716 2012-12-06  W. James MacLean  <wjmaclean@chromium.org>
2717
2718         [chromium] Should apply link highlight to largest enclosing node with a handCursor.
2719         https://bugs.webkit.org/show_bug.cgi?id=104264
2720
2721         Reviewed by Adrienne Walker.
2722
2723         Link highlights sometimes only apply to part of a link, if we select an enclosed
2724         node (e.g. font changes in link text). The highlight should be applied to the
2725         largest enclosing node that still has handCursor set.
2726
2727         * src/WebViewImpl.cpp:
2728         (WebKit::WebViewImpl::bestTouchLinkNode):
2729
2730 2012-12-06  Tommy Widenflycht  <tommyw@google.com>
2731
2732         Speech Recognition API: Change the error code to a string on SpeechRecognitionError
2733         https://bugs.webkit.org/show_bug.cgi?id=104254
2734
2735         Reviewed by Adam Barth.
2736
2737         Minor WebCore type changes.
2738
2739         * src/AssertMatchingEnums.cpp:
2740         * src/SpeechRecognitionClientProxy.cpp:
2741         (WebKit::SpeechRecognitionClientProxy::didReceiveError):
2742
2743 2012-12-06  Sheriff Bot  <webkit.review.bot@gmail.com>
2744
2745         Unreviewed, rolling out r136784 and r136802.
2746         http://trac.webkit.org/changeset/136784
2747         http://trac.webkit.org/changeset/136802
2748         https://bugs.webkit.org/show_bug.cgi?id=104231
2749
2750         breaks chromium canary (Requested by morrita on #webkit).
2751
2752         * WebKit.gyp:
2753         * public/linux/WebRenderTheme.h: Added.
2754         (WebKit):
2755         * public/platform/linux/WebThemeEngine.h: Added.
2756         * src/WebViewImpl.cpp:
2757         (WebKit::WebViewImpl::setScrollbarColors):
2758         (WebKit::WebViewImpl::setSelectionColors):
2759         * src/linux/WebRenderTheme.cpp: Added.
2760         (WebKit):
2761         (WebKit::setCaretBlinkInterval):
2762
2763 2012-12-05  Takashi Sakamoto  <tasak@google.com>
2764
2765         Add win8/* to Chromium DEPS (r171376)
2766         https://bugs.webkit.org/show_bug.cgi?id=104228
2767
2768         Reviewed by Hajime Morita.
2769
2770         Since updated chromium DEPS to r171376, now printing/printing.gyp
2771         requires win8/* for windows build.
2772
2773         * DEPS:
2774
2775 2012-12-05  Takashi Sakamoto  <tasak@google.com>
2776
2777         Unreviewed, WebKit gardening.
2778
2779         * WebKit.gyp:
2780         Removed public/linux/WebRenderTheme.h. The file was removed.
2781
2782 2012-12-05  Sheriff Bot  <webkit.review.bot@gmail.com>
2783
2784         Unreviewed.  Rolled DEPS.
2785
2786         * DEPS:
2787
2788 2012-12-05  Greg Billock  <gbillock@google.com>
2789
2790         Add runtime enable for web intents.
2791         https://bugs.webkit.org/show_bug.cgi?id=103669
2792
2793         Reviewed by Adam Barth.
2794
2795         Propagate runtime setting to enable/disable web intents Javascript API.
2796
2797         * public/WebRuntimeFeatures.h:
2798         (WebRuntimeFeatures):
2799         * src/WebRuntimeFeatures.cpp:
2800         (WebKit::WebRuntimeFeatures::enableWebIntents):
2801         (WebKit):
2802         (WebKit::WebRuntimeFeatures::isWebIntentsEnabled):
2803
2804 2012-12-05  Scott Violet  <sky@chromium.org>
2805
2806         [chromium] Remove linux theme related files and switch to default
2807         https://bugs.webkit.org/show_bug.cgi?id=103897
2808
2809         Reviewed by Tony Chang.
2810
2811         Linux theme related files are now named Default.
2812
2813         * WebKit.gyp:
2814         * public/linux/WebRenderTheme.h: Removed.
2815         * public/platform/linux/WebThemeEngine.h: Removed.
2816         * src/WebViewImpl.cpp:
2817         (WebKit::WebViewImpl::setScrollbarColors): Cleanup ifdefs.
2818         (WebKit::WebViewImpl::setSelectionColors): Cleanup ifdefs.
2819         * src/linux/WebRenderTheme.cpp: Removed.
2820
2821 2012-12-05  Joshua Bell  <jsbell@chromium.org>
2822
2823         IndexedDB: Allow multiple transactions to interleave request execution
2824         https://bugs.webkit.org/show_bug.cgi?id=97570
2825
2826         Reviewed by Tony Chang.
2827
2828         Map to IDBTransaction::Mode enum as appropriate.
2829
2830         * src/IDBDatabaseBackendProxy.cpp:
2831         (WebKit::IDBDatabaseBackendProxy::createTransaction):
2832         * src/IDBDatabaseBackendProxy.h:
2833         (IDBDatabaseBackendProxy):
2834         * src/WebIDBDatabaseImpl.cpp:
2835         (WebKit::WebIDBDatabaseImpl::createTransaction):
2836          * tests/IDBDatabaseBackendTest.cpp:
2837
2838 2012-12-05  Eberhard Graether  <egraether@google.com>
2839
2840         [chromium] Remove WebLayerTreeView API to set font atlas
2841         https://bugs.webkit.org/show_bug.cgi?id=102960
2842
2843         Reviewed by James Robinson.
2844
2845         Removes old font atlas creation from WebViewImpl.
2846
2847         * src/WebViewImpl.cpp:
2848         (WebKit::WebViewImpl::WebViewImpl):
2849         (WebKit::WebViewImpl::setShowFPSCounter):
2850         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2851         (WebKit):
2852         * src/WebViewImpl.h:
2853
2854 2012-12-05  Stephen White  <senorblanco@chromium.org>
2855
2856         Unreviewed, rolling out r136735.
2857         http://trac.webkit.org/changeset/136735
2858         https://bugs.webkit.org/show_bug.cgi?id=102699
2859
2860         Broke Chrome/Win build.
2861
2862         * src/PlatformSupport.cpp:
2863         (WebCore):
2864         (WebCore::PlatformSupport::paintButton):
2865         (WebCore::PlatformSupport::paintMenuList):
2866         (WebCore::PlatformSupport::paintScrollbarArrow):
2867         (WebCore::PlatformSupport::paintScrollbarThumb):
2868         (WebCore::PlatformSupport::paintScrollbarTrack):
2869         (WebCore::PlatformSupport::paintSpinButton):
2870         (WebCore::PlatformSupport::paintTextField):
2871         (WebCore::PlatformSupport::paintTrackbar):
2872         (WebCore::PlatformSupport::paintProgressBar):
2873
2874 2012-12-05  Stephen White  <senorblanco@chromium.org>
2875
2876         Unreviewed, rolling out r136741.
2877         http://trac.webkit.org/changeset/136741
2878         https://bugs.webkit.org/show_bug.cgi?id=104151
2879
2880         Broke Chrome/Win build.
2881
2882         * WebKit.gyp:
2883         * src/PlatformSupport.cpp:
2884         (WebCore):
2885         (WebCore::WorkerContextProxy::create):
2886         * src/WorkerContextProxy.cpp: Removed.
2887
2888 2012-12-05  Mark Pilgrim  <pilgrim@chromium.org>
2889
2890         [Chromium] Move WorkerContextProxy::create out of PlatformSupport
2891         https://bugs.webkit.org/show_bug.cgi?id=104151
2892
2893         Reviewed by Adam Barth.
2894
2895         Doesn't really solve the layering violation as much as kick it
2896         down the road a bit. Part of a refactoring series; see tracking
2897         bug 82948.
2898
2899         * WebKit.gyp:
2900         * src/PlatformSupport.cpp:
2901         (WebCore):
2902         * src/WorkerContextProxy.cpp: Added.
2903         (WebCore):
2904         (WebCore::WebCore::WorkerContextProxy::create):
2905
2906 2012-12-05  Mark Pilgrim  <pilgrim@chromium.org>
2907
2908         [Chromium][Win] Remove theme-related functions from PlatformSupport
2909         https://bugs.webkit.org/show_bug.cgi?id=102699
2910
2911         Reviewed by Adam Barth.
2912
2913         Call theme engine directly instead of going through
2914         PlatformSupport. Part of a refactoring series. See tracking bug 82948.
2915
2916         * src/PlatformSupport.cpp:
2917         (WebCore::PlatformSupport::pluginScriptableObject):
2918
2919 2012-12-05  Stephen White  <senorblanco@chromium.org>
2920
2921         Unreviewed, rolling out r136609.
2922         http://trac.webkit.org/changeset/136609
2923         https://bugs.webkit.org/show_bug.cgi?id=103793
2924
2925         Breaking Chrome/Mac Debug builds.
2926
2927         * WebKit.gyp:
2928
2929 2012-12-05  Alec Flett  <alecflett@chromium.org>
2930
2931         IndexedDB: Stub out transaction-backend methods
2932         https://bugs.webkit.org/show_bug.cgi?id=103921
2933
2934         Reviewed by Dimitri Glazkov.
2935
2936         Add new signatures for refactoring, to allow
2937         transaction_ids to make is through the open/onUpgradeNeeded
2938         loop.
2939
2940         * public/WebIDBCallbacks.h:
2941         (WebKit::WebIDBCallbacks::onUpgradeNeeded):
2942         * public/WebIDBDatabase.h:
2943         (WebKit::WebIDBDatabase::createTransaction):
2944         (WebKit::WebIDBDatabase::abort):
2945         (WebKit::WebIDBDatabase::commit):
2946         (WebIDBDatabase):
2947         * public/WebIDBDatabaseCallbacks.h:
2948         (WebIDBDatabaseCallbacks):
2949         (WebKit::WebIDBDatabaseCallbacks::onAbort):
2950         (WebKit::WebIDBDatabaseCallbacks::onComplete):
2951         * public/WebIDBFactory.h:
2952         (WebKit::WebIDBFactory::open):
2953         * src/IDBCallbacksProxy.cpp:
2954         (WebKit::IDBCallbacksProxy::onUpgradeNeeded):
2955         (WebKit):
2956         * src/IDBCallbacksProxy.h:
2957         (IDBCallbacksProxy):
2958         * src/IDBDatabaseBackendProxy.cpp:
2959         (WebKit::IDBDatabaseBackendProxy::createTransaction):
2960         (WebKit):
2961         (WebKit::IDBDatabaseBackendProxy::commit):
2962         (WebKit::IDBDatabaseBackendProxy::abort):
2963         * src/IDBDatabaseBackendProxy.h:
2964         (IDBDatabaseBackendProxy):
2965         * src/IDBDatabaseCallbacksProxy.cpp:
2966         (WebKit::IDBDatabaseCallbacksProxy::onAbort):
2967         (WebKit):
2968         (WebKit::IDBDatabaseCallbacksProxy::onComplete):
2969         * src/IDBDatabaseCallbacksProxy.h:
2970         (IDBDatabaseCallbacksProxy):
2971         * src/IDBFactoryBackendProxy.cpp:
2972         (WebKit::IDBFactoryBackendProxy::open):
2973         (WebKit):
2974         * src/IDBFactoryBackendProxy.h:
2975         (IDBFactoryBackendProxy):
2976         * src/WebIDBCallbacksImpl.cpp:
2977         (WebKit::WebIDBCallbacksImpl::onUpgradeNeeded):
2978         (WebKit):
2979         * src/WebIDBCallbacksImpl.h:
2980         (WebIDBCallbacksImpl):
2981         * src/WebIDBDatabaseCallbacksImpl.cpp:
2982         (WebKit::WebIDBDatabaseCallbacksImpl::onAbort):
2983         (WebKit):
2984         (WebKit::WebIDBDatabaseCallbacksImpl::onComplete):
2985         * src/WebIDBDatabaseCallbacksImpl.h:
2986         (WebIDBDatabaseCallbacksImpl):
2987         * src/WebIDBDatabaseImpl.cpp:
2988         (WebKit::WebIDBDatabaseImpl::createTransaction):
2989         (WebKit):
2990         (WebKit::WebIDBDatabaseImpl::abort):
2991         (WebKit::WebIDBDatabaseImpl::commit):
2992         * src/WebIDBDatabaseImpl.h:
2993         (WebIDBDatabaseImpl):
2994         * src/WebIDBFactoryImpl.cpp:
2995         (WebKit::WebIDBFactoryImpl::open):
2996         (WebKit):
2997         * src/WebIDBFactoryImpl.h:
2998         (WebIDBFactoryImpl):
2999         * tests/IDBAbortOnCorruptTest.cpp:
3000         * tests/IDBDatabaseBackendTest.cpp:
3001
3002 2012-11-27  Alec Flett  <alecflett@chromium.org>
3003
3004         IndexedDB: remove IDBDatabaseBackendInterface::transaction()
3005         https://bugs.webkit.org/show_bug.cgi?id=102733
3006
3007         Reviewed by Darin Fisher.
3008
3009         Part 3 of a refactor - just remove the proxy code for the now
3010         defunct transaction method.
3011
3012         * public/WebIDBDatabase.h:
3013         * src/IDBDatabaseBackendProxy.cpp:
3014         * src/IDBDatabaseBackendProxy.h:
3015         (IDBDatabaseBackendProxy):
3016         * src/WebIDBDatabaseImpl.cpp:
3017         * src/WebIDBDatabaseImpl.h:
3018         (WebIDBDatabaseImpl):
3019         * tests/IDBDatabaseBackendTest.cpp:
3020
3021 2012-12-05  Joshua Bell  <jsbell@chromium.org>
3022
3023         IndexedDB: Replace use of ScriptExecutionContext::Task (Part 2)
3024         https://bugs.webkit.org/show_bug.cgi?id=103931
3025
3026         Reviewed by Tony Chang.
3027
3028         Now that IDBCallbacks uses real RefPtr<> a mock class needs to be heap allocated.
3029
3030         * tests/IDBAbortOnCorruptTest.cpp:
3031         (WebCore::MockIDBCallbacks::create):
3032         (WebCore::MockIDBCallbacks::MockIDBCallbacks):
3033         (MockIDBCallbacks):
3034         (WebCore::TEST):
3035
3036 2012-12-05  Stephen White  <senorblanco@chromium.org>
3037
3038         Unreviewed.  Rolled DEPS.
3039
3040         * DEPS:
3041
3042 2012-12-05  Keishi Hattori  <keishi@webkit.org>
3043
3044         Fix text direction in datalist popup for time controls
3045         https://bugs.webkit.org/show_bug.cgi?id=103853
3046
3047         Reviewed by Kent Tamura.
3048
3049         * src/DateTimeChooserImpl.cpp:
3050         (WebKit::DateTimeChooserImpl::writeDocument): Renamed isCalendarRTL to isLocaleRTL.
3051
3052 2012-12-04  Kentaro Hara  <haraken@chromium.org>
3053
3054         [V8] Remove toV8Object()
3055         https://bugs.webkit.org/show_bug.cgi?id=103987
3056
3057         Reviewed by Adam Barth.
3058
3059         toV8Object() is used only for MessagePort and ArrayBuffer
3060         only by SerializedScriptValue. It is wasteful to generate
3061         toV8Object() for all interfaces.
3062
3063         No tests. No change in behavior.
3064
3065         * src/WebArrayBuffer.cpp:
3066         (WebKit::WebArrayBuffer::toV8Value):
3067         * src/WebBlob.cpp:
3068         (WebKit::WebBlob::toV8Value):
3069
3070 2012-12-04  David Dorwin  <ddorwin@chromium.org>
3071
3072         [Chromium] Detach the frame and destroy the page immediately upon request to closeHelperPlugin().
3073         https://bugs.webkit.org/show_bug.cgi?id=103947
3074
3075         Reviewed by Kent Tamura.
3076
3077         In the case that the host page is being destroyed, some of the objects
3078         the page depends on, specifically RenderViewImpl, may be destroyed by
3079         the time close() is called asynchronously.
3080         The frameDetached() calling code was originally copied from
3081         WebViewImpl::close(), but WebViewImpl does not have an asynchronous
3082         closing mechanism like the WebWidgets.
3083
3084         This is the fix for http://crbug.com/160650
3085
3086         * src/WebHelperPluginImpl.cpp:
3087         (WebKit::WebHelperPluginImpl::init):
3088         (WebKit::WebHelperPluginImpl::closeHelperPlugin):
3089         (WebKit::WebHelperPluginImpl::destoryPage):
3090         (WebKit):
3091         (WebKit::WebHelperPluginImpl::close):.
3092         (WebKit::WebHelperPlugin::create):
3093         * src/WebHelperPluginImpl.h:
3094         (WebHelperPluginImpl):
3095         * src/WebPagePopupImpl.cpp: Made similar changes since it follows the same model. (I think the way popups are closed has prevented the race condition from occurring for popups.)
3096         (WebKit::WebPagePopupImpl::destoryPage):
3097         (WebKit):
3098         (WebKit::WebPagePopupImpl::close):
3099         (WebKit::WebPagePopupImpl::closePopup):
3100         * src/WebPagePopupImpl.h:
3101         (WebPagePopupImpl):
3102
3103 2012-12-04  David Dorwin  <ddorwin@chromium.org>
3104
3105         [Chromium] Removed obsolete local variable from WebViewImpl.cpp.
3106         https://bugs.webkit.org/show_bug.cgi?id=104050
3107
3108         Reviewed by Kent Tamura.
3109
3110         These lines were added with the file in 50739#L761 but the later use
3111         of this variable at L779 has since been removed.
3112
3113         * src/WebViewImpl.cpp:
3114         (WebKit::WebViewImpl::close):
3115
3116 2012-12-04  Alpha Lam  <hclam@chromium.org>
3117
3118         [chromium] Implement cache eviction logic in ImageDecodingStore
3119         https://bugs.webkit.org/show_bug.cgi?id=103480
3120
3121         Reviewed by James Robinson.
3122
3123         Added ImageDecodingStoreTest for unit testing new image cache.
3124
3125         New tests:
3126
3127         ImageDecodingStoreTest.evictOneCache
3128
3129         Test eviction of one cache entry by setting a smaller cache limit.
3130
3131         ImageDecodingStoreTest.pruneOrderIsLeastRecentlyUsed
3132
3133         Test eviction order is least recently used.
3134
3135         ImageDecodingStoreTest.pruneCausedByInsertion
3136
3137         Test that eviction is triggered also by cache insertion.
3138
3139         ImageDecodingStoreTest.cacheInUseNotEvicted
3140
3141         Test that cache in use is not evicted.
3142
3143         ImageDecodingStoreTest.destroyImageFrameGenerator
3144
3145         Test that deleting a ImageFrameGenerator causes associated cache
3146         entries to be removed.
3147
3148         * WebKit.gypi:
3149         * tests/ImageDecodingStoreTest.cpp: Added.
3150         (WebCore):
3151         (ImageDecodingStoreTest):
3152         (WebCore::ImageDecodingStoreTest::SetUp):
3153         (WebCore::ImageDecodingStoreTest::TearDown):
3154         (WebCore::ImageDecodingStoreTest::createCompleteImage):
3155         (WebCore::ImageDecodingStoreTest::insertCache):
3156         (WebCore::ImageDecodingStoreTest::lockCache):
3157         (WebCore::ImageDecodingStoreTest::unlockCache):
3158         (WebCore::ImageDecodingStoreTest::evictOneCache):
3159         (WebCore::ImageDecodingStoreTest::isCacheAlive):
3160         (WebCore::TEST_F):
3161
3162 2012-12-04  Kenneth Russell  <kbr@google.com>
3163
3164         Associate URLs with GraphicsContext3D instances created for WebGL
3165         https://bugs.webkit.org/show_bug.cgi?id=103793
3166
3167         Reviewed by Adam Barth.
3168
3169         * WebKit.gyp:
3170             Allow WebURL.h to be included directly or indirectly from Platform.h.
3171
3172 2012-12-04  Adam Barth  <abarth@webkit.org>
3173
3174         [V8] Cleanup style in V8DOMWrapper
3175         https://bugs.webkit.org/show_bug.cgi?id=104062
3176
3177         Reviewed by Kentaro Hara.
3178
3179         * src/WebBindings.cpp:
3180         (WebKit::getRangeImpl):
3181
3182 2012-12-04  Stephen White  <senorblanco@chromium.org>
3183
3184         [chromium] Turn on the new Skia mask blur algorithm.
3185         https://bugs.webkit.org/show_bug.cgi?id=103906
3186
3187         Reviewed by Adrienne Walker.
3188
3189         * skia_webkit.gyp:
3190
3191 2012-12-04  Stephen White  <senorblanco@chromium.org>
3192
3193         Unreviewed.  Rolled DEPS.
3194
3195         * DEPS:
3196
3197 2012-12-04  David Grogan  <dgrogan@chromium.org>
3198
3199         IndexedDB: Propagate more leveldb errors to IDBIndex and IDBObjectStore
3200         https://bugs.webkit.org/show_bug.cgi?id=103782
3201
3202         Reviewed by Tony Chang.
3203
3204         * tests/IDBFakeBackingStore.h:
3205           Remove changed methods that are no longer necessary.
3206
3207 2012-12-04  Stephen White  <senorblanco@chromium.org>
3208
3209         Rolled DEPS (w/Linux build fix).  Unreviewed.
3210
3211         * DEPS:
3212
3213 2012-12-04  Stephen White  <senorblanco@chromium.org>
3214
3215         Unreviewed, rolling out r136530.
3216         http://trac.webkit.org/changeset/136530
3217
3218         Broke build.webkit.org linux build
3219
3220         * DEPS:
3221
3222 2012-12-04  Stephen White  <senorblanco@chromium.org>
3223
3224         Unreviewed.  Rolled DEPS.
3225
3226         * DEPS:
3227
3228 2012-12-04  Eberhard Graether  <egraether@google.com>
3229
3230         [chromium] fix showFPScounter and showPaintRects not toggleable after page change
3231         https://bugs.webkit.org/show_bug.cgi?id=103937
3232
3233         Reviewed by Pavel Feldman.
3234
3235         This change avoids updating the WebSettings and uses fields for showFPSCounter and
3236         showPaintRects in WebViewImpl instead, which hold the values between InspectorPageAgent::restore()
3237         and WebViewImpl::setIsAcceleratedCompositingActive().
3238
3239         * src/WebViewImpl.cpp:
3240         (WebKit::WebViewImpl::WebViewImpl):
3241         (WebKit::WebViewImpl::setShowFPSCounter):
3242         (WebKit::WebViewImpl::setShowPaintRects):
3243         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3244         * src/WebViewImpl.h:
3245
3246 2012-12-04  Charlie Reis  <creis@chromium.org>
3247
3248         Add FrameLoaderClient::didDisownOpener
3249         https://bugs.webkit.org/show_bug.cgi?id=103789
3250
3251         Reviewed by Darin Fisher.
3252
3253         Forwards the didDisownOpener notification to the WebFrameClient.
3254
3255         * public/WebFrameClient.h:
3256         (WebFrameClient):
3257         (WebKit::WebFrameClient::didDisownOpener):
3258         * src/FrameLoaderClientImpl.cpp:
3259         (WebKit::FrameLoaderClientImpl::didDisownOpener):
3260         (WebKit):
3261         * src/FrameLoaderClientImpl.h:
3262         (FrameLoaderClientImpl):
3263
3264 2012-12-04  Stephen Chenney  <schenney@chromium.org>
3265
3266         [chromium] Turn on the new Skia mask blur algorithm.
3267         https://bugs.webkit.org/show_bug.cgi?id=103906
3268
3269         Unreviewed roll out.
3270
3271         The previous patch was premature and is causing issues rolling skia deps and Chromium deps.
3272
3273         * skia_webkit.gyp:
3274
3275 2012-12-03  Joshua Bell  <jsbell@chromium.org>
3276
3277         IndexedDB: Correct database version after aborted upgrade
3278         https://bugs.webkit.org/show_bug.cgi?id=103763
3279
3280         Reviewed by Tony Chang.
3281
3282         Pass previously created proxy along in an open onSuccess, rather than a useless wrapper.
3283
3284         * src/WebIDBCallbacksImpl.cpp:
3285         (WebKit::WebIDBCallbacksImpl::WebIDBCallbacksImpl):
3286         (WebKit::WebIDBCallbacksImpl::onSuccess):
3287         (WebKit::WebIDBCallbacksImpl::onUpgradeNeeded):
3288         * src/WebIDBCallbacksImpl.h:
3289         (WebCore):
3290         (WebIDBCallbacksImpl):
3291
3292 2012-12-03  Rafael Weinstein  <rafaelw@chromium.org>
3293
3294         Implement HTMLTemplateElement
3295         https://bugs.webkit.org/show_bug.cgi?id=86031
3296
3297         Reviewed by Adam Barth.
3298
3299         Turning on HTMLTemplateElement for chromium port.
3300
3301         * features.gypi:
3302
3303 2012-12-03  Sheriff Bot  <webkit.review.bot@gmail.com>
3304
3305         Unreviewed, rolling out r136460.
3306         http://trac.webkit.org/changeset/136460
3307         https://bugs.webkit.org/show_bug.cgi?id=103958
3308
3309         This patch caused compile error when building DumpRenderTree
3310         (Requested by tasak on #webkit).
3311
3312         * WebKit.gyp:
3313         * public/linux/WebRenderTheme.h: Added.
3314         (WebKit):
3315         * src/WebViewImpl.cpp:
3316         (WebKit::WebViewImpl::setScrollbarColors):
3317         (WebKit::WebViewImpl::setSelectionColors):
3318         * src/linux/WebRenderTheme.cpp: Added.
3319         (WebKit):
3320         (WebKit::setCaretBlinkInterval):
3321
3322 2012-12-03  Scott Violet  <sky@chromium.org>
3323
3324         [chromium] Remove linux theme related files and switch to default
3325         https://bugs.webkit.org/show_bug.cgi?id=103897
3326
3327         Reviewed by Darin Fisher.
3328
3329         linux theme related files are now named default. This removes
3330         linux files updates build files and removes ifdefs.
3331
3332         * WebKit.gyp: update rules.
3333         * public/linux/WebRenderTheme.h: Removed.
3334         * src/WebViewImpl.cpp:
3335         (WebKit::WebViewImpl::setScrollbarColors): Update ifdefs
3336         (WebKit::WebViewImpl::setSelectionColors): Update ifdefs
3337         * src/linux/WebRenderTheme.cpp: Removed.
3338
3339 2012-12-03  Fady Samuel  <fsamuel@chromium.org>
3340
3341         [Chromium] Expose removeAttribute in WebElement
3342         https://bugs.webkit.org/show_bug.cgi?id=103780
3343
3344         Reviewed by Darin Fisher.
3345
3346         * public/WebElement.h:
3347         (WebElement):
3348         * src/WebElement.cpp:
3349         (WebKit::WebElement::removeAttribute):
3350         (WebKit):
3351
3352 2012-12-03  Eugene Klyuchnikov  <eustas@chromium.org>
3353
3354         Web Inspector: Make main-thread monitoring go through InspectorController
3355         https://bugs.webkit.org/show_bug.cgi?id=103550
3356
3357         Reviewed by Pavel Feldman.
3358
3359         InspectorInstrumentation was a wrong path.
3360
3361         * src/InspectorClientImpl.cpp: Remove TaskObserver implementation, and
3362         listen/unlisten methods.
3363         * src/InspectorClientImpl.h: Ditto.
3364         * src/WebDevToolsAgentImpl.cpp:
3365         (WebKit::WebDevToolsAgentImpl::~WebDevToolsAgentImpl):
3366         Unsubscribe for main thread activity events.
3367         (WebKit::WebDevToolsAgentImpl::detach): Ditto.
3368         (WebKit::WebDevToolsAgentImpl::attach):
3369         Subscribe for main thread activity events.
3370         (WebKit::WebDevToolsAgentImpl::willProcessTask): Implement TasObserver
3371         interface. Froward to InspectorController.
3372         (WebKit::WebDevToolsAgentImpl::didProcessTask): Ditto.
3373         * src/WebDevToolsAgentImpl.h: Implement TasObserver interface.
3374
3375 2012-12-03  Alec Flett  <alecflett@chromium.org>
3376
3377         IndexedDB: remove IDBDatabaseBackendInterface::transaction()
3378         https://bugs.webkit.org/show_bug.cgi?id=102733
3379
3380         Reviewed by Darin Fisher.
3381
3382         Part 3 of a refactor - just remove the proxy code for the now
3383         defunct transaction method.
3384
3385         * public/WebIDBDatabase.h:
3386         * src/IDBDatabaseBackendProxy.cpp:
3387         * src/IDBDatabaseBackendProxy.h:
3388         (IDBDatabaseBackendProxy):
3389         * src/WebIDBDatabaseImpl.cpp:
3390         * src/WebIDBDatabaseImpl.h:
3391         (WebIDBDatabaseImpl):
3392         * tests/IDBDatabaseBackendTest.cpp:
3393
3394 2012-12-03  Sami Kyostila  <skyostil@chromium.org>
3395
3396         [chromium] Tell WebInputHandlerClient when end of input is reached for current vsync period
3397         https://bugs.webkit.org/show_bug.cgi?id=103648
3398
3399         Reviewed by James Robinson.
3400
3401         Let the WebInputHandlerClient know when we've received the final input event
3402         for the current vsync period.
3403
3404         Test: WebCompositorInputHandlerImplTest.lastInputEventForVSync
3405
3406         * src/WebCompositorInputHandlerImpl.cpp:
3407         (WebKit::WebCompositorInputHandlerImpl::handleInputEvent):
3408
3409 2012-12-03  Stephen White  <senorblanco@chromium.org>
3410
3411         [chromium] Turn on the new Skia mask blur algorithm.
3412         https://bugs.webkit.org/show_bug.cgi?id=103906
3413
3414         Reviewed by Adrienne Walker.
3415
3416         * skia_webkit.gyp:
3417
3418 2012-12-03  Erik Arvidsson  <arv@chromium.org>
3419
3420         [Chromium] Fix issue with hard coded error codes in quota error
3421         https://bugs.webkit.org/show_bug.cgi?id=103892
3422
3423         Reviewed by Darin Fisher.
3424
3425         Chromium currently hard codes the enum values for QuotaStatusCode. To fix
3426         this we need to do a few iteration of changes. This is the first step and
3427         it exposes the enums that Chromium depends on.
3428
3429         * public/WebStorageQuotaError.h:
3430
3431 2012-12-03  Joshua Bell  <jsbell@chromium.org>
3432
3433         IndexedDB: Rename exception enum members from UGLY_ERR to PrettyError
3434         https://bugs.webkit.org/show_bug.cgi?id=103759
3435
3436         Reviewed by Darin Fisher.
3437
3438         Update IDBDatabaseException enum names/values to match WebCore.
3439
3440         * public/WebIDBDatabaseException.h:
3441         * src/AssertMatchingEnums.cpp:
3442         * src/IDBFactoryBackendProxy.cpp:
3443         (WebKit::IDBFactoryBackendProxy::allowIndexedDB):
3444         * tests/IDBRequestTest.cpp:
3445
3446 2012-12-03  Tommy Widenflycht  <tommyw@google.com>
3447
3448         Speech Recognition API: Update SpeechRecognitionEvent to match the specification
3449         https://bugs.webkit.org/show_bug.cgi?id=103407
3450
3451         Reviewed by Kentaro Hara.
3452
3453         Adding the new didReceiveResults method.
3454
3455         * public/WebSpeechRecognizerClient.h:
3456         * src/SpeechRecognitionClientProxy.cpp:
3457         (WebKit::SpeechRecognitionClientProxy::didReceiveResults):
3458         (WebKit):
3459         * src/SpeechRecognitionClientProxy.h:
3460         (SpeechRecognitionClientProxy):
3461
3462 2012-12-03  Sami Kyostila  <skyostil@chromium.org>
3463
3464         [chromium] Mark last input event for current vsync interval
3465         https://bugs.webkit.org/show_bug.cgi?id=103647
3466
3467         Reviewed by James Robinson.
3468
3469         On Android all input events are triggered at the start of a vsync to maximize
3470         the amount of time an application has for painting. Add a field to
3471         WebInputEvent to indicate when the input event is the final one for the
3472         current vsync interval. This information will be used for more efficient
3473         render scheduling.
3474
3475         * public/WebInputEvent.h:
3476         (WebKit::WebInputEvent::WebInputEvent):
3477
3478 2012-12-02  Sadrul Habib Chowdhury  <sadrul@chromium.org>
3479
3480         [chromium] Correct the location of synthetic mouse events when page is zoomed
3481         https://bugs.webkit.org/show_bug.cgi?id=103823
3482
3483         Reviewed by Adam Barth.
3484
3485         The event-location conversion function expects absolute locations. Change the
3486         function name to reflect that, and use the absolute location of the touch-points
3487         when converting from touch events.
3488
3489         * src/WebInputEventConversion.cpp:
3490         (WebKit::convertAbsoluteLocationForRenderObject):
3491         (WebKit::updateWebMouseEventFromWebCoreMouseEvent):
3492         (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
3493         (WebKit::addTouchPoints):
3494         (WebKit::WebGestureEventBuilder::WebGestureEventBuilder):
3495
3496 2012-12-02  Miguel Garcia  <miguelg@chromium.org>
3497
3498         [Chromium] Create an enum for the kind of date input and use that on WebDateTimeChooserParams instead of a bare WebString
3499         https://bugs.webkit.org/show_bug.cgi?id=103746
3500
3501         Reviewed by Kent Tamura.
3502
3503         Using an enum makes the chromium part much simpler and prevents makes sure that new items are added explicitly.
3504
3505         * WebKit.gyp:
3506         * public/WebDateTimeChooserParams.h:
3507         (WebDateTimeChooserParams):
3508         * public/WebDateTimeInputType.h: Copied from Source/WebKit/chromium/public/WebTextInputType.h.
3509         (WebKit):
3510         * public/WebTextInputType.h:
3511         * public/WebViewClient.h:
3512         (WebViewClient):
3513         * src/ExternalDateTimeChooser.cpp:
3514         (WebKit::ExternalDateTimeChooser::openDateTimeChooser):
3515         (WebKit::ExternalDateTimeChooser::webType):
3516         (WebKit):
3517         * src/ExternalDateTimeChooser.h:
3518         (ExternalDateTimeChooser):
3519
3520 2012-12-02  Robert Kroeger  <rjkroege@chromium.org>
3521
3522         [chromium] make sourceDevice available to more WebGestureEvent subtypes
3523         https://bugs.webkit.org/show_bug.cgi?id=103551
3524
3525         Reviewed by James Robinson.
3526
3527         Added an additional data payload to WebGestureEvent that can
3528         contain the source device (touchpad or touchscreen).
3529
3530         * public/WebInputEvent.h:
3531         * src/WebInputEvent.cpp:
3532         (SameSizeAsWebGestureEvent):
3533
3534 2012-12-02  Sheriff Bot  <webkit.review.bot@gmail.com>
3535
3536         Unreviewed, rolling out r136236.
3537         http://trac.webkit.org/changeset/136236
3538         https://bugs.webkit.org/show_bug.cgi?id=103833