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