Unreviewed, rolling out r117675.
[WebKit-https.git] / Source / WebKit / chromium / ChangeLog
1 2012-05-19  Sheriff Bot  <webkit.review.bot@gmail.com>
2
3         Unreviewed, rolling out r117675.
4         http://trac.webkit.org/changeset/117675
5         https://bugs.webkit.org/show_bug.cgi?id=86938
6
7         Broke builds. You can't initialize members by members
8         themselves (Requested by rniwa on #webkit).
9
10         * public/WebFrame.h:
11         (WebFrame):
12         * public/WebPlugin.h:
13         (WebPlugin):
14         (WebKit::WebPlugin::printBegin):
15         * public/WebPrintParams.h:
16         * src/WebFrameImpl.cpp:
17         (WebKit):
18         (WebKit::WebFrameImpl::printBegin):
19         * src/WebFrameImpl.h:
20         (WebFrameImpl):
21         * src/WebPluginContainerImpl.cpp:
22         (WebKit::WebPluginContainerImpl::printBegin):
23
24 2012-05-18  Jochen Eisinger  <jochen@chromium.org>
25
26         [chromium] remove obsolete WebViewClient::startDragging version
27         https://bugs.webkit.org/show_bug.cgi?id=86887
28
29         Reviewed by Adam Barth.
30
31         * public/WebViewClient.h:
32         (WebKit::WebViewClient::startDragging):
33
34 2012-05-18  Kausalya Madhusudhanan  <kmadhusu@chromium.org>
35
36         [Chromium] Use overloaded printBegin() webkit API to support auto fit to page functionality.
37         https://bugs.webkit.org/show_bug.cgi?id=86684
38
39         Reviewed by Darin Fisher.
40
41         * public/WebFrame.h:
42         (WebFrame):
43         * public/WebPlugin.h:
44         (WebPlugin):
45         * public/WebPrintParams.h:
46         (WebKit::WebPrintParams::WebPrintParams):
47         (WebPrintParams):
48         * src/WebFrameImpl.cpp:
49         (WebKit):
50         * src/WebFrameImpl.h:
51         (WebFrameImpl):
52         * src/WebPluginContainerImpl.cpp:
53         (WebKit::WebPluginContainerImpl::printBegin):
54
55 2012-05-18  Ryosuke Niwa  <rniwa@webkit.org>
56
57         Roll Chromium DEPS from r136942 to r137976.
58
59         * DEPS:
60
61 2012-05-18  Aaron Colwell  <acolwell@chromium.org>
62
63         Update Media Source implementation to reflect changes in 0.5 spec.
64         https://bugs.webkit.org/show_bug.cgi?id=83607
65
66         Reviewed by Darin Fisher.
67
68         * public/WebMediaPlayer.h:
69         (WebKit::WebMediaPlayer::sourceAddId): Update the signature to take the parsed type and codecs vector.
70         (WebKit::WebMediaPlayer::sourceBuffered): Add default implementation for new method.
71         (WebKit::WebMediaPlayer::sourceAppend): Update signature to include id parameter.
72         (WebKit::WebMediaPlayer::sourceAbort): Add default implementation for new method.
73         * src/WebMediaPlayerClientImpl.cpp:
74         (WebKit::WebMediaPlayerClientImpl::sourceAddId): Update the signature to take the parsed type and codecs vector.
75         (WebKit::WebMediaPlayerClientImpl::sourceBuffered): Added implementation for new method. Converts WebKit::WebTimeRanges to WebCore::TimeRanges.
76         (WebKit):
77         (WebKit::WebMediaPlayerClientImpl::sourceAppend): Update signature to include id parameter.
78         (WebKit::WebMediaPlayerClientImpl::sourceAbort): Implementation for new method.
79         * src/WebMediaPlayerClientImpl.h:
80         (WebMediaPlayerClientImpl): Added declarations for new methods and updated signatures for existing ones.
81
82 2012-05-18  Shawn Singh  <shawnsingh@chromium.org>
83
84         [chromium] add back-face visibility check for renderSurfaces
85         https://bugs.webkit.org/show_bug.cgi?id=86870
86
87         Reviewed by Adrienne Walker.
88
89         * tests/CCLayerTreeHostCommonTest.cpp:
90         (WebKitTests::TEST):
91         (WebKitTests):
92
93 2012-05-18  Greg Billock  <gbillock@google.com>
94
95         Enable web intents flag for chromium build
96         https://bugs.webkit.org/show_bug.cgi?id=86762
97
98         Reviewed by Adam Barth.
99
100         This flag is enabled in the Chromium-side build.
101
102         * features.gypi:
103
104 2012-05-18  Tony Chang  <tony@chromium.org>
105
106         remove the CSS_GRID_LAYOUT compiler define, but default grid layout to off
107         https://bugs.webkit.org/show_bug.cgi?id=86767
108
109         Reviewed by Ojan Vafai.
110
111         * public/WebSettings.h:
112         * src/WebSettingsImpl.cpp:
113         (WebKit::WebSettingsImpl::setExperimentalCSSGridLayoutEnabled):
114         (WebKit):
115         * src/WebSettingsImpl.h:
116         (WebSettingsImpl):
117
118 2012-05-18  Ian Vollick  <vollick@chromium.org>
119
120         [chromium] Multithreaded compositor unit tests intermittently failing
121         https://bugs.webkit.org/show_bug.cgi?id=74623
122
123         Reviewed by Adrienne Walker.
124
125         The flakiness of the CCLayerTreeHost tests stem from processing tasks after the
126         tests finish. To fix this, I've disabled the dispatch* methods after endTest is
127         called, effectively preventing any further tasks scheduled by the tests from
128         being processed. I have also reworked the checks in
129         CCLayerTreeHostTestWriteLayersRedraw to make the test more robust.
130
131         * tests/CCLayerTreeHostTest.cpp:
132         (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
133         (WTF::CCLayerTreeHostTest::dispatchSetNeedsAnimate):
134         (WTF::CCLayerTreeHostTest::dispatchAddInstantAnimation):
135         (WTF::CCLayerTreeHostTest::dispatchAddAnimation):
136         (WTF::CCLayerTreeHostTest::dispatchSetNeedsAnimateAndCommit):
137         (WTF::CCLayerTreeHostTest::dispatchSetNeedsCommit):
138         (WTF::CCLayerTreeHostTest::dispatchAcquireLayerTextures):
139         (WTF::CCLayerTreeHostTest::dispatchSetNeedsRedraw):
140         (WTF::CCLayerTreeHostTest::dispatchSetVisible):
141         (WTF::CCLayerTreeHostTest::dispatchSetInvisible):
142         (CCLayerTreeHostTest):
143         (WTF::CCLayerTreeHostTest::endTest):
144         (WTF::CCLayerTreeHostTestWriteLayersRedraw::drawLayersOnCCThread):
145         (WTF::CCLayerTreeHostTestWriteLayersRedraw::afterTest):
146
147 2012-05-18  MORITA Hajime  <morrita@google.com>
148
149         https://bugs.webkit.org/show_bug.cgi?id=85515
150         Stale frame in WebCore::SpellChecker::didCheckSucceeded
151
152         Added WebTextCheckingCompletionImpl::invalidate() to mark
153         pending spellcheck request as invalid, and added frameWillDetachPage()
154         to fire it.
155
156         Reviewed by Ryosuke Niwa.
157
158         * src/EditorClientImpl.cpp:
159         (WebKit::EditorClientImpl::frameWillDetachPage):
160         (WebKit):
161         (WebKit::EditorClientImpl::requestCheckingOfString):
162         (WebKit::EditorClientImpl::didCheckString):
163         * src/EditorClientImpl.h:
164         (WebKit):
165         (EditorClientImpl):
166         * src/WebTextCheckingCompletionImpl.cpp:
167         (WebKit::WebTextCheckingCompletionImpl::didFinishCheckingText):
168         (WebKit::WebTextCheckingCompletionImpl::didCancelCheckingText):
169         (WebKit::WebTextCheckingCompletionImpl::invalidate):
170         (WebKit):
171         * src/WebTextCheckingCompletionImpl.h:
172         (WebKit):
173         (WebKit::WebTextCheckingCompletionImpl::WebTextCheckingCompletionImpl):
174         (WebTextCheckingCompletionImpl):
175         (WebKit::WebTextCheckingCompletionImpl::spellChecker):
176
177 2012-05-18  Jochen Eisinger  <jochen@chromium.org>
178
179         [chromium] plumb the frame for which a drag was initiated to the WebViewClient
180         https://bugs.webkit.org/show_bug.cgi?id=86670
181
182         Reviewed by Kent Tamura.
183
184         * public/WebViewClient.h:
185         (WebKit::WebViewClient::startDragging):
186         (WebViewClient):
187         * src/DragClientImpl.cpp:
188         (WebKit::DragClientImpl::startDrag):
189         * src/WebViewImpl.cpp:
190         (WebKit::WebViewImpl::startDragging):
191         * src/WebViewImpl.h:
192         (WebViewImpl):
193
194 2012-05-17  Mark Pilgrim  <pilgrim@chromium.org>
195
196         [Chromium] Move Web Workers methods to Platform.h
197         https://bugs.webkit.org/show_bug.cgi?id=86799
198
199         Reviewed by Adam Barth.
200
201         Part of a refactoring series. See tracking bug 82948.
202
203         * WebKit.gyp:
204         * public/WebWorkerRunLoop.h:
205         * public/platform/WebKitPlatformSupport.h:
206         (WebKit):
207         (WebKitPlatformSupport):
208         * src/PlatformSupport.cpp:
209         (WebCore::PlatformSupport::didStartWorkerRunLoop):
210         (WebCore::PlatformSupport::didStopWorkerRunLoop):
211
212 2012-05-17  Dana Jansens  <danakj@chromium.org>
213
214         [chromium] Scale all compositor output by the defaultDeviceScaleFactor
215         https://bugs.webkit.org/show_bug.cgi?id=86051
216
217         Reviewed by James Robinson.
218
219         Add the applyDefaultDeviceScaleInCompositor setting. When enabled, we
220         apply the scale factor during compositing instead of applying it through
221         the pageScaleFactor.
222
223         NonCompositedContentHost is the GraphicLayerClient for the GraphicsLayer
224         containing the document's body. It needs to report the page/device scale
225         that should be used when scaling the contents of the GraphicsLayer, and
226         when changes occur to them such that its contentsSize or contentsScale
227         is affected.
228
229         Store the deviceScaleFactor being used in the compositor. The remainder
230         of the deviceScaleFactor() is being applied to the pageScale.
231
232         * public/WebSettings.h:
233         * src/NonCompositedContentHost.cpp:
234         (WebKit::NonCompositedContentHost::NonCompositedContentHost):
235         (WebKit::NonCompositedContentHost::setViewport):
236         * src/NonCompositedContentHost.h:
237         (NonCompositedContentHost):
238         * src/WebLayerTreeView.cpp:
239         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
240         * src/WebSettingsImpl.cpp:
241         (WebKit::WebSettingsImpl::setApplyDefaultDeviceScaleFactorInCompositor):
242         (WebKit):
243         * src/WebSettingsImpl.h:
244         (WebSettingsImpl):
245         (WebKit::WebSettingsImpl::applyDefaultDeviceScaleFactorInCompositor):
246         * src/WebViewImpl.cpp:
247         (WebKit::WebViewImpl::WebViewImpl):
248         (WebKit::WebViewImpl::setPageScaleFactor):
249         (WebKit::WebViewImpl::setDeviceScaleFactor):
250         (WebKit::WebViewImpl::enableFixedLayoutMode):
251         (WebKit::WebViewImpl::computePageScaleFactorLimits):
252         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
253         (WebKit::WebViewImpl::updateLayerTreeViewport):
254         * src/WebViewImpl.h:
255         * tests/CCLayerTreeHostTest.cpp:
256         (MockLayerTreeHostImpl):
257         (WTF::MockLayerTreeHost::createLayerTreeHostImpl):
258         (CCLayerTreeHostTestDeviceScaleFactorScalesViewportAndLayers):
259         (WTF::CCLayerTreeHostTestDeviceScaleFactorScalesViewportAndLayers::CCLayerTreeHostTestDeviceScaleFactorScalesViewportAndLayers):
260         (WTF::CCLayerTreeHostTestDeviceScaleFactorScalesViewportAndLayers::beginTest):
261         (WTF::CCLayerTreeHostTestDeviceScaleFactorScalesViewportAndLayers::commitCompleteOnCCThread):
262         (WTF::CCLayerTreeHostTestDeviceScaleFactorScalesViewportAndLayers::afterTest):
263         (WTF):
264         (WTF::TEST_F):
265         * tests/LayerRendererChromiumTest.cpp:
266         * tests/WebFrameTest.cpp:
267         (WebKit::TEST_F):
268
269 2012-05-17  Vangelis Kokkevis  <vangelis@chromium.org>
270
271         Expose layer tiling size options to WebSettings.
272         https://bugs.webkit.org/show_bug.cgi?id=86425
273
274         This will allow tiling parameters to be set via command line flags
275         passed to the Renderer.
276
277         Reviewed by Adrienne Walker.
278
279         * public/WebSettings.h:
280         * src/WebLayerTreeView.cpp:
281         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
282         * src/WebSettingsImpl.cpp:
283         (WebKit::WebSettingsImpl::WebSettingsImpl):
284         (WebKit::WebSettingsImpl::setDefaultTileSize):
285         (WebKit):
286         (WebKit::WebSettingsImpl::setMaxUntiledLayerSize):
287         * src/WebSettingsImpl.h:
288         (WebSettingsImpl):
289         (WebKit::WebSettingsImpl::defaultTileSize):
290         (WebKit::WebSettingsImpl::maxUntiledLayerSize):
291         * src/WebViewImpl.cpp:
292         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
293
294 2012-05-17  Mark Pilgrim  <pilgrim@chromium.org>
295
296         [Chromium] Move fileUtilities to Platform.h
297         https://bugs.webkit.org/show_bug.cgi?id=86777
298
299         Reviewed by Adam Barth.
300
301         Part of a refactoring series. See tracking bug 82948.
302
303         * WebKit.gyp:
304         * public/WebFileUtilities.h:
305         * public/platform/WebKitPlatformSupport.h:
306         (WebKit):
307         (WebKitPlatformSupport):
308         * src/PlatformSupport.cpp:
309         (WebCore::PlatformSupport::fileExists):
310         (WebCore::PlatformSupport::deleteFile):
311         (WebCore::PlatformSupport::deleteEmptyDirectory):
312         (WebCore::PlatformSupport::getFileSize):
313         (WebCore::PlatformSupport::revealFolderInOS):
314         (WebCore::PlatformSupport::getFileModificationTime):
315         (WebCore::PlatformSupport::directoryName):
316         (WebCore::PlatformSupport::pathByAppendingComponent):
317         (WebCore::PlatformSupport::makeAllDirectories):
318         (WebCore::PlatformSupport::getAbsolutePath):
319         (WebCore::PlatformSupport::isDirectory):
320         (WebCore::PlatformSupport::filePathToURL):
321         (WebCore::PlatformSupport::openFile):
322         (WebCore::PlatformSupport::closeFile):
323         (WebCore::PlatformSupport::seekFile):
324         (WebCore::PlatformSupport::truncateFile):
325         (WebCore::PlatformSupport::readFromFile):
326         (WebCore::PlatformSupport::writeToFile):
327
328 2012-05-17  Joshua Bell  <jsbell@chromium.org>
329
330         IndexedDB: Remove IDBIndex.storeName
331         https://bugs.webkit.org/show_bug.cgi?id=86676
332
333         Reviewed by Tony Chang.
334
335         * public/WebIDBIndex.h:
336         (WebIDBIndex): Can't remove from here until Chromium is updated
337         * src/IDBIndexBackendProxy.cpp: Removed storeName()
338         * src/IDBIndexBackendProxy.h: Removed storeName()
339         (IDBIndexBackendProxy):
340         * src/WebIDBIndexImpl.cpp: Removed storeName()
341         * src/WebIDBIndexImpl.h: Removed storeName()
342         (WebIDBIndexImpl):
343
344 2012-05-17  Joshua Bell  <jsbell@chromium.org>
345
346         IndexedDB: Implement IDBObjectStore.autoIncrement
347         https://bugs.webkit.org/show_bug.cgi?id=86662
348
349         Reviewed by Dimitri Glazkov.
350
351         * src/IDBObjectStoreBackendProxy.cpp:
352         (WebKit::IDBObjectStoreBackendProxy::autoIncrement):
353         (WebKit):
354         * src/IDBObjectStoreBackendProxy.h:
355         (IDBObjectStoreBackendProxy):
356         * src/WebIDBObjectStoreImpl.cpp:
357         (WebKit::WebIDBObjectStoreImpl::autoIncrement):
358         (WebKit):
359         * src/WebIDBObjectStoreImpl.h:
360         (WebIDBObjectStoreImpl):
361
362 2012-05-17  Mikhail Naganov  <mnaganov@chromium.org>
363
364         Support Copy ... actions for the Web Inspector remote debugging mode.
365         https://bugs.webkit.org/show_bug.cgi?id=86621
366
367         Reviewed by Pavel Feldman.
368
369         * src/js/DevTools.js:
370         (WebInspector.clipboardAccessDeniedMessage):
371
372 2012-05-17  Hironori Bono  <hbono@chromium.org>
373
374         [Refactoring] Move platform-specific code in Editor::respondToChangedSelection to the WebKit layer
375         https://bugs.webkit.org/show_bug.cgi?id=86591
376
377         Reviewed by Ryosuke Niwa.
378
379         This change adds a TextCheckerClient::shouldEraseMarkersAfterChangeSelection
380         function to remove platform-specific code from Editor::respondToChangedSelection
381         function.
382
383         No new tests, no change in behavior.
384
385         * src/EditorClientImpl.cpp:
386         (WebKit::EditorClientImpl::shouldEraseMarkersAfterChangeSelection):
387         (WebKit):
388         * src/EditorClientImpl.h:
389         (EditorClientImpl):
390
391 2012-05-11  James Robinson  <jamesr@chromium.org>
392
393         [chromium] Convert GraphicsLayerChromium to use WebLayer types
394         https://bugs.webkit.org/show_bug.cgi?id=86269
395
396         Reviewed by Adrienne Walker.
397
398         * WebKit.gyp:
399         * src/WebContentLayer.cpp:
400         (WebKit::WebContentLayer::clearClient):
401         (WebKit):
402         (WebKit::WebContentLayer::setDrawsContent):
403         (WebKit::WebContentLayer::drawsContent):
404         (WebKit::WebContentLayer::WebContentLayer):
405         (WebKit::WebContentLayer::operator=):
406         (WebKit::WebContentLayer::operator PassRefPtr<ContentLayerChromium>):
407         * src/WebContentLayerImpl.cpp:
408         * src/WebContentLayerImpl.h:
409         (WebContentLayerImpl):
410         * src/WebLayer.cpp:
411         (WebKit::WebLayer::setSublayerTransform):
412         (WebKit):
413         (WebKit::WebLayer::setTransform):
414         (WebKit::WebLayer::setIsDrawable):
415         (WebKit::WebLayer::setPreserves3D):
416         (WebKit::WebLayer::setDoubleSided):
417         (WebKit::WebLayer::setBackgroundColor):
418         (WebKit::WebLayer::setContentsScale):
419         * tests/ImageLayerChromiumTest.cpp:
420         (WebCore::TEST):
421
422 2012-05-17  Dan Bernstein  <mitz@apple.com>
423
424         REGRESSION (r117428): WebKit API/SPI was removed
425         https://bugs.webkit.org/show_bug.cgi?id=86748
426
427         Reverted r117428.
428
429         * public/WebView.h:
430         * src/WebViewImpl.cpp:
431         (WebKit::WebViewImpl::setDomainRelaxationForbidden):
432         (WebKit):
433         * src/WebViewImpl.h:
434         (WebViewImpl):
435
436 2012-05-17  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
437
438         Convert setDomainRelaxationForbiddenForURLScheme to use InternalSettings interface
439         https://bugs.webkit.org/show_bug.cgi?id=86704
440
441         Reviewed by Eric Seidel.
442
443         Remove setDomainRelaxationForbiddenForURLScheme functions, because it is able to work in the
444         cross-port way through the InternalSettings interface.
445
446         * public/WebView.h:
447         * src/WebViewImpl.cpp:
448         * src/WebViewImpl.h:
449         (WebViewImpl):
450
451 2012-05-17  MORITA Hajime  <morrita@google.com>
452
453         Unreviewed attempt to fix a Windows build breakage.
454
455         * public/WebIntent.h:
456         (WebIntent):
457
458 2012-05-16  Sheriff Bot  <webkit.review.bot@gmail.com>
459
460         Unreviewed, rolling out r117396.
461         http://trac.webkit.org/changeset/117396
462         https://bugs.webkit.org/show_bug.cgi?id=86709
463
464         "breaks chromium tree" (Requested by morrita on #webkit).
465
466         * WebKit.gyp:
467         * public/WebTextInputInfo.h: Removed.
468         * public/WebTextInputType.h:
469         * public/WebWidget.h:
470         (WebKit::WebWidget::textInputType):
471         * src/WebTextInputInfo.cpp: Removed.
472         * src/WebViewImpl.cpp:
473         (WebKit::WebViewImpl::textInputType):
474         * src/WebViewImpl.h:
475         (WebViewImpl):
476
477 2012-05-16  Hao Zheng  <zhenghao@chromium.org>
478
479         [chromium] Get text direction at the start and end of selection.
480         https://bugs.webkit.org/show_bug.cgi?id=86573
481
482         Reviewed by Adam Barth.
483
484         Add an interface to get text direction at the start and end of
485         selection for Android, as on Android different selection delimiters
486         are needed for RTL text. Unlike other platforms, the start and end
487         delimiters of selection are different, so we need determine the shape
488         of delimiter based on text direction.
489
490         * public/WebWidget.h:
491         (WebWidget):
492         (WebKit::WebWidget::selectionTextDirection):
493         * src/WebViewImpl.cpp:
494         (WebKit):
495         (WebKit::WebViewImpl::selectionTextDirection):
496         * src/WebViewImpl.h:
497         (WebViewImpl):
498
499 2012-05-16  Adam Barth  <abarth@webkit.org>
500
501         [Chromium] Implement WebViewImpl::textInputInfo() for Android
502         https://bugs.webkit.org/show_bug.cgi?id=86440
503
504         Reviewed by Darin Fisher.
505
506         This patch adds WebView::textInputInfo(), which describes the text
507         input that currently has focus.  Android is planning to use this to
508         determine what sort of keyboard or text entry UI to show.  This API
509         subsumes the textInputType() API, which will be removed once the
510         clients have been updated.
511
512         * WebKit.gyp:
513         * public/WebTextInputInfo.h: Added.
514         (WebKit):
515         (WebTextInputInfo):
516         (WebKit::WebTextInputInfo::WebTextInputInfo):
517         (WebKit::operator==):
518         (WebKit::operator!=):
519         * public/WebTextInputType.h:
520         * public/WebWidget.h:
521         (WebWidget):
522         (WebKit::WebWidget::textInputInfo):
523         (WebKit::WebWidget::textInputType):
524         * src/WebViewImpl.cpp:
525         (WebKit::WebViewImpl::textInputInfo):
526         (WebKit):
527         (WebKit::WebViewImpl::textInputType):
528         * src/WebViewImpl.h:
529         (WebViewImpl):
530
531 2012-05-16  Greg Billock  <gbillock@google.com>
532
533         IDL and implementation for Web Intents delivery
534         https://bugs.webkit.org/show_bug.cgi?id=83634
535
536         Reviewed by Adam Barth.
537
538         The embedder will implement the WebDeliveredIntentClient interface, which
539         will get notifications of postResult/postFailure from the service page.
540
541         * public/WebDeliveredIntentClient.h:
542         * public/WebFrame.h:
543         (WebKit):
544         (WebFrame):
545         * src/WebDeliveredIntentClient.cpp:
546         * src/WebFrameImpl.cpp:
547         (WebKit::WebFrameImpl::deliverIntent):
548         (WebKit):
549         * src/WebFrameImpl.h:
550         (WebFrameImpl):
551
552 2012-05-16  James Robinson  <jamesr@chromium.org>
553
554         GraphicsContext3D interface should not be aware of CanvasRenderingContext
555         https://bugs.webkit.org/show_bug.cgi?id=86550
556
557         Reviewed by Darin Adler.
558
559         Updates chromium implementation of GraphicsContext3D for API change and removes a bunch of unnecessary
560         #includes.
561
562         * src/GraphicsContext3DChromium.cpp:
563         (WebCore::GraphicsContext3DPrivate::paintRenderingResultsToCanvas):
564         (WebCore::GraphicsContext3DPrivate::paintCompositedResultsToCanvas):
565         (WebCore::GraphicsContext3D::paintRenderingResultsToCanvas):
566         * src/GraphicsContext3DPrivate.h:
567         (GraphicsContext3DPrivate):
568
569 2012-05-16  Joshua Bell  <jsbell@chromium.org>
570
571         [Chromium] IndexedDB: WebKit API for IDBObjectStore.autoIncrement property
572         https://bugs.webkit.org/show_bug.cgi?id=86661
573
574         Reviewed by Dimitri Glazkov.
575
576         * public/WebIDBObjectStore.h:
577         (WebKit::WebIDBObjectStore::autoIncrement):
578
579 2012-05-16  Varun Jain  <varunjain@google.com>
580
581         [chromium] No modifier flags (shift/ctrl/alt) in drag&drop events on chromium linux
582         https://bugs.webkit.org/show_bug.cgi?id=86236
583
584         Reviewed by Tony Chang.
585
586         * public/WebView.h:
587         (WebView):
588         * src/WebViewImpl.cpp:
589         (WebKit::webInputEventKeyStateToPlatformEventKeyState):
590         (WebKit):
591         (WebKit::WebViewImpl::dragTargetDragEnter):
592         (WebKit::WebViewImpl::dragTargetDragOver):
593         (WebKit::WebViewImpl::dragTargetDrop):
594         (WebKit::WebViewImpl::dragTargetDragEnterOrOver):
595         * src/WebViewImpl.h:
596         (WebViewImpl):
597
598 2012-05-16  Yury Semikhatsky  <yurys@chromium.org>
599
600         [Chromium] Web Inspector: DevToolsSanityTest.TestScriptsTabIsPopulatedOnInspectedPageRefresh is broken
601         https://bugs.webkit.org/show_bug.cgi?id=86629
602
603         Reviewed by Pavel Feldman.
604
605         Listen to DebuggerModel instead of DebuggerPresentationModel which is gone.
606
607         * src/js/Tests.js:
608         (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.waitUntilScriptIsParsed):
609
610 2012-05-16  Yury Semikhatsky  <yurys@chromium.org>
611
612         [Chromium] Web Inspector: debugger browser tests are broken
613         https://bugs.webkit.org/show_bug.cgi?id=86624
614
615         Reviewed by Vsevolod Vlasov.
616
617         Use WebInspector.panels.scripts._scriptMapping instead of
618         WebInspector.panels.scripts._presentationModel as the latter
619         has been deleted.
620
621         * src/js/Tests.js:
622         (.TestSuite.prototype.nonAnonymousUISourceCodes_):
623
624 2012-05-16  Keishi Hattori  <keishi@webkit.org>
625
626         [chromium] Add WebKit API to access inner text value of input element
627         https://bugs.webkit.org/show_bug.cgi?id=85353
628
629         Reviewed by Kent Tamura.
630
631         * public/WebInputElement.h:
632         (WebInputElement):
633         * src/WebInputElement.cpp:
634         (WebKit::WebInputElement::editingValue):
635         (WebKit):
636         (WebKit::WebInputElement::setEditingValue):
637
638 2012-05-16  Hans Wennborg  <hans@chromium.org>
639
640         Speech JavaScript API: pass WebSecurityOrigin to embedder
641         https://bugs.webkit.org/show_bug.cgi?id=86348
642
643         Reviewed by Adam Barth.
644
645         Pass the WebSecurityOrigin of the SpeecReco object to the embedder when calling
646         start(). The origin will be used to determine whether speech recognition is
647         allowed or not.
648
649         * public/WebSpeechRecognitionParams.h:
650         (WebKit::WebSpeechRecognitionParams::WebSpeechRecognitionParams):
651         (WebKit::WebSpeechRecognitionParams::origin):
652         (WebSpeechRecognitionParams):
653         * src/SpeechRecognitionClientProxy.cpp:
654         (WebKit::SpeechRecognitionClientProxy::start):
655
656 2012-05-15  Tien-Ren Chen  <trchen@chromium.org>
657
658         [Chromium] CCTimer::isActive() is incorrect inside tick callback
659         https://bugs.webkit.org/show_bug.cgi?id=86513
660
661         Update test cases to verify CCTimer::isActive() values.
662
663         Reviewed by James Robinson.
664
665         * tests/CCTimerTest.cpp:
666         (WebKitTests::TEST_F):
667
668 2012-05-15  Sheriff Bot  <webkit.review.bot@gmail.com>
669
670         Unreviewed, rolling out r117204.
671         http://trac.webkit.org/changeset/117204
672         https://bugs.webkit.org/show_bug.cgi?id=86559
673
674         causing win compilation failures (Requested by pilgrim_google_
675         on #webkit).
676
677         * WebKit.gyp:
678         * public/WebMessagePortChannel.h:
679         (WebKit):
680         (WebMessagePortChannel):
681         (WebKit::WebMessagePortChannel::~WebMessagePortChannel):
682         * public/platform/WebKitPlatformSupport.h:
683         (WebKit):
684         (WebKitPlatformSupport):
685         (WebKit::WebKitPlatformSupport::createMessagePortChannel):
686         * src/PlatformMessagePortChannel.cpp:
687         (WebCore::PlatformMessagePortChannel::PlatformMessagePortChannel):
688         * src/PlatformMessagePortChannel.h:
689         * src/SharedWorkerRepository.cpp:
690         * src/WebSharedWorkerImpl.cpp:
691         * src/WebWorkerClientImpl.cpp:
692
693 2012-05-15  Shinya Kawanaka  <shinyak@chromium.org>
694
695         Rename Node::shadowTreeRootNode() to Node::shadowRoot()
696         https://bugs.webkit.org/show_bug.cgi?id=86449
697
698         Reviewed by Darin Adler.
699
700         * src/WebFrameImpl.cpp:
701         (WebKit::WebFrameImpl::scopeStringMatches):
702
703 2012-05-15  Mark Pilgrim  <pilgrim@chromium.org>
704
705         [Chromium] Move createMessagePortChannel to Platform.h
706         https://bugs.webkit.org/show_bug.cgi?id=85764
707
708         Reviewed by Adam Barth.
709
710         Part of a refactoring series. See tracking bug 82948.
711
712         * WebKit.gyp:
713         * public/WebMessagePortChannel.h:
714         * public/platform/WebKitPlatformSupport.h:
715         (WebKit):
716         (WebKit::WebKitPlatformSupport::injectIDBKeyIntoSerializedValue):
717         * src/PlatformMessagePortChannel.cpp:
718         (WebCore::PlatformMessagePortChannel::PlatformMessagePortChannel):
719         * src/PlatformMessagePortChannel.h:
720         * src/SharedWorkerRepository.cpp:
721         * src/WebSharedWorkerImpl.cpp:
722         * src/WebWorkerClientImpl.cpp:
723
724 2012-05-15  Fady Samuel  <fsamuel@chromium.org>
725
726         [Chromium] Reset ScriptInstance in HTMLPlugInElement on WebPluginContainerImpl::setPlugin
727         https://bugs.webkit.org/show_bug.cgi?id=86535
728
729         Reviewed by Darin Fisher.
730
731         * src/WebPluginContainerImpl.cpp:
732         (WebKit::WebPluginContainerImpl::setPlugin):
733         (WebKit):
734         * src/WebPluginContainerImpl.h:
735         (WebPluginContainerImpl):
736
737 2012-05-15  Mark Pilgrim  <pilgrim@chromium.org>
738
739         [Chromium] Move blobRegistry to Platform.h
740         https://bugs.webkit.org/show_bug.cgi?id=85765
741
742         Reviewed by Adam Barth.
743
744         Part of a refactoring series. See tracking bug 82948.
745
746         * WebKit.gyp:
747         * public/platform/WebBlobData.h:
748         * public/platform/WebBlobRegistry.h:
749         * public/platform/WebKitPlatformSupport.h:
750         (WebKit):
751         (WebKit::WebKitPlatformSupport::cookieJar):
752         * src/BlobRegistryProxy.cpp:
753         (WebCore::BlobRegistryProxy::BlobRegistryProxy):
754         * src/WebBlobData.cpp:
755
756 2012-05-15  Kausalya Madhusudhanan  <kmadhusu@chromium.org>
757
758         [chromium] Overloaded printBegin() function to support auto fit to page functionality.
759         https://bugs.webkit.org/show_bug.cgi?id=84312
760
761         Reviewed by Darin Fisher.
762
763         * WebKit.gyp:
764         * public/WebFrame.h:
765         (WebKit):
766         (WebFrame):
767         * public/WebPlugin.h:
768         (WebKit):
769         (WebPlugin):
770         (WebKit::WebPlugin::printBegin):
771         * public/WebPrintParams.h: Added.
772         (WebKit):
773         (WebPrintParams):
774         (WebKit::WebPrintParams::WebPrintParams):
775         * src/WebFrameImpl.cpp:
776         (WebKit::ChromePluginPrintContext::ChromePluginPrintContext):
777         (WebKit::ChromePluginPrintContext::computePageRects):
778         (ChromePluginPrintContext):
779         (WebKit):
780         (WebKit::WebFrameImpl::printBegin):
781         * src/WebFrameImpl.h:
782         (WebKit):
783         (WebFrameImpl):
784         * src/WebPluginContainerImpl.cpp:
785         (WebKit::WebPluginContainerImpl::printBegin):
786         * src/WebPluginContainerImpl.h:
787         (WebKit):
788         (WebPluginContainerImpl):
789
790 2012-05-15  Shawn Singh  <shawnsingh@chromium.org>
791
792         [chromium] Add unit testing to WebTransformationMatrix
793         https://bugs.webkit.org/show_bug.cgi?id=86421
794
795         Reviewed by Adrienne Walker.
796
797         * WebKit.gypi:
798         * tests/WebTransformationMatrixTest.cpp: Added.
799         (WebKit):
800         (WebKit::printTransform):
801         (WebKit::initializeTestMatrix):
802         (WebKit::initializeTestMatrix2):
803         (WebKit::TEST):
804
805 2012-05-15  James Robinson  <jamesr@chromium.org>
806
807         [chromium] Chromium port never sets USE(CG) so code behind it is dead
808         https://bugs.webkit.org/show_bug.cgi?id=86537
809
810         Reviewed by Adrienne Walker.
811
812         Deletes code behind USE(CG) in chromium-specific code and removes unneeded USE(SKIA) guards.
813
814         * src/GraphicsContext3DChromium.cpp:
815         (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
816         (WebCore::GraphicsContext3DPrivate::~GraphicsContext3DPrivate):
817         (WebCore::GraphicsContext3DPrivate::grContext):
818         (WebCore::GraphicsContext3DPrivate::paintFramebufferToCanvas):
819         (WebCore::GraphicsContext3D::grContext):
820         * src/GraphicsContext3DPrivate.h:
821         (GraphicsContext3DPrivate):
822         * src/PlatformSupport.cpp:
823         * src/WebViewImpl.cpp:
824         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
825
826 2012-05-15  Anders Carlsson  <andersca@apple.com>
827
828         Set the new PlatformWheelEvent member variables to sane defaults
829         https://bugs.webkit.org/show_bug.cgi?id=86542
830
831         Reviewed by Andreas Kling.
832
833         * src/WebInputEventConversion.cpp:
834         (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder):
835
836 2012-05-15  Ian Vollick  <vollick@chromium.org>
837
838         [chromium] Ensure animations get ticked at least once when added.
839         https://bugs.webkit.org/show_bug.cgi?id=86013
840
841         Reviewed by James Robinson.
842
843         * tests/CCLayerTreeHostTest.cpp:
844         (WTF::CCLayerTreeHostTestTickAnimationWhileBackgrounded::animateLayers):
845         (WTF):
846
847 2012-05-15  Alexandre Elias  <aelias@google.com>
848
849         [chromium] Fix unsafe viewport tag dispatch
850         https://bugs.webkit.org/show_bug.cgi?id=80554
851
852         Reviewed by Adam Barth.
853
854         In some uncommon situations (such as window.open() new tab on
855         Android), dispatchViewportPropertiesDidChange may early-return without
856         setting the page scale because the window size is not yet
857         available from the embedder.  At that point, the previous behavior was
858         to call it again in layoutUpdated(), but this is unsafe since it
859         leaves a pending needsLayout.
860
861         I moved the dispatch call into WebViewImpl::didChangeContentsSize and
862         WebViewImpl::resize() instead -- these represent more explicitly the
863         situations where the inputs to the viewport tag calculation change.  I
864         removed the other dispatch call from setFrameRect as it's now
865         redundant.
866
867         Covered by FixedLayoutInitializeAtMinimumPageScale test introduced
868         in http://webk.it/82949 (an assertion will fire there without
869         this fix).
870
871         * src/ChromeClientImpl.cpp:
872         (WebKit::ChromeClientImpl::layoutUpdated):
873         (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
874         * src/WebViewImpl.cpp:
875         (WebKit::WebViewImpl::resize):
876         (WebKit::WebViewImpl::didChangeContentsSize):
877
878 2012-05-15  James Robinson  <jamesr@chromium.org>
879
880         [chromium] Move createOffscreenGraphicsContext3D() from WebKitPlatformSupport to Platform
881         https://bugs.webkit.org/show_bug.cgi?id=86524
882
883         Reviewed by Adam Barth.
884
885         Moves createOffscreenGraphicsContext3D() out (to WebKit::Platform) and updates GraphicsContext3DChromium to use
886         the new location. Also removes a few unnecessary includes from GraphicsContext3DChromium.cpp.
887
888         * public/platform/WebKitPlatformSupport.h:
889         (WebKitPlatformSupport):
890         * src/GraphicsContext3DChromium.cpp:
891         (WebCore::GraphicsContext3D::create):
892
893 2012-05-15  Terry Anderson  <tdanderson@chromium.org>
894
895         [chromium] Compute the best target node on a GestureTap event
896         https://bugs.webkit.org/show_bug.cgi?id=85101
897
898         Reviewed by Adam Barth.
899
900         * features.gypi:
901         Enable the touch adjustment code by default.
902         * src/WebInputEventConversion.cpp:
903         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
904         In the case of a GestureTap, deltaX represents the horizontal padding of the touch
905         area and deltaY represents the vertical padding of the touch area.
906
907 2012-05-15  James Robinson  <jamesr@chromium.org>
908
909         Unreviewed, rolling out r116811.
910         http://trac.webkit.org/changeset/116811
911         https://bugs.webkit.org/show_bug.cgi?id=86257
912
913         Introduced layering violation
914
915         * WebKit.gyp:
916         * src/Extensions3DChromium.cpp: Renamed from Source/WebCore/platform/chromium/support/Extensions3DChromium.cpp.
917         (WebCore):
918         (WebCore::Extensions3DChromium::Extensions3DChromium):
919         (WebCore::Extensions3DChromium::~Extensions3DChromium):
920         (WebCore::Extensions3DChromium::supports):
921         (WebCore::Extensions3DChromium::ensureEnabled):
922         (WebCore::Extensions3DChromium::isEnabled):
923         (WebCore::Extensions3DChromium::getGraphicsResetStatusARB):
924         (WebCore::Extensions3DChromium::blitFramebuffer):
925         (WebCore::Extensions3DChromium::renderbufferStorageMultisample):
926         (WebCore::Extensions3DChromium::postSubBufferCHROMIUM):
927         (WebCore::Extensions3DChromium::mapBufferSubDataCHROMIUM):
928         (WebCore::Extensions3DChromium::unmapBufferSubDataCHROMIUM):
929         (WebCore::Extensions3DChromium::mapTexSubImage2DCHROMIUM):
930         (WebCore::Extensions3DChromium::unmapTexSubImage2DCHROMIUM):
931         (WebCore::Extensions3DChromium::setVisibilityCHROMIUM):
932         (WebCore::Extensions3DChromium::discardFramebufferEXT):
933         (WebCore::Extensions3DChromium::ensureFramebufferCHROMIUM):
934         (WebCore::Extensions3DChromium::setGpuMemoryAllocationChangedCallbackCHROMIUM):
935         (WebCore::Extensions3DChromium::createVertexArrayOES):
936         (WebCore::Extensions3DChromium::deleteVertexArrayOES):
937         (WebCore::Extensions3DChromium::isVertexArrayOES):
938         (WebCore::Extensions3DChromium::bindVertexArrayOES):
939         (WebCore::Extensions3DChromium::getTranslatedShaderSourceANGLE):
940         (WebCore::Extensions3DChromium::setSwapBuffersCompleteCallbackCHROMIUM):
941         (WebCore::Extensions3DChromium::rateLimitOffscreenContextCHROMIUM):
942         (WebCore::Extensions3DChromium::paintFramebufferToCanvas):
943         (WebCore::Extensions3DChromium::texImageIOSurface2DCHROMIUM):
944         (WebCore::Extensions3DChromium::texStorage2DEXT):
945         (WebCore::Extensions3DChromium::createQueryEXT):
946         (WebCore::Extensions3DChromium::deleteQueryEXT):
947         (WebCore::Extensions3DChromium::isQueryEXT):
948         (WebCore::Extensions3DChromium::beginQueryEXT):
949         (WebCore::Extensions3DChromium::endQueryEXT):
950         (WebCore::Extensions3DChromium::getQueryivEXT):
951         (WebCore::Extensions3DChromium::getQueryObjectuivEXT):
952         * src/GraphicsContext3DChromium.cpp: Renamed from Source/WebCore/platform/chromium/support/GraphicsContext3DChromium.cpp.
953         (WebCore):
954         (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
955         (WebCore::GraphicsContext3DPrivate::~GraphicsContext3DPrivate):
956         (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
957         (WebCore::GraphicsContext3DPrivate::extractWebGraphicsContext3D):
958         (WebCore::GraphicsContext3DPrivate::platformGraphicsContext3D):
959         (WebCore::GraphicsContext3DPrivate::platformTexture):
960         (GrMemoryAllocationChangedCallback):
961         (WebCore::GrMemoryAllocationChangedCallback::GrMemoryAllocationChangedCallback):
962         (WebCore::GrMemoryAllocationChangedCallback::onGpuMemoryAllocationChanged):
963         (WebCore::GraphicsContext3DPrivate::grContext):
964         (WebCore::GraphicsContext3DPrivate::prepareTexture):
965         (WebCore::GraphicsContext3DPrivate::markContextChanged):
966         (WebCore::GraphicsContext3DPrivate::markLayerComposited):
967         (WebCore::GraphicsContext3DPrivate::layerComposited):
968         (WebCore::GraphicsContext3DPrivate::paintFramebufferToCanvas):
969         (WebCore::GraphicsContext3DPrivate::paintRenderingResultsToCanvas):
970         (WebCore::GraphicsContext3DPrivate::paintCompositedResultsToCanvas):
971         (WebCore::GraphicsContext3DPrivate::paintRenderingResultsToImageData):
972         (WebCore::GraphicsContext3DPrivate::reshape):
973         (WebCore::GraphicsContext3DPrivate::getInternalFramebufferSize):
974         (WebCore::GraphicsContext3DPrivate::isContextLost):
975         (WebCore::GraphicsContext3DPrivate::isGLES2Compliant):
976         (WebCore::GraphicsContext3DPrivate::bindAttribLocation):
977         (WebCore::GraphicsContext3DPrivate::bufferData):
978         (WebCore::GraphicsContext3DPrivate::bufferSubData):
979         (WebCore::GraphicsContext3DPrivate::getActiveAttrib):
980         (WebCore::GraphicsContext3DPrivate::getActiveUniform):
981         (WebCore::GraphicsContext3DPrivate::getAttribLocation):
982         (WebCore::GraphicsContext3DPrivate::getContextAttributes):
983         (WebCore::GraphicsContext3DPrivate::getProgramInfoLog):
984         (WebCore::GraphicsContext3DPrivate::getShaderInfoLog):
985         (WebCore::GraphicsContext3DPrivate::getShaderSource):
986         (WebCore::GraphicsContext3DPrivate::getString):
987         (WebCore::GraphicsContext3DPrivate::getUniformLocation):
988         (WebCore::GraphicsContext3DPrivate::shaderSource):
989         (WebCore::GraphicsContext3DPrivate::texImage2D):
990         (WebCore::GraphicsContext3DPrivate::texSubImage2D):
991         (WebCore::GraphicsContext3DPrivate::uniform1fv):
992         (WebCore::GraphicsContext3DPrivate::uniform1iv):
993         (WebCore::GraphicsContext3DPrivate::uniform2fv):
994         (WebCore::GraphicsContext3DPrivate::uniform2iv):
995         (WebCore::GraphicsContext3DPrivate::uniform3fv):
996         (WebCore::GraphicsContext3DPrivate::uniform3iv):
997         (WebCore::GraphicsContext3DPrivate::uniform4fv):
998         (WebCore::GraphicsContext3DPrivate::uniform4iv):
999         (WebCore::GraphicsContext3DPrivate::uniformMatrix2fv):
1000         (WebCore::GraphicsContext3DPrivate::uniformMatrix3fv):
1001         (WebCore::GraphicsContext3DPrivate::uniformMatrix4fv):
1002         (WebCore::GraphicsContext3DPrivate::getExtensions):
1003         (WebCore::GraphicsContext3DPrivate::isResourceSafe):
1004         (WebCore::GraphicsContext3DPrivate::initializeExtensions):
1005         (WebCore::GraphicsContext3DPrivate::supportsExtension):
1006         (WebCore::GraphicsContext3DPrivate::ensureExtensionEnabled):
1007         (WebCore::GraphicsContext3DPrivate::isExtensionEnabled):
1008         (WebCore::GraphicsContext3D::GraphicsContext3D):
1009         (WebCore::GraphicsContext3D::~GraphicsContext3D):
1010         (WebCore::GraphicsContext3D::create):
1011         (WebCore::GraphicsContext3D::platformGraphicsContext3D):
1012         (WebCore::GraphicsContext3D::platformTexture):
1013         (WebCore::GraphicsContext3D::grContext):
1014         (WebCore::GraphicsContext3D::prepareTexture):
1015         (WebCore::GraphicsContext3D::getInternalFramebufferSize):
1016         (WebCore::GraphicsContext3D::isResourceSafe):
1017         (WebCore::GraphicsContext3D::platformLayer):
1018         (WebCore::GraphicsContext3D::layerComposited):
1019         (WebCore::GraphicsContext3D::paintRenderingResultsToCanvas):
1020         (WebCore::GraphicsContext3D::paintRenderingResultsToImageData):
1021         (GraphicsContextLostCallbackAdapter):
1022         (WebCore::GraphicsContextLostCallbackAdapter::~GraphicsContextLostCallbackAdapter):
1023         (WebCore::GraphicsContextLostCallbackAdapter::GraphicsContextLostCallbackAdapter):
1024         (WebCore::GraphicsContextLostCallbackAdapter::onContextLost):
1025         (WebCore::GraphicsContextLostCallbackAdapter::create):
1026         (WebCore::GraphicsContext3DPrivate::setContextLostCallback):
1027         (GraphicsErrorMessageCallbackAdapter):
1028         (WebCore::GraphicsErrorMessageCallbackAdapter::~GraphicsErrorMessageCallbackAdapter):
1029         (WebCore::GraphicsErrorMessageCallbackAdapter::GraphicsErrorMessageCallbackAdapter):
1030         (WebCore::GraphicsErrorMessageCallbackAdapter::onErrorMessage):
1031         (WebCore::GraphicsErrorMessageCallbackAdapter::create):
1032         (WebCore::GraphicsContext3DPrivate::setErrorMessageCallback):
1033         (WebCore::GraphicsContext3D::isGLES2Compliant):
1034         (GraphicsContext3DSwapBuffersCompleteCallbackAdapter):
1035         (WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::~GraphicsContext3DSwapBuffersCompleteCallbackAdapter):
1036         (WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::GraphicsContext3DSwapBuffersCompleteCallbackAdapter):
1037         (WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::onSwapBuffersComplete):
1038         (WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::create):
1039         (WebCore::GraphicsContext3DPrivate::setSwapBuffersCompleteCallbackCHROMIUM):
1040         (GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
1041         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
1042         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::~GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
1043         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::onMemoryAllocationChanged):
1044         (WebCore::GraphicsContext3DPrivate::setGpuMemoryAllocationChangedCallbackCHROMIUM):
1045         * src/GraphicsContext3DPrivate.h: Renamed from Source/WebCore/platform/chromium/support/GraphicsContext3DPrivate.h.
1046         (WebKit):
1047         (WebCore):
1048         (GraphicsContext3DPrivate):
1049
1050 2012-05-15  Sheriff Bot  <webkit.review.bot@gmail.com>
1051
1052         Unreviewed, rolling out r116712.
1053         http://trac.webkit.org/changeset/116712
1054         https://bugs.webkit.org/show_bug.cgi?id=86484
1055
1056         This patch is causing crashes in Chromium Canary builds
1057         (Requested by pilgrim_google__ on #webkit).
1058
1059         * WebKit.gyp:
1060         * public/WebStorageArea.h:
1061         (WebKit):
1062         * public/WebStorageEventDispatcher.h:
1063         (WebStorageEventDispatcher):
1064         (WebKit::WebStorageEventDispatcher::~WebStorageEventDispatcher):
1065         * public/WebStorageNamespace.h:
1066         (WebStorageNamespace):
1067         (WebKit::WebStorageNamespace::close):
1068         * public/platform/WebKitPlatformSupport.h:
1069         (WebKitPlatformSupport):
1070         (WebKit::WebKitPlatformSupport::dispatchStorageEvent):
1071         * src/StorageAreaProxy.cpp:
1072         (WebCore::StorageAreaProxy::setItem):
1073         (WebCore::StorageAreaProxy::removeItem):
1074         (WebCore::StorageAreaProxy::clear):
1075         (WebCore):
1076         (WebCore::StorageAreaProxy::storageEvent):
1077         (WebCore::StorageAreaProxy::dispatchLocalStorageEvent):
1078         (WebCore::findPageWithSessionStorageNamespace):
1079         (WebCore::StorageAreaProxy::dispatchSessionStorageEvent):
1080         * src/StorageAreaProxy.h:
1081         (WebCore):
1082         (StorageAreaProxy):
1083         * src/StorageEventDispatcherImpl.cpp: Added.
1084         (WebCore):
1085         (WebCore::StorageEventDispatcherImpl::StorageEventDispatcherImpl):
1086         (WebCore::StorageEventDispatcherImpl::dispatchStorageEvent):
1087         * src/StorageEventDispatcherImpl.h: Copied from Source/WebKit/chromium/public/WebStorageEventDispatcher.h.
1088         (WebCore):
1089         (StorageEventDispatcherImpl):
1090         * src/WebStorageEventDispatcherImpl.cpp:
1091         (WebKit):
1092         (WebKit::WebStorageEventDispatcher::dispatchLocalStorageEvent):
1093         (WebKit::WebStorageEventDispatcher::dispatchSessionStorageEvent):
1094         (WebKit::WebStorageEventDispatcher::create):
1095         (WebKit::WebStorageEventDispatcherImpl::WebStorageEventDispatcherImpl):
1096         (WebKit::WebStorageEventDispatcherImpl::dispatchStorageEvent):
1097         * src/WebStorageEventDispatcherImpl.h: Copied from Source/WebKit/chromium/public/WebStorageEventDispatcher.h.
1098         (WebKit):
1099         (WebStorageEventDispatcherImpl):
1100         * src/WebViewImpl.cpp:
1101         * src/WebViewImpl.h:
1102         (WebCore):
1103         (WebViewImpl):
1104
1105 2012-05-15  Terry Anderson  <tdanderson@chromium.org>
1106
1107         [chromium] Remove unused code for tap target fuzzing
1108         https://bugs.webkit.org/show_bug.cgi?id=86252
1109
1110         Reviewed by Adam Barth.
1111
1112         * public/WebInputEvent.h:
1113         (WebGestureEvent):
1114         (WebKit::WebGestureEvent::WebGestureEvent):
1115         * src/WebInputEvent.cpp:
1116         (SameSizeAsWebGestureEvent):
1117         * src/WebInputEventConversion.cpp:
1118         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
1119         A rectangular touch region is defined by the touch center and the
1120         delta values only, so gammaX and gammaY are not needed.
1121
1122 2012-05-15  Hans Wennborg  <hans@chromium.org>
1123
1124         Speech JavaScript API: Introduce error code enum in Chromium plumbing
1125         https://bugs.webkit.org/show_bug.cgi?id=86353
1126
1127         Reviewed by Adam Barth.
1128
1129         Introduce an enum for receiving error codes from the embedder.
1130         This enum matches the enum in SpeechRecognitionError.
1131
1132         * public/WebSpeechRecognizerClient.h:
1133         * src/AssertMatchingEnums.cpp:
1134         * src/SpeechRecognitionClientProxy.cpp:
1135         (WebKit::SpeechRecognitionClientProxy::didReceiveError):
1136         * src/SpeechRecognitionClientProxy.h:
1137         (SpeechRecognitionClientProxy):
1138
1139 2012-05-14  Shinya Kawanaka  <shinyak@chromium.org> 
1140
1141         document.execCommand('Indent') in the direct child of ShadowRoot causes a crash.
1142         https://bugs.webkit.org/show_bug.cgi?id=86341
1143
1144         Reviewed by Ryosuke Niwa.
1145
1146         * src/WebRange.cpp:
1147         (WebKit::WebRange::fromDocumentRange):
1148
1149 2012-05-14  Shinya Kawanaka  <shinyak@chromium.org>
1150
1151         Node::shadowTreeRootNode() should return ShadowRoot instead of Node.
1152         https://bugs.webkit.org/show_bug.cgi?id=86428
1153
1154         Reviewed by Hajime Morita.
1155
1156         Adds include directive to build.
1157
1158         * src/WebFrameImpl.cpp:
1159
1160 2012-05-14  Gavin Peters  <gavinp@chromium.org>
1161
1162         Add Prerenderer, PrerenderHandle and a chromium interface for Prerendering.
1163         https://bugs.webkit.org/show_bug.cgi?id=85005
1164
1165         Reviewed by Adam Barth.
1166
1167         The prerender case isn't quite a resource load, and using resource loading to
1168         retrieve them has constrained the API, and unnecessarily complicated the loader.
1169
1170         The new Prerenderer and PrerenderHandle let <link rel=prerender...> elements signal
1171         removal and unload to their platform.
1172
1173         * WebKit.gyp:
1174         * public/WebView.h:
1175         * src/PrerendererClientImpl.cpp: Copied from Source/WebCore/html/LinkRelAttribute.h.
1176         (WebKit):
1177         (WebKit::PrerendererClientImpl::PrerendererClientImpl):
1178         (WebKit::PrerendererClientImpl::willAddPrerender):
1179         * src/PrerendererClientImpl.h: Copied from Source/WebCore/html/LinkRelAttribute.h.
1180         (WebCore):
1181         (WebKit):
1182         (PrerendererClientImpl):
1183         * src/WebKit.cpp:
1184         (WebKit::shutdown):
1185         * src/WebViewImpl.cpp:
1186         (WebKit::WebViewImpl::setPrerendererClient):
1187         (WebKit):
1188         * src/WebViewImpl.h:
1189         (WebKit):
1190         (WebViewImpl):
1191
1192 2012-05-14  Luke Macpherson  <macpherson@chromium.org>
1193
1194         Introduce ENABLE_CSS_VARIABLES compile flag.
1195         https://bugs.webkit.org/show_bug.cgi?id=86338
1196
1197         Reviewed by Dimitri Glazkov.
1198
1199         Add a configuration option for CSS Variables support, disabling it by default.
1200
1201         * features.gypi:
1202
1203 2012-05-14  Gavin Peters  <gavinp@chromium.org>
1204
1205         [Chromium] remove skia/third_party/glu from DEPS
1206         https://bugs.webkit.org/show_bug.cgi?id=86431
1207
1208         Chromium rev 136872 removed skia/third_party/glu, but nobody updated it in WebKit.  This
1209         patch fixes that.
1210
1211         Unreviewed, remove bad Chromium repo.
1212
1213         * DEPS:
1214
1215 2012-05-14  Dirk Pranke <dpranke@chromium.org>
1216
1217         Unreviewed, roll Chromium DEPS to r136942.
1218
1219 2012-05-14  Adam Barth  <abarth@webkit.org>
1220
1221         [Chromium] android/WebInputEventFactory should handle wheel events and gesture events
1222         https://bugs.webkit.org/show_bug.cgi?id=86270
1223
1224         Reviewed by Eric Seidel.
1225
1226         * public/android/WebInputEventFactory.h:
1227         * src/android/WebInputEventFactory.cpp:
1228         (WebKit::WebInputEventFactory::keyboardEvent):
1229         (WebKit::WebInputEventFactory::mouseEvent):
1230         (WebKit):
1231         (WebKit::WebInputEventFactory::mouseWheelEvent):
1232         (WebKit::WebInputEventFactory::gestureEvent):
1233
1234 2012-05-14  Sheriff Bot  <webkit.review.bot@gmail.com>
1235
1236         Unreviewed, rolling out r116983.
1237         http://trac.webkit.org/changeset/116983
1238         https://bugs.webkit.org/show_bug.cgi?id=86397
1239
1240         Does not compile on chromium-win (Requested by abarth on
1241         #webkit).
1242
1243         * features.gypi:
1244         * src/WebInputEventConversion.cpp:
1245         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
1246
1247 2012-05-14  Terry Anderson  <tdanderson@chromium.org>
1248
1249         [chromium] Compute the best target node on a GestureTap event
1250         https://bugs.webkit.org/show_bug.cgi?id=85101
1251
1252         Reviewed by Adam Barth.
1253
1254         * features.gypi:
1255         Enable the touch adjustment code by default.
1256         * src/WebInputEventConversion.cpp:
1257         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
1258         In the case of a GestureTap, deltaX represents the horizontal padding of the touch
1259         area and deltaY represents the vertical padding of the touch area.
1260
1261 2012-05-14  Adrienne Walker  <enne@google.com>
1262
1263         [chromium] Add compositor debug asserts for blocked main thread
1264         https://bugs.webkit.org/show_bug.cgi?id=86384
1265
1266         Reviewed by James Robinson.
1267
1268         For tests that are just on the impl tree, pretend that the main thread
1269         is always blocked.
1270
1271         * tests/CCLayerTreeHostImplTest.cpp:
1272         (CCLayerTreeHostImplTest):
1273
1274 2012-05-12  Sheriff Bot  <webkit.review.bot@gmail.com>
1275
1276         Unreviewed, rolling out r116812.
1277         http://trac.webkit.org/changeset/116812
1278         https://bugs.webkit.org/show_bug.cgi?id=86313
1279
1280         Appears to be causing a top crash (Requested by abarth on
1281         #webkit).
1282
1283         * WebKit.gyp:
1284         * public/WebStorageArea.h:
1285         (WebKit):
1286         (WebStorageArea):
1287         (WebKit::WebStorageArea::~WebStorageArea):
1288         (WebKit::WebStorageArea::setItem):
1289         (WebKit::WebStorageArea::removeItem):
1290         (WebKit::WebStorageArea::clear):
1291         * public/WebStorageNamespace.h:
1292         (WebKit):
1293         (WebStorageNamespace):
1294         (WebKit::WebStorageNamespace::~WebStorageNamespace):
1295         (WebKit::WebStorageNamespace::isSameNamespace):
1296         * public/platform/WebKitPlatformSupport.h:
1297         (WebKit):
1298         (WebKitPlatformSupport):
1299         (WebKit::WebKitPlatformSupport::createLocalStorageNamespace):
1300         * src/StorageAreaProxy.cpp:
1301         * src/StorageNamespaceProxy.cpp:
1302         (WebCore::StorageNamespace::localStorageNamespace):
1303
1304 2012-05-11  Mark Pilgrim  <pilgrim@chromium.org>
1305
1306         [Chromium] Call isLinkVisited directly
1307         https://bugs.webkit.org/show_bug.cgi?id=85412
1308
1309         Reviewed by Adam Barth.
1310
1311         Part of a refactoring series. See tracking bug 82948.
1312
1313         * src/PlatformSupport.cpp:
1314         (WebCore):
1315
1316 2012-05-11  Tony Chang  <tony@chromium.org>
1317
1318         [chromium] Port gtest WebViewTest.ActiveState from test_shell_tests to webkit_unit_tests
1319         https://bugs.webkit.org/show_bug.cgi?id=86271
1320
1321         Reviewed by James Robinson.
1322
1323         The original test is in src/webkit/glue/webview_unittest.cc.
1324
1325         * tests/WebViewTest.cpp:
1326         (WebKit::TEST_F):
1327         (WebKit):
1328
1329 2012-05-11  Shawn Singh  <shawnsingh@chromium.org>
1330
1331         [chromium] Plumb --show-paint-rects to accelerated compositor
1332         https://bugs.webkit.org/show_bug.cgi?id=86255
1333
1334         Reviewed by James Robinson.
1335
1336         * public/WebSettings.h:
1337         * src/WebLayerTreeView.cpp:
1338         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
1339         * src/WebSettingsImpl.cpp:
1340         (WebKit::WebSettingsImpl::WebSettingsImpl):
1341         (WebKit::WebSettingsImpl::setShowPaintRects):
1342         (WebKit):
1343         * src/WebSettingsImpl.h:
1344         (WebSettingsImpl):
1345         (WebKit::WebSettingsImpl::showFPSCounter):
1346         (WebKit::WebSettingsImpl::showPlatformLayerTree):
1347         (WebKit::WebSettingsImpl::showPaintRects):
1348         * src/WebViewImpl.cpp:
1349         (WebKit::WebViewImpl::settingsImpl):
1350         (WebKit::WebViewImpl::settings):
1351         (WebKit):
1352         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1353         * src/WebViewImpl.h:
1354
1355 2012-05-11  Ryosuke Niwa  <rniwa@webkit.org>
1356
1357         Do a DEPS roll per build failure caused by r116810.
1358
1359         See http://webkitmemes.tumblr.com/post/21734202168/the-solution-to-any-chromium-problem for the rationale.
1360
1361         * DEPS:
1362
1363 2012-05-11  Sheriff Bot  <webkit.review.bot@gmail.com>
1364
1365         Unreviewed, rolling out r116802.
1366         http://trac.webkit.org/changeset/116802
1367         https://bugs.webkit.org/show_bug.cgi?id=86260
1368
1369         This patch causes compiling error to chromium builds
1370         (Requested by jianli_ on #webkit).
1371
1372         * features.gypi:
1373         * src/WebInputEventConversion.cpp:
1374         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
1375
1376 2012-05-11  Mark Pilgrim  <pilgrim@chromium.org>
1377
1378         [Chromium] Move createLocalStorageNamespace to Platform.h
1379         https://bugs.webkit.org/show_bug.cgi?id=85766
1380
1381         Reviewed by Adam Barth.
1382
1383         Part of a refactoring series. See tracking bug 82948.
1384
1385         * WebKit.gyp:
1386         * public/WebStorageArea.h:
1387         * public/WebStorageNamespace.h:
1388         * public/platform/WebKitPlatformSupport.h:
1389         (WebKit):
1390         (WebKit::WebKitPlatformSupport::blobRegistry):
1391         * src/StorageAreaProxy.cpp:
1392         * src/StorageNamespaceProxy.cpp:
1393         (WebCore::StorageNamespace::localStorageNamespace):
1394
1395 2012-05-11  James Robinson  <jamesr@chromium.org>
1396
1397         [chromium] Move implementation of WebCore::GraphicsContext3D and related from WebKit/chromium/src to WebCore/platform/chromium/support
1398         https://bugs.webkit.org/show_bug.cgi?id=86257
1399
1400         Reviewed by Adam Barth.
1401
1402         * WebKit.gyp:
1403
1404 2012-05-11  Fady Samuel  <fsamuel@chromium.org>
1405
1406         [Chromium] Expose WebPluginContainer of WebPlugin to embedder
1407         https://bugs.webkit.org/show_bug.cgi?id=85916
1408
1409         Reviewed by Darin Fisher.
1410
1411         The browser plugin needs to access its current guest's  WebPluginContainer
1412         so that it can replace the guest with another guest WebPlugin when navigating
1413         across processes.
1414
1415         * public/WebPlugin.h:
1416         (WebPlugin):
1417         (WebKit::WebPlugin::container):
1418
1419 2012-05-11  Terry Anderson  <tdanderson@chromium.org>
1420
1421         [chromium] Compute the best target node on a GestureTap event
1422         https://bugs.webkit.org/show_bug.cgi?id=85101
1423
1424         Reviewed by Adam Barth.
1425
1426         * features.gypi:
1427         Enable the touch adjustment code by default.
1428         * src/WebInputEventConversion.cpp:
1429         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
1430         In the case of a GestureTap, deltaX represents the horizontal padding of the touch
1431         area and deltaY represents the vertical padding of the touch area.
1432
1433 2012-05-11  Ian Vollick  <vollick@chromium.org>
1434
1435         [chromium] Ensure that animations continue to run when transform-style is changed
1436         https://bugs.webkit.org/show_bug.cgi?id=83283
1437
1438         Reviewed by James Robinson.
1439
1440         * WebKit.gypi:
1441         * tests/GraphicsLayerChromiumTest.cpp: Added.
1442         (WebKitTests):
1443         (MockGraphicsLayerClient):
1444         (WebKitTests::MockGraphicsLayerClient::notifyAnimationStarted):
1445         (WebKitTests::MockGraphicsLayerClient::notifySyncRequired):
1446         (WebKitTests::MockGraphicsLayerClient::paintContents):
1447         (WebKitTests::MockGraphicsLayerClient::showDebugBorders):
1448         (WebKitTests::MockGraphicsLayerClient::showRepaintCounter):
1449         (WebKitTests::TEST):
1450
1451 2012-05-11  Min Qin  <qinmin@google.com>
1452
1453         split MediaPlayer::enterFullscreen into 2 seperate functions
1454         https://bugs.webkit.org/show_bug.cgi?id=86052
1455
1456         Reviewed by Adam Barth.
1457
1458         In WebCore, we splitted bool enterFullscreen() into two seperate calls:
1459         void enterFullscreen() and bool canEnterFullscreen()
1460         This is the change in the chromium part that we needed to support the WebCore change
1461         No behavior change, just refactoring.
1462
1463         * public/WebMediaPlayer.h:
1464         (WebMediaPlayer):
1465         (WebKit::WebMediaPlayer::enterFullscreen):
1466         (WebKit::WebMediaPlayer::canEnterFullscreen):
1467         * src/WebMediaPlayerClientImpl.cpp:
1468         (WebKit::WebMediaPlayerClientImpl::enterFullscreen):
1469         (WebKit):
1470         (WebKit::WebMediaPlayerClientImpl::exitFullscreen):
1471         * src/WebMediaPlayerClientImpl.h:
1472         (WebMediaPlayerClientImpl):
1473         * src/WebViewImpl.cpp:
1474         (WebKit::WebViewImpl::enterFullScreenForElement):
1475
1476 2012-05-11  David Reveman  <reveman@chromium.org>
1477
1478         [Chromium] Move instantiation of texture uploader to LayerRendererChromium.
1479         https://bugs.webkit.org/show_bug.cgi?id=85893
1480
1481         Reviewed by Adrienne Walker.
1482
1483         * tests/CCLayerTreeHostImplTest.cpp:
1484         (WebKitTests::CCLayerTreeHostImplTest::CCLayerTreeHostImplTest):
1485         (WebKitTests::TEST_F):
1486         * tests/LayerRendererChromiumTest.cpp:
1487         (FakeLayerRendererChromium::FakeLayerRendererChromium):
1488         (LayerRendererChromiumTest::LayerRendererChromiumTest):
1489         (TEST):
1490
1491 2012-05-11  Sheriff Bot  <webkit.review.bot@gmail.com>
1492
1493         Unreviewed, rolling out r116727.
1494         http://trac.webkit.org/changeset/116727
1495         https://bugs.webkit.org/show_bug.cgi?id=86181
1496
1497         Build error on Chromium-Android (Requested by tkent on
1498         #webkit).
1499
1500         * public/WebMediaPlayer.h:
1501         (WebMediaPlayer):
1502         (WebKit::WebMediaPlayer::enterFullscreen):
1503         (WebKit::WebMediaPlayer::exitFullscreen):
1504         * src/WebMediaPlayerClientImpl.cpp:
1505         (WebKit::WebMediaPlayerClientImpl::enterFullscreen):
1506         (WebKit::WebMediaPlayerClientImpl::exitFullscreen):
1507         * src/WebMediaPlayerClientImpl.h:
1508         (WebMediaPlayerClientImpl):
1509         * src/WebViewImpl.cpp:
1510         (WebKit::WebViewImpl::enterFullScreenForElement):
1511
1512 2012-05-11  Sheriff Bot  <webkit.review.bot@gmail.com>
1513
1514         Unreviewed, rolling out r116731.
1515         http://trac.webkit.org/changeset/116731
1516         https://bugs.webkit.org/show_bug.cgi?id=86178
1517
1518         Build failure on Chromium-mac (Requested by tkent on #webkit).
1519
1520         * tests/CCLayerTreeHostImplTest.cpp:
1521         (WebKitTests::CCLayerTreeHostImplTest::CCLayerTreeHostImplTest):
1522         (WebKitTests::TEST_F):
1523         * tests/LayerRendererChromiumTest.cpp:
1524         (FakeLayerRendererChromium::FakeLayerRendererChromium):
1525         (LayerRendererChromiumTest::LayerRendererChromiumTest):
1526         (TEST):
1527
1528 2012-05-10  David Reveman  <reveman@chromium.org>
1529
1530         [Chromium] Move instantiation of texture uploader to LayerRendererChromium.
1531         https://bugs.webkit.org/show_bug.cgi?id=85893
1532
1533         Reviewed by Adrienne Walker.
1534
1535         * tests/CCLayerTreeHostImplTest.cpp:
1536         (WebKitTests::CCLayerTreeHostImplTest::CCLayerTreeHostImplTest):
1537         (WebKitTests::TEST_F):
1538         * tests/LayerRendererChromiumTest.cpp:
1539         (FakeLayerRendererChromium::FakeLayerRendererChromium):
1540         (LayerRendererChromiumTest::LayerRendererChromiumTest):
1541         (TEST):
1542
1543 2012-05-10  Min Qin  <qinmin@google.com>
1544
1545         split MediaPlayer::enterFullscreen into 2 seperate functions
1546         https://bugs.webkit.org/show_bug.cgi?id=86052
1547
1548         Reviewed by Benjamin Poulain.
1549
1550         It is confusing that enterFullscreen returns a boolean while exitFullscreen does
1551         not do the same. And ios does not need the return value.
1552         So remove the return value on enterFullscreen and make a seperate canEnterFullscreen()
1553         function for android.
1554         No behavior change, just refactoring.
1555
1556         * public/WebMediaPlayer.h:
1557         (WebMediaPlayer):
1558         (WebKit::WebMediaPlayer::enterFullscreen):
1559         (WebKit::WebMediaPlayer::canEnterFullscreen):
1560         * src/WebMediaPlayerClientImpl.cpp:
1561         (WebKit::WebMediaPlayerClientImpl::enterFullscreen):
1562         (WebKit):
1563         (WebKit::WebMediaPlayerClientImpl::exitFullscreen):
1564         * src/WebMediaPlayerClientImpl.h:
1565         (WebMediaPlayerClientImpl):
1566         * src/WebViewImpl.cpp:
1567         (WebKit::WebViewImpl::enterFullScreenForElement):
1568
1569 2012-05-10  Hajime Morrita  <morrita@google.com>
1570
1571         WebKit should support tab-size.
1572         https://bugs.webkit.org/show_bug.cgi?id=52994
1573
1574         Reviewed by Simon Fraser.
1575
1576         * src/WebTextRun.cpp:
1577         (WebKit::WebTextRun::operator WebCore::TextRun):
1578
1579 2012-05-10  Kent Tamura  <tkent@chromium.org>
1580
1581         Unreviewed, rolling out r116594.
1582         http://trac.webkit.org/changeset/116594
1583         https://bugs.webkit.org/show_bug.cgi?id=86013
1584
1585         r116594 might have made some composition tests flaky.
1586
1587         * tests/CCLayerTreeHostTest.cpp:
1588         (WTF::CCLayerTreeHostTestTickAnimationWhileBackgrounded::animateLayers):
1589         (WTF):
1590         (WTF::TEST_F):
1591
1592 2012-05-10  Jian Li  <jianli@chromium.org>
1593
1594         Unreviewed. Fix chromium build break.
1595
1596         * src/LocalizedStrings.cpp:
1597         (WebCore::insecurePluginVersionText):
1598
1599 2012-05-10  Michael Nordman  <michaeln@google.com>
1600
1601         [chromium] DomStorage events handling needs TLC (2)
1602         https://bugs.webkit.org/show_bug.cgi?id=85221
1603         Alter the WebStorageArea virtual interface such that the mutators no longer
1604         return old values. This is to allow implementations of the interface to operate
1605         more asynchronously.
1606
1607         Also clean up from the last patch, remove support for the DEPRECATED event
1608         dispatching API.
1609
1610         Reviewed by Adam Barth.
1611
1612         * WebKit.gyp: delete three files indicated below
1613         * public/WebStorageArea.h:
1614         (WebKit::WebStorageArea::setItem): no longer returns the old value
1615         (WebKit::WebStorageArea::removeItem): no longer returns the old value
1616         (WebKit::WebStorageArea::clear): no longer returns a bool indicated if something was cleared
1617         * public/WebStorageEventDispatcher.h: removed the DEPRECATED instance methods
1618         * public/WebStorageNamespace.h: removed the DEPRECATED close() method
1619         * public/platform/WebKitPlatformSupport.h: removed the DEPRECATED dispatchStorageEvent() method
1620         * src/StorageAreaProxy.cpp: removed the DEPREACTED storageEvent() method
1621         (WebCore::StorageAreaProxy::setItem): no return value
1622         (WebCore::StorageAreaProxy::removeItem): no return value
1623         (WebCore::StorageAreaProxy::clear): no return value
1624         (WebCore::StorageAreaProxy::dispatchLocalStorageEvent): remove an early return thats no longer needed
1625         (WebCore::findPageWithSessionStorageNamespace): switched to passing pageGroup by ptr value instead of by name
1626         (WebCore::StorageAreaProxy::dispatchSessionStorageEvent): remove an early return thats no longer needed
1627         * src/StorageAreaProxy.h:
1628         (WebCore):
1629         (StorageAreaProxy):
1630         * src/StorageEventDispatcherImpl.cpp: Deleted the file.
1631         * src/StorageEventDispatcherImpl.h: Deleted the file.
1632         * src/WebStorageEventDispatcherImpl.cpp: Deleted the DEPRECATED instance methods.
1633         (WebKit::WebStorageEventDispatcher::dispatchLocalStorageEvent): use WebViewImpl::defaultPageGroup
1634         (WebKit::WebStorageEventDispatcher::dispatchSessionStorageEvent): use WebViewImpl::defaultPageGroup
1635         * src/WebStorageEventDispatcherImpl.h: Deleted the file.
1636         * src/WebViewImpl.cpp: added a static method to retrieve a ptr to the default page group,
1637         (WebKit::WebViewImpl::defaultPageGroup):
1638         * src/WebViewImpl.h:
1639
1640
1641 2012-05-10  Anders Carlsson  <andersca@apple.com>
1642
1643         Add insecurePluginVersionText stub here too.
1644
1645         * src/LocalizedStrings.cpp:
1646
1647 2012-05-10  Mark Pilgrim  <pilgrim@chromium.org>
1648
1649         [Chromium] Call addTraceEvent and getTraceCategoryEnabledFlag directly
1650         https://bugs.webkit.org/show_bug.cgi?id=85399
1651
1652         Reviewed by Adam Barth.
1653
1654         Part of a refactoring series. See tracking bug 82948.
1655
1656         * src/PlatformSupport.cpp:
1657         (WebCore):
1658
1659 2012-05-10  Mark Pilgrim  <pilgrim@chromium.org>
1660
1661         [Chromium] Remove WEBKIT_USING_SKIA ifdefs that are always true
1662         https://bugs.webkit.org/show_bug.cgi?id=86121
1663
1664         Reviewed by Adam Barth.
1665
1666         Chromium always uses Skia now, so this just removes the barriers
1667         around code that was previously #if'd.
1668
1669         * README:
1670         * src/DragClientImpl.cpp:
1671         (WebKit::DragClientImpl::startDrag):
1672         * src/PageOverlay.cpp:
1673         * src/PlatformSupport.cpp:
1674         (WebCore::PlatformSupport::clipboardWriteImage):
1675         (WebCore::PlatformSupport::paintScrollbarThumb):
1676         * src/WebContentLayerImpl.cpp:
1677         (WebKit::WebContentLayerImpl::paintContents):
1678         * src/WebFontImpl.cpp:
1679         (WebKit::WebFontImpl::drawText):
1680         * src/WebFrameImpl.cpp:
1681         (WebKit::WebFrameImpl::printPage):
1682         (WebKit::WebFrameImpl::printPagesWithBoundaries):
1683         * src/WebGraphicsContext3D.cpp:
1684         (WebKit::WebGraphicsContext3D::createGrGLInterface):
1685         * src/WebImageDecoder.cpp:
1686         (WebKit::WebImageDecoder::getFrameAtIndex):
1687         * src/WebPluginContainerImpl.cpp:
1688         (WebKit::WebPluginContainerImpl::paint):
1689         (WebKit::WebPluginContainerImpl::printPage):
1690         * src/painting/GraphicsContextBuilder.h:
1691         (WebKit):
1692
1693 2012-05-10  Tom Sepez  <tsepez@chromium.org>
1694
1695         [Chromium] WebFrameTest.ChromePageNoJavascript isn't catching regressions
1696         https://bugs.webkit.org/show_bug.cgi?id=86046
1697
1698         Reviewed by Adam Barth.
1699
1700         Test both cases for registerURLSchemeAsNotAllowingJavascriptURLs.  Also add
1701         a call to layout() to ensure the javascript result is seen.
1702         
1703         * tests/WebFrameTest.cpp:
1704         (WebKit::TEST_F):
1705         (WebKit):
1706
1707 2012-05-10  Varun Jain  <varunjain@google.com>
1708
1709         [chromium] Trigger context menu for long press gesture
1710         https://bugs.webkit.org/show_bug.cgi?id=85919
1711
1712         Reviewed by Adam Barth.
1713
1714         * src/PageWidgetDelegate.cpp:
1715         (WebKit::PageWidgetDelegate::handleInputEvent):
1716         * src/WebViewImpl.cpp:
1717         (WebKit::WebViewImpl::handleGestureEvent):
1718
1719 2012-05-10  Mark Pilgrim  <pilgrim@chromium.org>
1720
1721         [Chromium] Remove dead code behind unused WEBKIT_USING_CG
1722         https://bugs.webkit.org/show_bug.cgi?id=86018
1723
1724         Reviewed by Adam Barth.
1725
1726         We never use CoreGraphics as the backend for GraphicsContext in
1727         Chromium, so this is all dead code.
1728
1729         * README:
1730         * src/PageOverlay.cpp:
1731         * src/WebContentLayerImpl.cpp:
1732         (WebKit::WebContentLayerImpl::paintContents):
1733         * src/WebFontImpl.cpp:
1734         (WebKit::WebFontImpl::drawText):
1735         * src/WebImageDecoder.cpp:
1736         (WebKit::WebImageDecoder::getFrameAtIndex):
1737         * src/WebPluginContainerImpl.cpp:
1738         (WebKit::WebPluginContainerImpl::paint):
1739         (WebKit::WebPluginContainerImpl::printPage):
1740         * src/painting/GraphicsContextBuilder.h:
1741         (WebKit):
1742
1743 2012-05-10  Sam D  <dsam2912@gmail.com>
1744
1745         Web Inspector: rename InspectorBackendStub.js to InspectorBackendCommands.js
1746         https://bugs.webkit.org/show_bug.cgi?id=72306
1747
1748         Changed name for InspectorBackendStub.js to InspectorBackendCommands.js
1749
1750         Reviewed by Yury Semikhatsky.
1751
1752         * WebKit.gyp:
1753
1754 2012-05-09  Kent Tamura  <tkent@chromium.org>
1755
1756         [Chromium] Mark CCLayerTreeHostTestSetNeedsCommit2.runMultiThread and
1757         CCLayerTreeHostTestDoNotSkipLayersWithAnimatedOpacity.runMultiThread flaky.
1758
1759         * tests/CCLayerTreeHostTest.cpp:
1760
1761 2012-05-09  Dan Alcantara  <dfalcantara@chromium.org>
1762
1763         [chromium] Add ability to override user agent string per-WebFrameClient
1764         https://bugs.webkit.org/show_bug.cgi?id=83959
1765         
1766         Reviewed by Adam Barth.
1767         
1768         Adds a method that can be used to override the normal user agent in
1769         chromium.  Also adds a unit test to check if the override is taking effect.
1770
1771         * WebKit.gypi:
1772         * public/WebFrameClient.h:
1773         (WebFrameClient):
1774         (WebKit::WebFrameClient::userAgent):
1775         * src/FrameLoaderClientImpl.cpp:
1776         (WebKit::FrameLoaderClientImpl::userAgent):
1777         * tests/FrameLoaderClientImplTest.cpp: Added.
1778         (WebKit):
1779         (TestWebFrameClient):
1780         (WebKit::TestWebFrameClient::setUserAgentOverride):
1781         (FrameLoaderClientImplTest):
1782         (WebKit::FrameLoaderClientImplTest::SetUp):
1783         (WebKit::FrameLoaderClientImplTest::TearDown):
1784         (WebKit::FrameLoaderClientImplTest::setUserAgentOverride):
1785         (WebKit::FrameLoaderClientImplTest::userAgent):
1786         (WebKit::TEST_F):
1787
1788 2012-05-09  Charlie Reis  <creis@chromium.org>
1789
1790         Add dispatchMessageEventWithOriginCheck to WebFrame
1791         https://bugs.webkit.org/show_bug.cgi?id=85815
1792
1793         Reviewed by Adam Barth.
1794
1795         Tested by WebFrameTest.DispatchMessageEventWithOriginCheck.
1796         Also fixes source frame bug in willCheckAndDispatchMessageEvent.
1797
1798         * public/WebFrame.h:
1799         (WebFrame):
1800         * src/FrameLoaderClientImpl.cpp:
1801         (WebKit::FrameLoaderClientImpl::willCheckAndDispatchMessageEvent):
1802         * src/WebFrameImpl.cpp:
1803         (WebKit::WebFrameImpl::checkAndDispatchMessageEvent):
1804         (WebKit):
1805         * src/WebFrameImpl.h:
1806         (WebFrameImpl):
1807
1808 2012-05-09  Hironori Bono  <hbono@chromium.org>
1809
1810         Fix a crash in ContextMenuClientImpl::getCustomMenuFromDefaultItems
1811         https://bugs.webkit.org/show_bug.cgi?id=85866
1812
1813         Reviewed by Ryosuke Niwa.
1814
1815         DocumentMarkerController::markersInRange crashes if the input range is NULL.
1816         This change adds a NULL check before getCustomMenuFromDefaultItems() calls this
1817         function to avoid this crash.
1818
1819         * src/ContextMenuClientImpl.cpp:
1820         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): Added a NULL check.
1821
1822 2012-05-09  Sheriff Bot  <webkit.review.bot@gmail.com>
1823
1824         Unreviewed, rolling out r116602.
1825         http://trac.webkit.org/changeset/116602
1826         https://bugs.webkit.org/show_bug.cgi?id=86057
1827
1828         Build error on Windows (Requested by tkent on #webkit).
1829
1830         * WebKit.gypi:
1831         * public/WebFrameClient.h:
1832         * src/FrameLoaderClientImpl.cpp:
1833         (WebKit::FrameLoaderClientImpl::userAgent):
1834         * tests/FrameLoaderClientImplTest.cpp: Removed.
1835
1836 2012-05-09  Kent Tamura  <tkent@chromium.org>
1837
1838         [Chromium] Fix compilation warning on Android.
1839         https://bugs.webkit.org/show_bug.cgi?id=85958
1840
1841         * features.gypi: Move ENABLE_MEDIA_CAPTURE=0 to non-Android block.
1842
1843 2012-05-09  Dan Alcantara  <dfalcantara@chromium.org>
1844
1845         [chromium] Add ability to override user agent string per-WebFrameClient
1846         https://bugs.webkit.org/show_bug.cgi?id=83959
1847         
1848         Reviewed by Adam Barth.
1849         
1850         Adds a method that can be used to override the normal user agent in
1851         chromium.  Also adds a unit test to check if the override is taking effect.
1852
1853         * WebKit.gypi:
1854         * public/WebFrameClient.h:
1855         (WebFrameClient):
1856         (WebKit::WebFrameClient::userAgent):
1857         * src/FrameLoaderClientImpl.cpp:
1858         (WebKit::FrameLoaderClientImpl::userAgent):
1859         * tests/FrameLoaderClientImplTest.cpp: Added.
1860         (WebKit):
1861         (TestWebFrameClient):
1862         (WebKit::TestWebFrameClient::setUserAgentOverride):
1863         (FrameLoaderClientImplTest):
1864         (WebKit::FrameLoaderClientImplTest::SetUp):
1865         (WebKit::FrameLoaderClientImplTest::TearDown):
1866         (WebKit::FrameLoaderClientImplTest::setUserAgentOverride):
1867         (WebKit::FrameLoaderClientImplTest::userAgent):
1868         (WebKit::TEST_F):
1869
1870 2012-05-09  Ian Vollick  <vollick@chromium.org>
1871
1872         [chromium] Ensure animations get ticked at least once when added.
1873         https://bugs.webkit.org/show_bug.cgi?id=86013
1874
1875         Reviewed by James Robinson.
1876
1877         * tests/CCLayerTreeHostTest.cpp:
1878         (WTF::CCLayerTreeHostTestTickAnimationWhileBackgrounded::animateLayers):
1879         (WTF):
1880
1881 2012-05-09  Adam Barth  <abarth@webkit.org>
1882
1883         Implement HTML Media Capture
1884         https://bugs.webkit.org/show_bug.cgi?id=85958
1885
1886         Reviewed by Eric Seidel.
1887
1888         * features.gypi:
1889         * public/WebFileChooserParams.h:
1890         (WebFileChooserParams):
1891         * src/ChromeClientImpl.cpp:
1892         (WebKit::ChromeClientImpl::runOpenPanel):
1893
1894 2012-05-09  Dana Jansens  <danakj@chromium.org>
1895
1896         [chromium] Don't draw when canDraw() is false
1897         https://bugs.webkit.org/show_bug.cgi?id=85829
1898
1899         Reviewed by Adrienne Walker.
1900
1901         * tests/CCLayerTreeHostImplTest.cpp:
1902         (WebKitTests::CCLayerTreeHostImplTest::CCLayerTreeHostImplTest):
1903         (WebKitTests::TEST_F):
1904         * tests/CCLayerTreeHostTest.cpp:
1905         (WTF):
1906         (CCLayerTreeHostTestCanDrawBlocksDrawing):
1907         (WTF::CCLayerTreeHostTestCanDrawBlocksDrawing::CCLayerTreeHostTestCanDrawBlocksDrawing):
1908         (WTF::CCLayerTreeHostTestCanDrawBlocksDrawing::beginTest):
1909         (WTF::CCLayerTreeHostTestCanDrawBlocksDrawing::commitCompleteOnCCThread):
1910         (WTF::CCLayerTreeHostTestCanDrawBlocksDrawing::drawLayersOnCCThread):
1911         (WTF::CCLayerTreeHostTestCanDrawBlocksDrawing::didCommitAndDrawFrame):
1912         (WTF::CCLayerTreeHostTestCanDrawBlocksDrawing::afterTest):
1913         (WTF::TEST_F):
1914
1915 2012-05-09  Sheriff Bot  <webkit.review.bot@gmail.com>
1916
1917         Unreviewed, rolling out r116573.
1918         http://trac.webkit.org/changeset/116573
1919         https://bugs.webkit.org/show_bug.cgi?id=86038
1920
1921         Broke the Chromium Mac compile (Requested by ojan_gardening on
1922         #webkit).
1923
1924         * public/WebPlugin.h:
1925         (WebPlugin):
1926
1927 2012-05-09  Fady Samuel  <fsamuel@chromium.org>
1928
1929         [Chromium] Expose WebPluginContainer of WebPlugin to embedder
1930         https://bugs.webkit.org/show_bug.cgi?id=85916
1931
1932         Reviewed by Darin Fisher.
1933
1934         The browser plugin needs to access its current guest's  WebPluginContainer
1935         so that it can replace the guest with another guest WebPlugin when navigating
1936         across processes.
1937
1938         * public/WebPlugin.h:
1939         (WebPlugin):
1940         (WebKit::WebPlugin::container):
1941
1942 2012-05-09  Mark Pilgrim  <pilgrim@chromium.org>
1943
1944         [Chromium] Move clipboard to Platform.h
1945         https://bugs.webkit.org/show_bug.cgi?id=85758
1946
1947         Reviewed by Adam Barth.
1948
1949         Part of a refactoring series. See tracking bug 82948.
1950
1951         * WebKit.gyp:
1952         * public/platform/WebClipboard.h:
1953         * public/platform/WebDragData.h:
1954         * public/platform/WebImage.h:
1955         * public/platform/WebKitPlatformSupport.h:
1956         (WebKit):
1957         (WebKitPlatformSupport):
1958         * src/AssertMatchingEnums.cpp:
1959         * src/DragClientImpl.cpp:
1960         * src/PlatformSupport.cpp:
1961         * src/WebDragData.cpp:
1962         * src/WebImageCG.cpp:
1963         * src/WebImageDecoder.cpp:
1964         * src/WebImageSkia.cpp:
1965         * src/WebPluginContainerImpl.cpp:
1966         (WebKit::WebPluginContainerImpl::copy):
1967         * src/WebViewImpl.cpp:
1968
1969 2012-05-09  Mark Pilgrim  <pilgrim@chromium.org>
1970
1971         [Chromium] Remove PlatformSupport::loadPlatformImageResource, call loadResource directly
1972         https://bugs.webkit.org/show_bug.cgi?id=84417
1973
1974         Reviewed by Adam Barth.
1975
1976         Part of a refactoring series. See tracking bug 82948.
1977
1978         * src/PlatformSupport.cpp:
1979         (WebCore):
1980
1981 2012-05-09  Jochen Eisinger  <jochen@chromium.org>
1982
1983         [chromium] remove the obsolete WebFrame::referrerPolicy method
1984         https://bugs.webkit.org/show_bug.cgi?id=86003
1985
1986         Reviewed by Adam Barth.
1987
1988         * public/WebFrame.h:
1989         * src/WebFrameImpl.cpp:
1990         * src/WebFrameImpl.h:
1991         (WebFrameImpl):
1992
1993 2012-05-09  Jochen Eisinger  <jochen@chromium.org>
1994
1995         [chromium] Check whether an active document loader exists before accessing it
1996         https://bugs.webkit.org/show_bug.cgi?id=85892
1997
1998         Reviewed by Eric Seidel.
1999
2000         Although FrameLoader::loadInSameDocument which invokes this
2001         method does not have a provisional document loader, we're seeing crashes
2002         where the FrameLoader is in provisional state, and thus
2003         activeDocumentLoader returns 0. Lacking any understanding of how this
2004         can happen, we do this check here to avoid crashing.
2005
2006         * src/FrameLoaderClientImpl.cpp:
2007         (WebKit::FrameLoaderClientImpl::dispatchDidNavigateWithinPage):
2008
2009 2012-05-09  Ian Vollick  <vollick@chromium.org>
2010
2011         [chromium] Add impl-thread support for fill-mode and direction css animation properties
2012         https://bugs.webkit.org/show_bug.cgi?id=77662
2013
2014         Reviewed by James Robinson.
2015
2016         * tests/CCActiveAnimationTest.cpp:
2017         (WebCore::TEST):
2018         (WebCore):
2019         * tests/CCLayerAnimationControllerTest.cpp:
2020         (WebKitTests::TEST):
2021         (WebKitTests):
2022
2023 2012-05-09  Ojan Vafai  <ojan@chromium.org>
2024
2025         Unreviewed.  Rolled DEPS.
2026
2027         * DEPS:
2028
2029 2012-05-09  Marcus Bulach  <bulach@chromium.org>
2030
2031         [chromium] Exposes OrientationChangeEvent.
2032         https://bugs.webkit.org/show_bug.cgi?id=85976
2033
2034         Reviewed by Adam Barth.
2035
2036         This is used by the android port, we need to expose the existing
2037         WebCore API.
2038
2039         * public/WebFrame.h:
2040         (WebFrame):
2041         * src/WebFrameImpl.cpp:
2042         (WebKit::WebFrameImpl::sendOrientationChangeEvent):
2043         (WebKit):
2044         * src/WebFrameImpl.h:
2045         (WebFrameImpl):
2046
2047 2012-05-09  Dana Jansens  <danakj@chromium.org>
2048
2049         Early-out and avoid any copying when possible for Region operations
2050         https://bugs.webkit.org/show_bug.cgi?id=85260
2051
2052         Reviewed by Anders Carlsson.
2053
2054         * tests/RegionTest.cpp:
2055         (WebCore::TEST):
2056         (WebCore):
2057
2058 2012-05-09  Tommy Widenflycht  <tommyw@google.com>
2059
2060         [chromium] MediaStream API: Fixing a memory leak in WebUserMediaRequest
2061         https://bugs.webkit.org/show_bug.cgi?id=85992
2062
2063         Reviewed by Adam Barth.
2064
2065         * src/WebUserMediaRequest.cpp:
2066         (WebKit::WebUserMediaRequest::assign):
2067
2068 2012-05-09  Kent Tamura  <tkent@chromium.org>
2069
2070         [Chromium] Disable WebViewTest.TextInputType because the test is incomplete.
2071
2072         * tests/WebViewTest.cpp:
2073
2074 2012-05-09  Kent Tamura  <tkent@chromium.org>
2075
2076         [Chromium] Some of *.runMultiThread tests intermittently crash.
2077         Mark them flaky.
2078
2079         * tests/CCLayerTreeHostTest.cpp:
2080
2081 2012-05-09  Oli Lan  <olilan@chromium.org>
2082
2083         Adds date/time input types to WebTextInputType, and adds support for these
2084         to WebViewImpl.textInputType().
2085
2086         Adds a new test WebViewTest.TextInputType to test WebViewImpl.textInputType(),
2087         including the new types.
2088
2089         https://bugs.webkit.org/show_bug.cgi?id=78746
2090
2091         Reviewed by Kent Tamura.
2092
2093         * public/WebTextInputType.h:
2094         * src/WebViewImpl.cpp:
2095         (WebKit::WebViewImpl::textInputType):
2096         * tests/WebViewTest.cpp:
2097         (WebViewTest):
2098         (WebKit::WebViewTest::testTextInputType):
2099         (WebKit):
2100         (WebKit::TEST_F):
2101         * tests/data/input_field_date.html: Added.
2102         * tests/data/input_field_datetime.html: Added.
2103         * tests/data/input_field_default.html: Added.
2104         * tests/data/input_field_email.html: Added.
2105         * tests/data/input_field_number.html: Added.
2106         * tests/data/input_field_search.html: Added.
2107         * tests/data/input_field_time.html: Added.
2108         * tests/data/input_field_week.html: Added.
2109
2110 2012-05-08  Jochen Eisinger  <jochen@chromium.org>
2111
2112         Unreviewed.  Rolled DEPS.
2113
2114         * DEPS:
2115
2116 2012-05-08  Dana Jansens  <danakj@chromium.org>
2117
2118         [chromium] Show borders for partial-draw-culled quads to visualize culling behaviour
2119         https://bugs.webkit.org/show_bug.cgi?id=85414
2120
2121         Reviewed by Adrienne Walker.
2122
2123         * tests/CCQuadCullerTest.cpp:
2124         (WebCore::appendQuads):
2125         * tests/MockCCQuadCuller.h:
2126         (WebCore::MockCCQuadCuller::MockCCQuadCuller):
2127
2128 2012-05-08  Tony Chang  <tony@chromium.org>
2129
2130         [chromium] force ENABLE_REGISTER_PROTOCOL_HANDLER=1 in features.gypi
2131         https://bugs.webkit.org/show_bug.cgi?id=85924
2132
2133         Reviewed by Adam Barth.
2134
2135         This has been enabled for a few months on Chromium trunk so remove the
2136         ability to turn it off via a gyp flag. This simplifies features.gypi.
2137
2138         * features.gypi:
2139
2140 2012-05-08  Dana Jansens  <danakj@chromium.org>
2141
2142         [chromium] Reflections with masks should not occlude
2143         https://bugs.webkit.org/show_bug.cgi?id=85927
2144
2145         Reviewed by James Robinson.
2146
2147         * tests/CCOcclusionTrackerTest.cpp:
2148         (WebKitTests::CCOcclusionTrackerTest::TearDown):
2149         (WebKitTests::CCOcclusionTrackerTest::createMaskLayer):
2150         (CCOcclusionTrackerTest):
2151         (WebKitTests::CCOcclusionTrackerTest::setMask):
2152         (CCOcclusionTrackerTestReplicaWithMask):
2153         (WebKitTests::CCOcclusionTrackerTestReplicaWithMask::runMyTest):
2154         (WebKitTests):
2155
2156 2012-05-08  Dana Jansens  <danakj@chromium.org>
2157
2158         Region reads past end of spans
2159         https://bugs.webkit.org/show_bug.cgi?id=85909
2160
2161         Reviewed by Anders Carlsson.
2162
2163         * tests/RegionTest.cpp:
2164         (WebCore::TEST):
2165         (WebCore):
2166
2167 2012-05-08  Tony Chang  <tony@chromium.org>
2168
2169         move listener_leak_test to webkit_unit_tests
2170         https://bugs.webkit.org/show_bug.cgi?id=85922
2171
2172         Reviewed by Ojan Vafai.
2173
2174         Porting the test from src/webkit/tools/test_shell/listener_leak_test.cc.
2175         All I did was change the style and use the FrameTestHelper to load the file.
2176
2177         * WebKit.gyp: Exclude file in components build.
2178         * WebKit.gypi: Add new file.
2179         * tests/ListenerLeakTest.cpp: Added.
2180         (WebKit):
2181         (WebKit::GetProperty):
2182         (WebKit::GetNumObjects):
2183         (ListenerLeakTest):
2184         (WebKit::ListenerLeakTest::ListenerLeakTest):
2185         (WebKit::ListenerLeakTest::RunTest):
2186         (WebKit::TEST_F):
2187         * tests/data/listener/listener_leak1.html: Added.
2188         * tests/data/listener/listener_leak2.html: Added.
2189
2190 2012-05-08  W. James MacLean  <wjmaclean@chromium.org>
2191
2192         [chromium] Create LinkHighlightLayerChromium class to provide link-highlight preview animations for GraphicsLayerChromium.
2193         https://bugs.webkit.org/show_bug.cgi?id=85084
2194
2195         Reviewed by James Robinson.
2196
2197         * WebKit.gypi:
2198         * tests/LinkHighlightTest.cpp: Added.
2199         (WebCore):
2200         (MockGraphicsLayerClient):
2201         (WebCore::MockGraphicsLayerClient::notifyAnimationStarted):
2202         (WebCore::MockGraphicsLayerClient::notifySyncRequired):
2203         (WebCore::MockGraphicsLayerClient::paintContents):
2204         (WebCore::MockGraphicsLayerClient::showDebugBorders):
2205         (WebCore::MockGraphicsLayerClient::showRepaintCounter):
2206         (WebCore::TEST):
2207
2208 2012-05-08  Tony Chang  <tony@chromium.org>
2209
2210         [chromium] move event_listener_unittest to webkit_unit_tests
2211         https://bugs.webkit.org/show_bug.cgi?id=85836
2212
2213         Reviewed by James Robinson.
2214
2215         Porting the test from src/webkit/tools/test_shell/event_listener_unittest.cc.
2216         All I did was change the style and use the FrameTestHelper to load the file.
2217
2218         * WebKit.gyp: Exclude file in components build.
2219         * WebKit.gypi: Add new file.
2220         * tests/EventListenerTest.cpp: Added.
2221         (WebKit):
2222         (TestWebDOMEventListener):
2223         (WebKit::TestWebDOMEventListener::TestWebDOMEventListener):
2224         (WebKit::TestWebDOMEventListener::~TestWebDOMEventListener):
2225         (WebKit::TestWebDOMEventListener::eventCount):
2226         (WebKit::TestWebDOMEventListener::eventAt):
2227         (WebKit::TestWebDOMEventListener::clearEvents):
2228         (WebDOMEventListenerTest):
2229         (WebKit::WebDOMEventListenerTest::WebDOMEventListenerTest):
2230         (WebKit::WebDOMEventListenerTest::SetUp):
2231         (WebKit::WebDOMEventListenerTest::TearDown):
2232         (WebKit::WebDOMEventListenerTest::mainFrame):
2233         (WebKit::WebDOMEventListenerTest::document):
2234         (WebKit::WebDOMEventListenerTest::executeScript):
2235         (WebKit::WebDOMEventListenerTest::GetNodeID):
2236         (WebKit::TEST_F):
2237         * tests/data/listener/mutation_event_listener.html: Added.
2238
2239 2012-05-07  Kinuko Yasuda  <kinuko@chromium.org>
2240
2241         Unreviewed build fix: didOpenFileSystem hides overloaded virtual function
2242
2243         * src/WorkerAsyncFileSystemChromium.cpp:
2244
2245 2012-05-07  Kinuko Yasuda  <kinuko@chromium.org>
2246
2247         Unreviewed build fix: adding missing include.
2248
2249         * src/AsyncFileSystemChromium.cpp:
2250
2251 2012-05-07  Kinuko Yasuda  <kinuko@chromium.org>
2252
2253         Support cross-filesystem operations in FileSystem API
2254         https://bugs.webkit.org/show_bug.cgi?id=84135
2255
2256         Reviewed by David Levin.
2257
2258         Currently we pass Entry's fullPath to AsyncFileSystem layer where
2259         we convert the given path to filesystem URL which includes origin and
2260         filesystem type information, but in that way we cannot handle
2261         cross-filesystem operations (e.g. cross-filesystem copy and move)
2262         well since we end up with always attaching the source filesystem's
2263         origin and type information for argument paths.
2264
2265         This patch does:
2266         - move filesystem-type related code out of AsyncFileSystemChromium.cpp
2267           (moving into DOMFileSystemChromium.cpp)
2268         - change AsyncFileSystemChromium's methods implementation not to take
2269           entry paths but complete filesystem URLs.
2270
2271         * src/AsyncFileSystemChromium.cpp:
2272         (WebCore::AsyncFileSystemChromium::AsyncFileSystemChromium):
2273         (WebCore::AsyncFileSystemChromium::move):
2274         (WebCore::AsyncFileSystemChromium::copy):
2275         (WebCore::AsyncFileSystemChromium::remove):
2276         (WebCore::AsyncFileSystemChromium::removeRecursively):
2277         (WebCore::AsyncFileSystemChromium::readMetadata):
2278         (WebCore::AsyncFileSystemChromium::createFile):
2279         (WebCore::AsyncFileSystemChromium::createDirectory):
2280         (WebCore::AsyncFileSystemChromium::fileExists):
2281         (WebCore::AsyncFileSystemChromium::directoryExists):
2282         (WebCore::AsyncFileSystemChromium::readDirectory):
2283         (WebCore::AsyncFileSystemChromium::createWriter):
2284         (WebCore::AsyncFileSystemChromium::createSnapshotFileAndReadMetadata):
2285         * src/AsyncFileSystemChromium.h:
2286         (WebCore::AsyncFileSystemChromium::create):
2287         (AsyncFileSystemChromium):
2288         * src/LocalFileSystemChromium.cpp:
2289         (WebCore::openFileSystemHelper):
2290         * src/PlatformSupport.cpp:
2291         (WebCore::PlatformSupport::createAsyncFileSystem):
2292         * src/WebFileSystemCallbacksImpl.cpp:
2293         (WebKit::WebFileSystemCallbacksImpl::WebFileSystemCallbacksImpl):
2294         (WebKit::WebFileSystemCallbacksImpl::didOpenFileSystem):
2295         * src/WebFileSystemCallbacksImpl.h:
2296         (WebFileSystemCallbacksImpl):
2297         * src/WebFrameImpl.cpp:
2298         (WebKit::WebFrameImpl::createFileSystem):
2299         (WebKit::WebFrameImpl::createFileEntry):
2300         * src/WorkerAsyncFileSystemChromium.cpp:
2301         (WebCore::WorkerAsyncFileSystemChromium::WorkerAsyncFileSystemChromium):
2302         (WebCore::WorkerAsyncFileSystemChromium::move):
2303         (WebCore::WorkerAsyncFileSystemChromium::copy):
2304         (WebCore::WorkerAsyncFileSystemChromium::remove):
2305         (WebCore::WorkerAsyncFileSystemChromium::removeRecursively):
2306         (WebCore::WorkerAsyncFileSystemChromium::readMetadata):
2307         (WebCore::WorkerAsyncFileSystemChromium::createFile):
2308         (WebCore::WorkerAsyncFileSystemChromium::createDirectory):
2309         (WebCore::WorkerAsyncFileSystemChromium::fileExists):
2310         (WebCore::WorkerAsyncFileSystemChromium::directoryExists):
2311         (WebCore::WorkerAsyncFileSystemChromium::readDirectory):
2312         (WebCore::WorkerAsyncFileSystemChromium::createWriter):
2313         (WebCore::WorkerAsyncFileSystemChromium::createSnapshotFileAndReadMetadata):
2314         * src/WorkerAsyncFileSystemChromium.h:
2315         (WebCore::WorkerAsyncFileSystemChromium::create):
2316         (WorkerAsyncFileSystemChromium):
2317
2318 2012-05-07  Greg Billock  <gbillock@google.com>
2319
2320         [Web Intents] Flagged-off implementation of an intent tag for registration.
2321         https://bugs.webkit.org/show_bug.cgi?id=73039
2322
2323         Reviewed by Adam Barth.
2324
2325         The intent tag allows web pages to mark themselves declaratively as accepting
2326         web intent delivery of particular characteristics (action/type).
2327         See the spec at:
2328         http://dvcs.w3.org/hg/web-intents/raw-file/tip/spec/Overview.html
2329
2330         * WebKit.gyp:
2331         * src/FrameLoaderClientImpl.cpp:
2332         (WebKit::FrameLoaderClientImpl::registerIntentService):
2333         * src/FrameLoaderClientImpl.h:
2334
2335 2012-05-07  Sheriff Bot  <webkit.review.bot@gmail.com>
2336
2337         Unreviewed, rolling out r116375.
2338         http://trac.webkit.org/changeset/116375
2339         https://bugs.webkit.org/show_bug.cgi?id=85850
2340
2341         Build break on Chromium-win and Chromium-mac. (Requested by
2342         tkent on #webkit).
2343
2344         * WebKit.gyp:
2345         * WebKit.gypi:
2346         * tests/EventListenerTest.cpp: Removed.
2347         * tests/data/listener/mutation_event_listener.html: Removed.
2348
2349 2012-05-07  Dana Jansens  <danakj@chromium.org>
2350
2351         Region::intersects() and Region::contains() are slow due to copy overhead
2352         https://bugs.webkit.org/show_bug.cgi?id=81076
2353
2354         Reviewed by Anders Carlsson.
2355
2356         * tests/RegionTest.cpp:
2357         (WebCore):
2358         (WebCore::TEST):
2359
2360 2012-05-07  Tony Chang  <tony@chromium.org>
2361
2362         [chromium] move event_listener_unittest to webkit_unit_tests
2363         https://bugs.webkit.org/show_bug.cgi?id=85836
2364
2365         Reviewed by James Robinson.
2366
2367         Porting the test from src/webkit/tools/test_shell/event_listener_unittest.cc.
2368         All I did was change the style and use the FrameTestHelper to load the file.
2369
2370         * WebKit.gyp: Exclude file in components build.
2371         * WebKit.gypi: Add new file.
2372         * tests/EventListenerTest.cpp: Added.
2373         (WebKit):
2374         (TestWebDOMEventListener):
2375         (WebKit::TestWebDOMEventListener::TestWebDOMEventListener):
2376         (WebKit::TestWebDOMEventListener::~TestWebDOMEventListener):
2377         (WebKit::TestWebDOMEventListener::eventCount):
2378         (WebKit::TestWebDOMEventListener::eventAt):
2379         (WebKit::TestWebDOMEventListener::clearEvents):
2380         (WebDOMEventListenerTest):
2381         (WebKit::WebDOMEventListenerTest::WebDOMEventListenerTest):
2382         (WebKit::WebDOMEventListenerTest::SetUp):
2383         (WebKit::WebDOMEventListenerTest::TearDown):
2384         (WebKit::WebDOMEventListenerTest::mainFrame):
2385         (WebKit::WebDOMEventListenerTest::document):
2386         (WebKit::WebDOMEventListenerTest::executeScript):
2387         (WebKit::WebDOMEventListenerTest::GetNodeID):
2388         (WebKit::TEST_F):
2389         * tests/data/listener/mutation_event_listener.html: Added.
2390
2391 2012-05-07  Julien Chaffraix  <jchaffraix@webkit.org>
2392
2393         Refactor windowClipRectForLayer to remove the explicit RenderLayer dependency
2394         https://bugs.webkit.org/show_bug.cgi?id=84090
2395
2396         Reviewed by David Hyatt.
2397
2398         * src/WebPluginContainerImpl.cpp:
2399         Updated after windowClipRectForLayer name and signature change.
2400
2401 2012-05-07  Dana Jansens  <danakj@chromium.org>
2402
2403         [chromium] Ensure synchronization in threaded unit tests by checking the sourceFrameNumber() to count commits
2404         https://bugs.webkit.org/show_bug.cgi?id=85390
2405
2406         Reviewed by Adrienne Walker.
2407
2408         * tests/CCLayerTreeHostTest.cpp:
2409         (WTF::CCLayerTreeHostTestScrollMultipleRedraw::beginCommitOnCCThread):
2410         (WTF::CCLayerTreeHostTestAtomicCommit::commitCompleteOnCCThread):
2411         (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::commitCompleteOnCCThread):
2412         (WTF::CCLayerTreeHostTestScrollChildLayer::beginCommitOnCCThread):
2413
2414 2012-05-07  Adrienne Walker  <enne@google.com>
2415
2416         [chromium] Allow for asymmetric tile sizes on composited tiled layers
2417         https://bugs.webkit.org/show_bug.cgi?id=85687
2418
2419         Reviewed by James Robinson.
2420
2421         Update tests for new constructor and function args. Add a few more
2422         tests that use non-square tile sizes.
2423
2424         * tests/TilingDataTest.cpp:
2425         (WebCore::TestTiling::TestTiling):
2426         (WebCore::TEST):
2427         (WebCore):
2428
2429 2012-05-07  David Reveman  <reveman@chromium.org>
2430
2431         [Chromium] Use GL_CHROMIUM_command_buffer_query to throttle texture uploads.
2432         https://bugs.webkit.org/show_bug.cgi?id=81004
2433
2434         Reviewed by Adrienne Walker.
2435
2436         * WebKit.gypi:
2437         * tests/CCLayerTreeHostImplTest.cpp:
2438         (WebKitTests::TEST_F):
2439         * tests/CCTiledLayerTestCommon.h:
2440         (WebKitTests::FakeTextureUploader::isBusy):
2441         (WebKitTests::FakeTextureUploader::beginUploads):
2442         (WebKitTests::FakeTextureUploader::endUploads):
2443         * tests/Canvas2DLayerChromiumTest.cpp:
2444         * tests/LayerRendererChromiumTest.cpp:
2445         (FakeLayerRendererChromium::FakeLayerRendererChromium):
2446         (LayerRendererChromiumTest::LayerRendererChromiumTest):
2447         (TEST):
2448         * tests/ThrottledTextureUploaderTest.cpp: Added.
2449         (WebKit):
2450         (FakeWebGraphicsContext3DWithQueryTesting):
2451         (WebKit::FakeWebGraphicsContext3DWithQueryTesting::FakeWebGraphicsContext3DWithQueryTesting):
2452         (WebKit::FakeWebGraphicsContext3DWithQueryTesting::getQueryObjectuivEXT):
2453         (WebKit::FakeWebGraphicsContext3DWithQueryTesting::setResultAvailable):
2454         (WebKit::TEST):
2455         * tests/TiledLayerChromiumTest.cpp:
2456         (WTF::TEST):
2457
2458 2012-05-07  Sheriff Bot  <webkit.review.bot@gmail.com>
2459
2460         Unreviewed, rolling out r116334.
2461         http://trac.webkit.org/changeset/116334
2462         https://bugs.webkit.org/show_bug.cgi?id=85816
2463
2464         Broke the Chromium Win/Mac compile (Requested by
2465         ojan_gardening on #webkit).
2466
2467         * WebKit.gypi:
2468         * tests/LinkHighlightLayerDelegateTest.cpp: Removed.
2469
2470 2012-05-07  Mark Pilgrim  <pilgrim@chromium.org>
2471
2472         [Chromium] Move fileSystem to Platform.h
2473         https://bugs.webkit.org/show_bug.cgi?id=85760
2474
2475         Reviewed by Adam Barth.
2476
2477         Part of a refactoring series. See tracking bug 82948.
2478
2479         * WebKit.gyp:
2480         * public/platform/WebFileSystem.h:
2481         * public/platform/WebKitPlatformSupport.h:
2482         (WebKit):
2483         (WebKitPlatformSupport):
2484         * src/AssertMatchingEnums.cpp:
2485         * src/AsyncFileSystemChromium.cpp:
2486         (WebCore::AsyncFileSystemChromium::AsyncFileSystemChromium):
2487         * src/LocalFileSystemChromium.cpp:
2488         * src/WebFileSystemCallbacksImpl.cpp:
2489         * src/WebFileSystemCallbacksImpl.h:
2490         * src/WebFrameImpl.cpp:
2491         * src/WebWorkerClientImpl.h:
2492         * src/WorkerAsyncFileSystemChromium.cpp:
2493         * src/WorkerAsyncFileWriterChromium.cpp:
2494         * src/WorkerFileSystemCallbacksBridge.h:
2495         * src/WorkerFileWriterCallbacksBridge.cpp:
2496         (WebKit::WorkerFileWriterCallbacksBridge::initOnMainThread):
2497
2498 2012-05-07  W. James MacLean  <wjmaclean@chromium.org>
2499
2500         [chromium] Create LinkHighlightLayerChromium class to provide link-highlight preview animations for GraphicsLayerChromium.
2501         https://bugs.webkit.org/show_bug.cgi?id=85084
2502
2503         Reviewed by Adrienne Walker.
2504
2505         * WebKit.gypi:
2506         * tests/LinkHighlightLayerDelegateTest.cpp: Added.
2507         (WebCore):
2508         (MockGraphicsLayerClient):
2509         (WebCore::MockGraphicsLayerClient::notifyAnimationStarted):
2510         (WebCore::MockGraphicsLayerClient::notifySyncRequired):
2511         (WebCore::MockGraphicsLayerClient::paintContents):
2512         (WebCore::MockGraphicsLayerClient::showDebugBorders):
2513         (WebCore::MockGraphicsLayerClient::showRepaintCounter):
2514         (WebCore::TEST):
2515
2516 2012-05-07  Joshua Bell  <jsbell@chromium.org>
2517
2518         IndexedDB: LevelDB coding for bools is broken
2519         https://bugs.webkit.org/show_bug.cgi?id=85810
2520
2521         Reviewed by Tony Chang.
2522
2523         Added tests for encodeBool/decodeBool.
2524
2525         * tests/IDBLevelDBCodingTest.cpp:
2526         (IDBLevelDBCoding::TEST):
2527         (IDBLevelDBCoding):
2528
2529 2012-05-07  Shawn Singh  <shawnsingh@chromium.org>
2530
2531         [chromium] CCMathUtil projectPoint needs to avoid divide-by-zero
2532         https://bugs.webkit.org/show_bug.cgi?id=85560
2533
2534         Reviewed by Adrienne Walker.
2535
2536         * tests/CCLayerTreeHostCommonTest.cpp:
2537         (WebKitTests::TEST):
2538         * tests/CCMathUtilTest.cpp:
2539         (WebCore::TEST):
2540         (WebCore):
2541
2542 2012-05-07  Nat Duca  <nduca@chromium.org>
2543
2544         Unreviewed, rolling out r115525.
2545         http://trac.webkit.org/changeset/115525
2546         https://bugs.webkit.org/show_bug.cgi?id=66683
2547
2548         Too many pages rely on DOMTimeStamp as first argument.
2549         Reverting while we consider next steps.
2550
2551         * src/PageWidgetDelegate.cpp:
2552         (WebKit::PageWidgetDelegate::animate):
2553         * src/WebViewImpl.cpp:
2554         (WebKit::WebViewImpl::updateAnimations):
2555
2556 2012-05-07  Tommy Widenflycht  <tommyw@google.com>
2557
2558         MediaStream API: Allow UserMediaRequest::succeed to take an MediaStreamDescriptor
2559         https://bugs.webkit.org/show_bug.cgi?id=85798
2560
2561         Reviewed by Adam Barth.
2562
2563         Adding another WebUserMediaRequest::requestSucceed function that takes an
2564         WebMediaStreamDescriptor instead of the two WebMediaStreamSource arrays.
2565
2566         * public/WebUserMediaRequest.h:
2567         (WebKit):
2568         (WebUserMediaRequest):
2569         * src/WebUserMediaRequest.cpp:
2570         (WebKit::WebUserMediaRequest::requestSucceeded):
2571
2572 2012-05-07  Kinuko Yasuda  <kinuko@chromium.org>
2573
2574         Unreviewed: the same fix in another file for chromium win build.  Adding WebCore namespace to FileSystemTypes.
2575
2576         * src/WebFrameImpl.cpp:
2577         (WebKit::WebFrameImpl::createFileSystem):
2578         (WebKit::WebFrameImpl::createFileEntry):
2579
2580 2012-05-07  Kinuko Yasuda  <kinuko@chromium.org>
2581
2582         Not reviewed: chromium win build fix attempt; adding WebCore namespace to ambiguous type name.
2583
2584         * src/WebFileSystemCallbacksImpl.cpp:
2585         (WebKit::WebFileSystemCallbacksImpl::WebFileSystemCallbacksImpl):
2586
2587 2012-05-06  Kinuko Yasuda  <kinuko@chromium.org>
2588
2589         Cleanup: Change boolean synchronous flag argument into enum in FileSystem API code
2590         https://bugs.webkit.org/show_bug.cgi?id=85741
2591
2592         Reviewed by David Levin.
2593
2594         * src/LocalFileSystemChromium.cpp:
2595         (WebCore::openFileSystemHelper):
2596         (WebCore::LocalFileSystem::readFileSystem):
2597         (WebCore::LocalFileSystem::requestFileSystem):
2598         * src/WebFileSystemCallbacksImpl.cpp:
2599         (WebKit::WebFileSystemCallbacksImpl::WebFileSystemCallbacksImpl):
2600         (WebKit::WebFileSystemCallbacksImpl::didOpenFileSystem):
2601         * src/WebFileSystemCallbacksImpl.h:
2602         (WebFileSystemCallbacksImpl):
2603         * src/WorkerAsyncFileSystemChromium.cpp:
2604         (WebCore::WorkerAsyncFileSystemChromium::WorkerAsyncFileSystemChromium):
2605         (WebCore::WorkerAsyncFileSystemChromium::createWorkerFileSystemCallbacksBridge):
2606         * src/WorkerAsyncFileSystemChromium.h:
2607         (WebCore::WorkerAsyncFileSystemChromium::create):
2608         (WorkerAsyncFileSystemChromium):
2609
2610 2012-05-06  Kinuko Yasuda  <kinuko@chromium.org>
2611
2612         Cleanup: Move FileSystem API type definitions into a separate header file
2613         https://bugs.webkit.org/show_bug.cgi?id=85738
2614
2615         Reviewed by David Levin.
2616
2617         Move FileSystem API type definitions from AsyncFileSystem.h and
2618         AsyncFileSystemChromium.cpp for chromium port into a single separate
2619         header file: FileSystemType.h
2620
2621         By doing this we make it clearer that every filesystem type can be
2622         found in the header file and also can save including entire
2623         AsyncFileSystem definition just for referring type enum value.
2624
2625         * src/AssertMatchingEnums.cpp:
2626         * src/AsyncFileSystemChromium.cpp:
2627         (WebCore::AsyncFileSystem::crackFileSystemURL):
2628         (WebCore::AsyncFileSystem::isValidType):
2629         (WebCore::AsyncFileSystemChromium::AsyncFileSystemChromium):
2630         (WebCore::AsyncFileSystemChromium::createIsolatedFileSystem):
2631         (WebCore::AsyncFileSystemChromium::toURL):
2632         * src/AsyncFileSystemChromium.h:
2633         (WebCore::AsyncFileSystemChromium::create):
2634         (AsyncFileSystemChromium):
2635         * src/LocalFileSystemChromium.cpp:
2636         (WebCore::openFileSystemHelper):
2637         (WebCore::LocalFileSystem::readFileSystem):
2638         (WebCore::LocalFileSystem::requestFileSystem):
2639         * src/WebFileSystemCallbacksImpl.cpp:
2640         (WebKit::WebFileSystemCallbacksImpl::WebFileSystemCallbacksImpl):
2641         * src/WebFileSystemCallbacksImpl.h:
2642         (WebFileSystemCallbacksImpl):
2643         * src/WebFrameImpl.cpp:
2644         (WebKit::WebFrameImpl::createFileSystem):
2645         (WebKit::WebFrameImpl::createFileEntry):
2646         * src/WorkerAsyncFileSystemChromium.cpp:
2647         (WebCore::WorkerAsyncFileSystemChromium::WorkerAsyncFileSystemChromium):
2648         * src/WorkerAsyncFileSystemChromium.h:
2649         (WebCore::WorkerAsyncFileSystemChromium::create):
2650         (WorkerAsyncFileSystemChromium):
2651
2652 2012-05-06  Kinuko Yasuda  <kinuko@chromium.org>
2653
2654         Cleanup: FileSystem API's Entry.toURL() impl should return KURL instead of String
2655         https://bugs.webkit.org/show_bug.cgi?id=85736
2656
2657         Reviewed by David Levin.
2658
2659         Change AsyncFileSystemChromium::toURL()'s return type from String to KURL.
2660
2661         * src/AsyncFileSystemChromium.cpp:
2662         (WebCore::AsyncFileSystemChromium::toURL):
2663         String to KURL.
2664         * src/AsyncFileSystemChromium.h:
2665         (AsyncFileSystemChromium):
2666
2667 2012-05-06  Mark Pilgrim  <pilgrim@chromium.org>
2668
2669         [Chromium] Call currentThread through Platform.h directly
2670         https://bugs.webkit.org/show_bug.cgi?id=85769
2671
2672         Reviewed by Kentaro Hara.
2673
2674         Part of a refactoring series. See tracking bug 82948.
2675
2676         * tests/CCLayerTreeHostTest.cpp:
2677         (WTF::CCLayerTreeHostTest::onEndTest):
2678         (WTF::CCLayerTreeHostTest::runTest):
2679
2680 2012-05-06  Mark Pilgrim  <pilgrim@chromium.org>
2681
2682         [Chromium] Call cryptographicallyRandomValues through Platform.h
2683         https://bugs.webkit.org/show_bug.cgi?id=85763
2684
2685         Reviewed by Adam Barth.
2686
2687         Part of a refactoring series. See tracking bug 82948.
2688
2689         * src/ChromiumOSRandomSource.cpp:
2690         (WTF::cryptographicallyRandomValuesFromOS):
2691
2692 2012-05-06  Keishi Hattori  <keishi@webkit.org>
2693
2694         [chromium] Add WebKit API to access multiple attribute of input element
2695         https://bugs.webkit.org/show_bug.cgi?id=85355
2696
2697         Reviewed by Kent Tamura.
2698
2699         We need this to implement the datalist UI for <input type=email multiple>.
2700
2701         * public/WebInputElement.h:
2702         (WebInputElement):
2703         * src/WebInputElement.cpp:
2704         (WebKit::WebInputElement::isMultiple):
2705         (WebKit):
2706
2707 2012-05-06  Adam Barth  <abarth@webkit.org>
2708
2709         CSP should let sites both enforce one policy and monitor another
2710         https://bugs.webkit.org/show_bug.cgi?id=85561
2711
2712         Reviewed by Eric Seidel.
2713
2714         * src/SharedWorkerRepository.cpp:
2715         (WebCore::SharedWorkerScriptLoader::notifyFinished):
2716         * src/WebWorkerClientImpl.cpp:
2717         (WebKit::WebWorkerClientImpl::startWorkerContext):
2718
2719 2012-05-06  Kent Tamura  <tkent@chromium.org>
2720
2721         Rename ICULocale to LocaleICU, part 2
2722         https://bugs.webkit.org/show_bug.cgi?id=85695
2723
2724         Reviewed by Kentaro Hara.
2725
2726         * tests/LocalizedNumberICUTest.cpp:
2727         (testNumberIsReversible): Rename ICULocale to LocaleICU.
2728
2729 2012-05-06  Adrienne Walker  <enne@google.com>
2730
2731         [chromium] Allow WebMediaPlayerClientImpl to switch clients
2732         https://bugs.webkit.org/show_bug.cgi?id=85093
2733
2734         Reviewed by James Robinson.
2735
2736         WebVideoFrameProviderClient has a 1:1 relationship with a
2737         WebVideoFrameProvider. The client here is CCVideoLayerImpl and the
2738         provider is WebMediaPlayerClientImpl.  If the provider gets a new
2739         client, then the old client needs to be informed to stop using the
2740         provider.
2741
2742         If this doesn't happen, then the old client will have an unsafe
2743         pointer to the provider, will not get informed if the provider gets
2744         deleted, and the client will crash when it dereferences the provider
2745         pointer trying to tell the provider that its client is going away.
2746
2747         Test: WebMediaPlayerClientImplTest.InitialNullVideoClient
2748               WebMediaPlayerClientImplTest.SetAndUnsetVideoClient
2749               WebMediaPlayerClientImplTest.DestroyProvider
2750               WebMediaPlayerClientImplTest.SetMultipleVideoClients
2751
2752         * WebKit.gypi:
2753         * src/WebMediaPlayerClientImpl.cpp:
2754         (WebKit::WebMediaPlayerClientImpl::setVideoFrameProviderClient):
2755         * src/WebMediaPlayerClientImpl.h:
2756         (WebMediaPlayerClientImpl):
2757         * tests/WebMediaPlayerClientImplTest.cpp: Added.
2758         (WebKit):
2759         (FakeWebMediaPlayerClientImpl):
2760         (WebKit::FakeWebMediaPlayerClientImpl::create):
2761         (WebKit::FakeWebMediaPlayerClientImpl::FakeWebMediaPlayerClientImpl):
2762         (FakeVideoFrameProviderClient):
2763         (WebKit::FakeVideoFrameProviderClient::create):
2764         (WebKit::FakeVideoFrameProviderClient::~FakeVideoFrameProviderClient):
2765         (WebKit::FakeVideoFrameProviderClient::didReceiveFrame):
2766         (WebKit::FakeVideoFrameProviderClient::didUpdateMatrix):
2767         (WebKit::FakeVideoFrameProviderClient::stopUsingProvider):
2768         (WebKit::FakeVideoFrameProviderClient::provider):
2769         (WebKit::FakeVideoFrameProviderClient::FakeVideoFrameProviderClient):
2770         (WebKit::TEST):
2771
2772 2012-05-06  Sheriff Bot  <webkit.review.bot@gmail.com>
2773
2774         Unreviewed.  Rolled DEPS.
2775
2776         * DEPS:
2777
2778 2012-05-06  Andrey Kosyakov  <caseq@chromium.org>
2779
2780         Web Inspector: take timeline frame mode out of experimental
2781         https://bugs.webkit.org/show_bug.cgi?id=85707
2782
2783         Reviewed by Pavel Feldman.
2784
2785         - exposed supportFrameInstrumentation method to InspectorClient. Client must return true iff the platform will call
2786           InspectorInstrumentation::instrumentBeginFrame() upon beginning of frame rendering;
2787
2788         * src/InspectorClientImpl.cpp:
2789         (WebKit::InspectorClientImpl::supportsFrameInstrumentation):
2790         (WebKit):
2791         * src/InspectorClientImpl.h:
2792         (InspectorClientImpl):
2793
2794 2012-05-04  Kent Tamura  <tkent@chromium.org>
2795
2796         Rename ICULocale to LocaleICU, part 1
2797         https://bugs.webkit.org/show_bug.cgi?id=85688
2798
2799         Reviewed by Kentaro Hara.
2800
2801         * tests/LocalizedNumberICUTest.cpp: Rename ICULocale.h to LocaleICU.h.
2802
2803 2012-05-04  Shawn Singh  <shawnsingh@chromium.org>
2804
2805         [chromium] Changes to layer tree structure need to be tracked properly
2806         https://bugs.webkit.org/show_bug.cgi?id=85421
2807
2808         Reviewed by Adrienne Walker.
2809
2810         Unit test added: TreeSynchronizerTest.syncSimpleTreeAndTrackStackingOrderChange
2811
2812         * tests/TreeSynchronizerTest.cpp:
2813         (WebKitTests):
2814         (WebKitTests::TEST):
2815
2816 2012-05-04  Tony Chang  <tony@chromium.org>
2817
2818         [chromium] enable msvs_error_on_missing_sources at gyp time
2819         https://bugs.webkit.org/show_bug.cgi?id=85683
2820
2821         Reviewed by Adam Barth.
2822
2823         This flag checks for missing files, which cause compile times to be
2824         slow on Windows. Since this flag is on by default for the
2825         build.chromium.org bots, we should add it here too so everyone can fix
2826         these errors.
2827
2828         * DEPS: Roll to a chromium version that has no missing files.
2829         * gyp_webkit: Add the flag.
2830
2831 2012-05-04  Satoru Takabayashi  <satorux@chromium.org>
2832
2833         [chromium] Add plumbing for file display names for drag and drop
2834         https://bugs.webkit.org/show_bug.cgi?id=85673
2835
2836         Reviewed by Darin Fisher.
2837
2838         * public/platform/WebDragData.h:
2839         * src/WebDragData.cpp:
2840         (WebKit::WebDragData::items):
2841         (WebKit::WebDragData::addItem):
2842
2843 2012-05-04  Adam Barth  <abarth@webkit.org>
2844
2845         Refactor CSP state to prepare for having both a ReportOnly and an Enforced policy
2846         https://bugs.webkit.org/show_bug.cgi?id=85662
2847
2848         Reviewed by Eric Seidel.
2849
2850         Update callers to the new function name.
2851
2852         * src/SharedWorkerRepository.cpp:
2853         (WebCore::SharedWorkerScriptLoader::notifyFinished):
2854         * src/WebWorkerClientImpl.cpp:
2855         (WebKit::WebWorkerClientImpl::startWorkerContext):
2856
2857 2012-05-04  Sami Kyostila  <skyostil@chromium.org>
2858
2859         [chromium] Revert compositor layer scrolling
2860         https://bugs.webkit.org/show_bug.cgi?id=85644
2861
2862         Reviewed by Steve Block.
2863
2864         * src/WebContentLayerImpl.cpp:
2865         * src/WebContentLayerImpl.h:
2866         (WebContentLayerImpl):
2867         * tests/CCLayerTreeHostCommonTest.cpp:
2868         * tests/CCLayerTreeHostImplTest.cpp:
2869         (WebKitTests::TEST_F):
2870         * tests/CCLayerTreeHostTest.cpp:
2871         (WTF::MockContentLayerDelegate::paintContents):
2872
2873 2012-05-04  Tommy Widenflycht  <tommyw@google.com>
2874
2875         MediaStream API: Make PeerConnection00's API fully compliant with the draft
2876         https://bugs.webkit.org/show_bug.cgi?id=85491
2877
2878         Reviewed by Adam Barth.
2879
2880         * src/AssertMatchingEnums.cpp:
2881
2882 2012-05-04  Nate Chapin  <japhet@chromium.org>
2883
2884         Don't require FrameLoaderClient to manufacture a commitData() call for empty documents.
2885         https://bugs.webkit.org/show_bug.cgi?id=85533
2886
2887         Reviewed by Alexey Proskuryakov.
2888
2889         * src/FrameLoaderClientImpl.cpp:
2890         (WebKit::FrameLoaderClientImpl::FrameLoaderClientImpl):
2891         (WebKit):
2892         (WebKit::FrameLoaderClientImpl::finishedLoading):
2893         * src/FrameLoaderClientImpl.h:
2894         (WebKit::FrameLoaderClientImpl::makeRepresentation):
2895         (WebKit::FrameLoaderClientImpl::revertToProvisionalState):
2896         (FrameLoaderClientImpl):
2897
2898 2012-05-04  Alexander Pavlov  <apavlov@chromium.org>
2899
2900         Web Inspector: [Device Metrics] With "Fit window" option on, page contents are downscaled incorrectly
2901         https://bugs.webkit.org/show_bug.cgi?id=85510
2902
2903         Reviewed by Pavel Feldman.
2904
2905         Use the RenderView width rather than FrameView contents width whenever possible.
2906         Drive-by: add protection from division-by-zero (for some weird rendering states).
2907
2908         Test: inspector/styles/device-metrics-fit-window.html
2909
2910         * src/WebDevToolsAgentImpl.cpp:
2911         (WebKit::DeviceMetricsSupport::ensureOriginalZoomFactor):
2912         (WebKit::DeviceMetricsSupport::scaledEmulatedFrameSize):
2913
2914 2012-05-03  W. James MacLean  <wjmaclean@chromium.org>
2915
2916         [chromium] Revise touchpad fling curve to use exponential curve, to improve feel and small fling performance.
2917         https://bugs.webkit.org/show_bug.cgi?id=85530
2918
2919         Reviewed by Kenneth Russell.
2920
2921         * tests/PlatformGestureCurveTest.cpp:
2922
2923 2012-05-03  Dimitri Glazkov  <dglazkov@chromium.org>
2924
2925         [Chromium] Use correct define in the features.gypi
2926         https://bugs.webkit.org/show_bug.cgi?id=85520
2927
2928         Patch by Ben Goodger.
2929
2930         Reviewed by Tony Chang.
2931
2932         * features.gypi: Replaced use_aura with a more appropriate chromeos
2933
2934 2012-05-03  Antony Sargent  <asargent@chromium.org>
2935
2936         Add methods to create WebArrayBuffer/WebArrayBufferView from v8 objects
2937         https://bugs.webkit.org/show_bug.cgi?id=84899
2938
2939         Reviewed by Adam Barth.
2940
2941         * public/WebArrayBuffer.h:
2942         (WebArrayBuffer):
2943         * public/platform/WebArrayBufferView.h:
2944         (v8):
2945         (WebArrayBufferView):
2946         * src/WebArrayBuffer.cpp:
2947         (WebKit):
2948         (WebKit::WebArrayBuffer::createFromV8Value):
2949         * src/WebArrayBufferView.cpp:
2950         (WebKit):
2951         (WebKit::WebArrayBufferView::createFromV8Value):
2952
2953 2012-05-03  Dana Jansens  <danakj@chromium.org>
2954
2955         [chromium] Don't add small opaque areas to the occlusion tracker's Region
2956         https://bugs.webkit.org/show_bug.cgi?id=85297
2957
2958         Reviewed by Adrienne Walker.
2959
2960         * tests/CCOcclusionTrackerTest.cpp:
2961         (WebKitTests):
2962         (CCOcclusionTrackerTestMinimumTrackingSize):
2963         (WebKitTests::CCOcclusionTrackerTestMinimumTrackingSize::runMyTest):
2964
2965 2012-05-02  Jon Lee  <jonlee@apple.com>
2966
2967         Migrate permission functions to Notification from NotificationCenter
2968         https://bugs.webkit.org/show_bug.cgi?id=80485
2969         <rdar://problem/10965458>
2970
2971         Reviewed by Jian Li.
2972
2973         * src/NotificationPresenterImpl.h:
2974         (NotificationPresenterImpl): Add stub implementation of requestPermission.
2975         (WebKit::NotificationPresenterImpl::requestPermission):
2976
2977 2012-05-02  Dana Jansens  <danakj@chromium.org>
2978
2979         [chromium] Don't occlude pixels in a surface that are needed for a background filter blur
2980         https://bugs.webkit.org/show_bug.cgi?id=84317
2981
2982         Reviewed by Adrienne Walker.
2983
2984         * tests/CCOcclusionTrackerTest.cpp:
2985         (WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblings::runMyTest):
2986         (WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms::runMyTest):
2987         (WebKitTests::CCOcclusionTrackerTestAnimationOpacity1OnMainThread::runMyTest):
2988         (WebKitTests::CCOcclusionTrackerTestAnimationOpacity0OnMainThread::runMyTest):
2989         (WebKitTests::CCOcclusionTrackerTestAnimationTranslateOnMainThread::runMyTest):
2990         (WebKitTests::CCOcclusionTrackerTestReplicaOccluded::runMyTest):
2991         (WebKitTests::CCOcclusionTrackerTestSurfaceWithReplicaUnoccluded::runMyTest):
2992         (WebKitTests::CCOcclusionTrackerTestSurfaceAndReplicaOccludedDifferently::runMyTest):
2993         (WebKitTests::CCOcclusionTrackerTestSurfaceChildOfSurface::runMyTest):
2994         (WebKitTests::CCOcclusionTrackerTestSurfaceChildOfClippingSurface::runMyTest):
2995         (WebKitTests):
2996         (CCOcclusionTrackerTestDontOccludePixelsNeededForBackgroundFilter):
2997         (WebKitTests::CCOcclusionTrackerTestDontOccludePixelsNeededForBackgroundFilter::runMyTest):
2998         (CCOcclusionTrackerTestTwoBackgroundFiltersReduceOcclusionTwice):
2999         (WebKitTests::CCOcclusionTrackerTestTwoBackgroundFiltersReduceOcclusionTwice::runMyTest):
3000         (CCOcclusionTrackerTestDontOccludePixelsNeededForBackgroundFilterWithClip):
3001         (WebKitTests::CCOcclusionTrackerTestDontOccludePixelsNeededForBackgroundFilterWithClip::runMyTest):
3002         (CCOcclusionTrackerTestDontReduceOcclusionBelowBackgroundFilter):
3003         (WebKitTests::CCOcclusionTrackerTestDontReduceOcclusionBelowBackgroundFilter::runMyTest):
3004         (CCOcclusionTrackerTestDontReduceOcclusionIfBackgroundFilterIsOccluded):
3005         (WebKitTests::CCOcclusionTrackerTestDontReduceOcclusionIfBackgroundFilterIsOccluded::runMyTest):
3006         (CCOcclusionTrackerTestReduceOcclusionWhenBackgroundFilterIsPartiallyOccluded):
3007         (WebKitTests::CCOcclusionTrackerTestReduceOcclusionWhenBackgroundFilterIsPartiallyOccluded::runMyTest):
3008
3009 2012-04-18  Jon Honeycutt  <jhoneycutt@apple.com>
3010
3011         FrameLoaderClient::dispatchWillSendSubmitEvent() should be given more
3012         information about the form being submitted
3013         https://bugs.webkit.org/show_bug.cgi?id=84297
3014
3015         Reviewed by Andy Estes.
3016
3017         * src/FrameLoaderClientImpl.cpp:
3018         (WebKit::FrameLoaderClientImpl::dispatchWillSendSubmitEvent):
3019         Updated to use the FormState.
3020
3021         * src/FrameLoaderClientImpl.h:
3022         (FrameLoaderClientImpl):
3023         Updated method declaration.
3024
3025 2012-05-02  Joshua Bell  <jsbell@chromium.org>
3026
3027         Roll Chromium DEPS r134537 to r134581.
3028         https://bugs.webkit.org/show_bug.cgi?id=85428
3029
3030         Unreviewed - just a deps roll.
3031
3032         * DEPS:
3033
3034 2012-05-02  Jochen Eisinger  <jochen@chromium.org>
3035
3036         [chromium] Add WebDocument::referrerPolicy() which wraps the same method on Document
3037         https://bugs.webkit.org/show_bug.cgi?id=85201
3038
3039         Reviewed by Adam Barth.
3040
3041         Embedders should use webFrame->document()->referrerPolicy() instead of webFrame->referrerPolicy(). The latter will be removed soon.
3042
3043         * public/WebDocument.h:
3044         (WebDocument):
3045         * src/WebDocument.cpp:
3046         (WebKit::WebDocument::referrerPolicy):
3047         (WebKit):
3048
3049 2012-05-02  Michal Mocny  <mmocny@google.com>
3050
3051         [chromium] Set contents texture manager preferred memory limit based on GpuMemoryManager suggestion.
3052         https://bugs.webkit.org/show_bug.cgi?id=84270
3053
3054         Reviewed by Kenneth Russell.
3055
3056         * tests/CCLayerTreeHostImplTest.cpp:
3057         * tests/LayerRendererChromiumTest.cpp:
3058
3059 2012-05-02  Emil A Eklund  <eae@chromium.org>
3060
3061         Fix usage of layout types in platform code
3062         https://bugs.webkit.org/show_bug.cgi?id=85392
3063
3064         Reviewed by Eric Seidel.
3065
3066         * src/WebHitTestResult.cpp:
3067         (WebKit::WebHitTestResult::localPoint):
3068         * src/WebSurroundingText.cpp:
3069         (WebKit::WebSurroundingText::initialize):
3070         Explicitly cast WebPoint to IntPoint to avoid ambiguous conversion error.       
3071
3072 2012-05-02  Yury Semikhatsky  <yurys@chromium.org>
3073
3074         Web Inspector: TypeError: Cannot call method 'createLiveLocation' of undefined
3075         https://bugs.webkit.org/show_bug.cgi?id=85371
3076
3077         Standard extension scripts injected to the Chromium background page should have
3078         correct script data which means that context debug id should be already set on
3079         the context where they are compiled before the compilation. This patch moves
3080         assignment of context debug id earlier where it is known that no scripts have
3081         been evaluated in the context.
3082
3083         Reviewed by Pavel Feldman.
3084
3085         * src/FrameLoaderClientImpl.cpp:
3086         (WebKit::FrameLoaderClientImpl::dispatchDidClearWindowObjectInWorld):
3087         (WebKit::FrameLoaderClientImpl::didCreateScriptContext):
3088         * src/WebDevToolsAgentImpl.cpp:
3089         (WebKit::WebDevToolsAgentImpl::didCreateScriptContext):
3090         * src/WebDevToolsAgentImpl.h:
3091         (WebDevToolsAgentImpl):
3092         * src/WebDevToolsAgentPrivate.h:
3093         (WebDevToolsAgentPrivate):
3094
3095 2012-05-02  Tommy Widenflycht  <tommyw@google.com>
3096
3097         MediaStream API: Changing webkitGetUserMedia to take an object instead of a string
3098         https://bugs.webkit.org/show_bug.cgi?id=84850
3099
3100         Reviewed by Dimitri Glazkov.
3101
3102         * public/WebUserMediaRequest.h:
3103         (WebUserMediaRequest):
3104         * src/WebUserMediaRequest.cpp:
3105
3106 2012-05-01  Mark Pilgrim  <pilgrim@chromium.org>
3107
3108         [Chromium] Additional instances of calling histogramCustomCounts directly
3109         https://bugs.webkit.org/show_bug.cgi?id=85322
3110
3111         Reviewed by Kentaro Hara.
3112
3113         Part of a refactoring series. See tracking bug 82948.
3114
3115         * src/painting/PaintAggregator.cpp:
3116         (WebKit::PaintAggregator::invalidateRect):
3117
3118 2012-05-01  Min Qin  <qinmin@google.com>
3119
3120         use USE(NATIVE_FULLSCREEN_VIDEO) instead of ENABLE(NATIVE_FULLSCREEN_VIDEO)
3121         https://bugs.webkit.org/show_bug.cgi?id=85316
3122
3123         Reviewed by Kent Tamura.
3124
3125         NATIVE_FULLSCREEN_VIDEO means the fullscreen video is implemented by native
3126         system view instead of webkit
3127         So it is more appropriate to use USE(NATIVE_FULLSCREEN_VIDEO).
3128         Just rename the flag, no new tests
3129
3130         * features.gypi:
3131         * src/WebMediaPlayerClientImpl.cpp:
3132         (WebKit):
3133         * src/WebMediaPlayerClientImpl.h:
3134         (WebMediaPlayerClientImpl):
3135         * src/WebViewImpl.cpp:
3136         (WebKit::WebViewImpl::enterFullScreenForElement):
3137         (WebKit::WebViewImpl::exitFullScreenForElement):
3138
3139 2012-05-01  Mark Pilgrim  <pilgrim@chromium.org>
3140
3141         [Chromium] Additional instances of calling createAudioDevice directly
3142         https://bugs.webkit.org/show_bug.cgi?id=85321
3143
3144         Reviewed by Kentaro Hara.
3145
3146         Part of a refactoring series. See tracking bug 82948.
3147
3148         * src/AudioDestinationChromium.cpp:
3149         (WebCore::AudioDestinationChromium::AudioDestinationChromium):
3150
3151 2012-05-01  Mark Pilgrim  <pilgrim@chromium.org>
3152
3153         [Chromium] Additional instances of calling mimeRegistry directly
3154         https://bugs.webkit.org/show_bug.cgi?id=85320
3155
3156         Reviewed by Eric Seidel.
3157
3158         Part of a refactoring series. See tracking bug 82948.
3159
3160         * src/FrameLoaderClientImpl.cpp:
3161         (WebKit::FrameLoaderClientImpl::canShowMIMEType):
3162         * src/WebMediaPlayerClientImpl.cpp:
3163         (WebKit::WebMediaPlayerClientImpl::supportsType):
3164
3165 2012-05-01  Ryosuke Niwa  <rniwa@webkit.org>
3166
3167         *Command.h files shouldn't be exported to WebKit layer
3168         https://bugs.webkit.org/show_bug.cgi?id=74778
3169
3170         Reviewed by Eric Seidel.
3171
3172         * src/WebFrameImpl.cpp:
3173         * src/WebViewImpl.cpp:
3174
3175 2012-05-01  Julien Chaffraix  <jchaffraix@webkit.org>
3176
3177         WebKit test RenderTableCellDeathTest.CanSetRow is failing as of r115705
3178         https://bugs.webkit.org/show_bug.cgi?id=85274
3179
3180         Reviewed by Ojan Vafai.
3181
3182         The tests were crashing as we were creating a RenderTableCell without any RenderTableRow parent
3183         which shouldn't happen inside the render tree.
3184
3185         Using RenderTableCell to access RenderTableRow was artificial and the checks have now been moved
3186         to using a RenderTableRow directly.
3187
3188         * WebKit.gyp:
3189         * WebKit.gypi:
3190         Added the new file.
3191
3192         * tests/RenderTableCellTest.cpp:
3193         Removed the row index tests as they are now in the following file.
3194
3195         * tests/RenderTableRowTest.cpp: Copied from Source/WebKit/chromium/tests/RenderTableCellTest.cpp.
3196         Changed a bit the row index tests and re-enabled them.
3197
3198 2012-05-01  Pavel Feldman  <pfeldman@chromium.org>
3199
3200         WebKit unit tests RenderTableCellDeathTest.CanSetRow* are failing as of r115705
3201         https://bugs.webkit.org/show_bug.cgi?id=85274
3202
3203         Not reviewed: test disabled.
3204
3205         * tests/RenderTableCellTest.cpp:
3206
3207 2012-05-01  Pavel Feldman  <pfeldman@chromium.org>
3208
3209         WebKit test RenderTableCellDeathTest.CanSetRow is failing as of r115705
3210         https://bugs.webkit.org/show_bug.cgi?id=85274
3211
3212         Not reviewed: test disabled.
3213
3214         The test is based on the standalone cell, while the new logic
3215         requires parent to be present upon the row index set.
3216
3217         * tests/RenderTableCellTest.cpp:
3218
3219 2012-05-01  Hironori Bono  <hbono@chromium.org>
3220
3221         [Chromium] Regression r113405 ContextMenuImpl does not set a misspelled word
3222         https://bugs.webkit.org/show_bug.cgi?id=85271
3223
3224         Reviewed by Kent Tamura.
3225
3226         This change calls selectMisspelledWord() to get a misspelled word so Chrome can
3227         set the misspelledWord variable without selecting text.
3228
3229         * src/ContextMenuClientImpl.cpp:
3230         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
3231
3232 2012-04-30  Kent Tamura  <tkent@chromium.org>
3233
3234         [Chromium/Windows] Add LocalizedDateWin
3235         https://bugs.webkit.org/show_bug.cgi?id=84935
3236
3237         Reviewed by Kentaro Hara.
3238
3239         Add test for LocaleWin.cpp.
3240
3241         * WebKit.gypi:
3242         * tests/LocaleWinTest.cpp: Added.
3243         (msForDate): A helper function.
3244         (TEST):
3245
3246 2012-04-30  Julien Chaffraix  <jchaffraix@webkit.org>
3247
3248         Move RenderTableCell's row index to RenderTableRow
3249         https://bugs.webkit.org/show_bug.cgi?id=85229
3250
3251         Reviewed by Ojan Vafai.
3252
3253         * tests/RenderTableCellTest.cpp:
3254         Updated after the refactoring.
3255
3256 2012-04-30  Gavin Peters  <gavinp@chromium.org>
3257
3258         [Chromium] Add thunk headers for staging Prerendering API.
3259         https://bugs.webkit.org/show_bug.cgi?id=84880
3260
3261         Reviewed by Adam Barth.
3262
3263         These empty headers will be replaced by the actual API when Bug 85005 is commited.
3264
3265         * WebKit.gyp:
3266         * public/WebPrerendererClient.h: Added.
3267         (WebKit):
3268         (WebPrerendererClient):
3269         * public/WebView.h:
3270         (WebKit):
3271         (WebKit::WebView::setPrerendererClient):
3272
3273 2012-04-30  Ilya Sherman  <isherman@chromium.org>
3274
3275         [Chromium] Fix Autofill popup visibility behavior
3276         Prevent users from interacting with invisible Autofill popups rendered outside the main frame's contents view.
3277         This is a recommit of r115400, restricted to just Autofill popups.
3278         https://bugs.webkit.org/show_bug.cgi?id=84420
3279
3280         Reviewed by Abhishek Arya
3281
3282         * src/ChromeClientImpl.cpp:
3283         (WebKit::ChromeClientImpl::popupOpened): Hide popups rendered outside the main frame's contents view.
3284         * src/WebViewImpl.cpp:
3285         (WebKit::WebViewImpl::applyAutofillSuggestions): Fix up order of operations to support immediately hiding a popup if it would not be visible
3286
3287 2012-04-30  Sadrul Habib Chowdhury  <sadrul@chromium.org>
3288
3289         [chromium] Disable battery-status API support.
3290
3291         The battery-status API support should not have view-dependency. So disable it until
3292         that is fixed.
3293         https://bugs.webkit.org/show_bug.cgi?id=84499
3294
3295         Reviewed by Adam Barth.
3296
3297         * features.gypi:
3298
3299 2012-04-30  Gavin Peters  <gavinp@chromium.org>
3300
3301         [Chromium] Remove Webkit/chromium/public/WebReferrerPolicy.h thunk.
3302         https://bugs.webkit.org/show_bug.cgi?id=84552
3303
3304         After http://codereview.chromium.org/10139023/ lands, this thunk is no
3305         longer needed.
3306
3307         Reviewed by Adam Barth.
3308
3309         * WebKit.gyp:
3310         * public/WebReferrerPolicy.h: Removed.
3311
3312 2012-04-29  Sam Weinig  <sam@webkit.org>
3313
3314         Remove BlobBuilder
3315         https://bugs.webkit.org/show_bug.cgi?id=84036
3316
3317         Reviewed by Anders Carlsson.
3318
3319         * features.gypi:
3320         Keep WebKitBlobBuilder enabled for Chromium, since it has shipped it.
3321
3322 2012-04-30  Min Qin  <qinmin@google.com>
3323
3324         Expose a flag so that fullscreen video on android can work with FULLSCREEN_API
3325         https://bugs.webkit.org/show_bug.cgi?id=84414
3326
3327         Reviewed by Darin Fisher.
3328
3329         On android, the fullscreen video was implemented by passing a java
3330         surfaceView to an android mediaplayer class.
3331         The implementation of that logic should happen in WebKit::WebMediaPlayer.
3332         This change makes it possble for WebViewImpl::enterFullScreenForElement()
3333         to call WebMediaPlayer->enterFullscreen(), thus solving the issue.
3334
3335         Sorry, there is a merge error during the previous commit, resolved now
3336
3337         No new tests. This just exposes the flag so later it can be used by android.
3338
3339         * features.gypi:
3340         * public/WebMediaPlayer.h:
3341         (WebMediaPlayer):
3342         (WebKit::WebMediaPlayer::enterFullscreen):
3343         (WebKit::WebMediaPlayer::exitFullscreen):
3344         * src/WebMediaPlayerClientImpl.cpp:
3345         (WebKit):
3346         (WebKit::WebMediaPlayerClientImpl::enterFullscreen):
3347         (WebKit::WebMediaPlayerClientImpl::exitFullscreen):
3348         * src/WebMediaPlayerClientImpl.h:
3349         (WebMediaPlayerClientImpl):
3350         * src/WebViewImpl.cpp:
3351         (WebKit::WebViewImpl::enterFullScreenForElement):
3352         (WebKit::WebViewImpl::exitFullScreenForElement):
3353
3354 2012-04-30  Gavin Peters  <gavinp@chromium.org>
3355
3356         Unreviewed.  Rolled DEPS.
3357
3358         * DEPS:
3359
3360 2012-04-30  Mark Pilgrim  <pilgrim@chromium.org>
3361
3362         [Chromium] Remove PlatformSupport::loadPlatformAudioResource, call loadResource directly
3363         https://bugs.webkit.org/show_bug.cgi?id=85193
3364
3365         Reviewed by Kentaro Hara.
3366
3367         Part of a refactoring series. See tracking bug 82948.
3368
3369         * src/PlatformSupport.cpp:
3370         (WebCore):
3371
3372 2012-04-30  Mark Pilgrim  <pilgrim@chromium.org>
3373
3374         [Chromium] Call defaultLocale directly
3375         https://bugs.webkit.org/show_bug.cgi?id=85192
3376
3377         Reviewed by Kentaro Hara.
3378
3379         Part of a refactoring series. See tracking bug 82948.
3380
3381         * src/PlatformSupport.cpp:
3382         (WebCore):
3383
3384 2012-04-30  Mark Pilgrim  <pilgrim@chromium.org>
3385
3386         [Chromium] Use new syntax to call callOnMainThread directly
3387         https://bugs.webkit.org/show_bug.cgi?id=85190
3388
3389         Reviewed by Kentaro Hara.
3390
3391         Part of a refactoring series. See tracking bug 82948.
3392
3393         * src/ChromiumThreading.cpp:
3394         (WTF::ChromiumThreading::callOnMainThread):
3395
3396 2012-04-30  Mark Pilgrim  <pilgrim@chromium.org>
3397
3398         [Chromium] Use new syntax to call monotonicallyIncreasingTime directly
3399         https://bugs.webkit.org/show_bug.cgi?id=85189
3400
3401         Reviewed by Kentaro Hara.
3402
3403         Part of a refactoring series. See tracking bug 82948.
3404
3405         * src/ChromiumCurrentTime.cpp:
3406         (WTF::monotonicallyIncreasingTime):
3407
3408 2012-04-30  Mark Pilgrim  <pilgrim@chromium.org>
3409
3410         [Chromium] Use new syntax to call userAgent directly
3411         https://bugs.webkit.org/show_bug.cgi?id=85188
3412
3413         Reviewed by Kentaro Hara.
3414
3415         Part of a refactoring series. See tracking bug 82948.
3416         
3417         * src/FrameLoaderClientImpl.cpp:
3418         (WebKit::FrameLoaderClientImpl::userAgent):
3419
3420 2012-04-30  Mark Pilgrim  <pilgrim@chromium.org>
3421
3422         [Chromium] Use new syntax to call currentTime directly
3423         https://bugs.webkit.org/show_bug.cgi?id=85187
3424
3425         Reviewed by Kentaro Hara.
3426
3427         Part of a refactoring series. See tracking bug 82948.
3428
3429         * src/ChromiumCurrentTime.cpp:
3430         (WTF::currentTime):
3431
3432 2012-04-30  Mark Pilgrim  <pilgrim@chromium.org>
3433
3434         [Chromium] Use new syntax to call currentThread directly
3435         https://bugs.webkit.org/show_bug.cgi?id=85185
3436
3437         Reviewed by Kentaro Hara.
3438
3439         Part of a refactoring series. See tracking bug 82948.
3440         
3441         * src/CCThreadImpl.cpp:
3442         (WebKit::CCThreadImpl::CCThreadImpl):
3443         * src/WebCompositorImpl.cpp:
3444         (WebKit::WebCompositorImpl::initialize):
3445
3446 2012-04-30  Mark Pilgrim  <pilgrim@chromium.org>
3447
3448         [Chromium] Use new syntax to call createThread directly
3449         https://bugs.webkit.org/show_bug.cgi?id=85186
3450
3451         Reviewed by Kentaro Hara.
3452
3453         Part of a refactoring series. See tracking bug 82948.
3454
3455         * tests/CCLayerTreeHostTest.cpp:
3456         (WTF::CCLayerTreeHostTest::runTest):
3457         * tests/Canvas2DLayerChromiumTest.cpp:
3458         (Canvas2DLayerChromiumTest::fullLifecycleTest):
3459
3460 2012-04-30  Mark Pilgrim  <pilgrim@chromium.org>
3461
3462         [Chromium] Use new syntax to call createSocketStreamHandle directly
3463         https://bugs.webkit.org/show_bug.cgi?id=85184
3464
3465         Reviewed by Kentaro Hara.
3466
3467         Part of a refactoring series. See tracking bug 82948.
3468         
3469         * src/SocketStreamHandle.cpp:
3470         (WebCore::SocketStreamHandleInternal::connect):
3471
3472 2012-04-29  Mark Pilgrim  <pilgrim@chromium.org>
3473
3474         [Chromium] Call highUsageDeltaMB directly
3475         https://bugs.webkit.org/show_bug.cgi?id=84844
3476
3477         Reviewed by Kentaro Hara.
3478
3479         Part of a refactoring series. See tracking bug 82948.
3480
3481         * src/PlatformSupport.cpp:
3482         (WebCore):
3483
3484 2012-04-28  Ilya Tikhonovsky  <loislo@chromium.org>
3485
3486         Web Inspector: InspectorFrontendHost.append has to be implemented for saving heap snapshots.
3487         https://bugs.webkit.org/show_bug.cgi?id=85137
3488
3489         We can save a file with help of InspectorFrontendHost.save method,
3490         but it is suitable only for relatively small portions of data and
3491         can't process the 6Gb heap snapshot.
3492         These methods just pass the url and content into embedder.
3493
3494         Reviewed by Yury Semikhatsky.
3495
3496         * public/WebDevToolsFrontendClient.h:
3497         (WebKit::WebDevToolsFrontendClient::append):
3498         * src/InspectorFrontendClientImpl.cpp:
3499         (WebKit::InspectorFrontendClientImpl::append):
3500         (WebKit):
3501         * src/InspectorFrontendClientImpl.h:
3502         (InspectorFrontendClientImpl):
3503
3504 2012-04-28  Andrey Kosyakov  <caseq@chromium.org>
3505
3506         [chromium] add frame boundaries instrumentation for the threaded compositor
3507         https://bugs.webkit.org/show_bug.cgi?id=83926
3508
3509         - call instrumentBeginFrame() in a callback invoked by CCThreadProxy to fix frame marks in WebInspector's