d2bdcf8e7b2b96b18189a4c435611beb060e8e20
[WebKit-https.git] / Source / WebKit / chromium / ChangeLog
1 2012-03-14  Sheriff Bot  <webkit.review.bot@gmail.com>
2
3         Unreviewed.  Rolled DEPS.
4
5         * DEPS:
6
7 2012-03-13  Hajime Morrita  <morrita@chromium.org>
8
9         Unreviewed, mark verifyCullChildLinesUpTopLeft() as failed.
10
11         * tests/CCQuadCullerTest.cpp:
12         (WebCore):
13         (WebCore::TEST):
14
15 2012-03-13  Shawn Singh  <shawnsingh@chromium.org>
16
17         [chromium] wrong transform causing incorrect culling
18         https://bugs.webkit.org/show_bug.cgi?id=80471
19
20         Reviewed by James Robinson.
21
22         * tests/CCRenderSurfaceTest.cpp:
23         (WebCore::TEST):
24         (WebCore):
25
26 2012-03-13  Nat Duca  <nduca@chromium.org>
27
28         [chromium] vsync ticks are needed in invisible tabs when we are still updating resources
29         https://bugs.webkit.org/show_bug.cgi?id=80910
30
31         Reviewed by James Robinson.
32
33         * tests/CCSchedulerStateMachineTest.cpp:
34         (WebCore::TEST):
35         (WebCore):
36
37 2012-03-13  Dana Jansens  <danakj@chromium.org>
38
39         Region::contains(IntPoint) is slow
40         https://bugs.webkit.org/show_bug.cgi?id=81008
41
42         Reviewed by Anders Carlsson.
43
44         * WebKit.gypi:
45         * tests/RegionTest.cpp: Added.
46         (WebCore):
47         (WebCore::TEST):
48
49 2012-03-13  Gavin Peters  <gavinp@chromium.org>
50
51         Implement ApplicationCacheHost::canCacheInPageCache() for chromium.
52         https://bugs.webkit.org/show_bug.cgi?id=80905
53
54         Reviewed by Eric Seidel.
55
56         This won't cause chrome to use the PageCache, but it will cause our histogram statistics
57         describing PageCache use to be more accurate.
58
59         * src/ApplicationCacheHost.cpp:
60         (WebCore::ApplicationCacheHost::canCacheInPageCache):
61
62 2012-03-13  Dana Jansens  <danakj@chromium.org>
63
64         [chromium] Use CCOcclusionTracker for draw culling
65         https://bugs.webkit.org/show_bug.cgi?id=80743
66
67         Reviewed by Adrienne Walker.
68
69         * WebKit.gypi:
70         * tests/CCLayerTreeHostImplTest.cpp:
71         (WebKit::BlendStateCheckLayer::appendQuads):
72         * tests/CCQuadCullerTest.cpp:
73         (TestCCOcclusionTrackerImpl):
74         (WebCore::TestCCOcclusionTrackerImpl::TestCCOcclusionTrackerImpl):
75         (WebCore::TestCCOcclusionTrackerImpl::layerScissorRectInTargetSurface):
76         (WebCore::makeLayer):
77         (WebCore::appendQuads):
78         (WebCore):
79         (WebCore::TEST):
80         * tests/CCSolidColorLayerImplTest.cpp:
81         (CCLayerTestCommon::TEST):
82         * tests/CCTiledLayerImplTest.cpp:
83         (CCLayerTestCommon::TEST):
84         (CCLayerTestCommon::getQuads):
85         * tests/MockCCQuadCuller.h: Added.
86         (WebCore):
87         (MockCCQuadCuller):
88         (WebCore::MockCCQuadCuller::MockCCQuadCuller):
89         (WebCore::MockCCQuadCuller::append):
90         (WebCore::MockCCQuadCuller::quadList):
91
92 2012-03-13  Adam Barth  <abarth@webkit.org> && Benjamin Poulain  <bpoulain@apple.com>
93
94         Always enable ENABLE(CLIENT_BASED_GEOLOCATION)
95         https://bugs.webkit.org/show_bug.cgi?id=78853
96
97         Reviewed by Adam Barth.
98
99         * features.gypi:
100         * src/ChromeClientImpl.cpp:
101         * src/ChromeClientImpl.h:
102         (ChromeClientImpl):
103
104 2012-03-13  Tommy Widenflycht  <tommyw@google.com>
105
106         MediaStream API: Rename PeerConnection to DeprecatedPeerConnection
107         https://bugs.webkit.org/show_bug.cgi?id=80692
108
109         Reviewed by Adam Barth.
110
111         First patch in a series of patches to change the PeerConnection from ROAP to JSEP,
112         see bug 80589 for more information.
113
114         * WebKit.gyp:
115         * bridge/DeprecatedPeerConnectionHandler.cpp: Renamed from Source/WebKit/chromium/bridge/PeerConnectionHandler.cpp.
116         (WebCore):
117         (WebCore::DeprecatedPeerConnectionHandler::create):
118         (WebCore::DeprecatedPeerConnectionHandler::DeprecatedPeerConnectionHandler):
119         (WebCore::DeprecatedPeerConnectionHandler::~DeprecatedPeerConnectionHandler):
120         (WebCore::DeprecatedPeerConnectionHandler::produceInitialOffer):
121         (WebCore::DeprecatedPeerConnectionHandler::handleInitialOffer):
122         (WebCore::DeprecatedPeerConnectionHandler::processSDP):
123         (WebCore::DeprecatedPeerConnectionHandler::processPendingStreams):
124         (WebCore::DeprecatedPeerConnectionHandler::sendDataStreamMessage):
125         (WebCore::DeprecatedPeerConnectionHandler::stop):
126         * bridge/DeprecatedPeerConnectionHandlerInternal.cpp: Renamed from Source/WebKit/chromium/bridge/PeerConnectionHandlerInternal.cpp.
127         (WebCore):
128         (WebCore::DeprecatedPeerConnectionHandlerInternal::DeprecatedPeerConnectionHandlerInternal):
129         (WebCore::DeprecatedPeerConnectionHandlerInternal::~DeprecatedPeerConnectionHandlerInternal):
130         (WebCore::DeprecatedPeerConnectionHandlerInternal::produceInitialOffer):
131         (WebCore::DeprecatedPeerConnectionHandlerInternal::handleInitialOffer):
132         (WebCore::DeprecatedPeerConnectionHandlerInternal::processSDP):
133         (WebCore::DeprecatedPeerConnectionHandlerInternal::processPendingStreams):
134         (WebCore::DeprecatedPeerConnectionHandlerInternal::sendDataStreamMessage):
135         (WebCore::DeprecatedPeerConnectionHandlerInternal::stop):
136         (WebCore::DeprecatedPeerConnectionHandlerInternal::didCompleteICEProcessing):
137         (WebCore::DeprecatedPeerConnectionHandlerInternal::didGenerateSDP):
138         (WebCore::DeprecatedPeerConnectionHandlerInternal::didReceiveDataStreamMessage):
139         (WebCore::DeprecatedPeerConnectionHandlerInternal::didAddRemoteStream):
140         (WebCore::DeprecatedPeerConnectionHandlerInternal::didRemoveRemoteStream):
141         * bridge/DeprecatedPeerConnectionHandlerInternal.h: Renamed from Source/WebKit/chromium/bridge/PeerConnectionHandlerInternal.h.
142         (WebKit):
143         (WebCore):
144         (DeprecatedPeerConnectionHandlerInternal):
145
146 2012-03-13  Dana Jansens  <danakj@chromium.org>
147
148         [chromium] Use projectQuad to apply inverse mapRect
149         https://bugs.webkit.org/show_bug.cgi?id=80741
150
151         Reviewed by Adrienne Walker.
152
153         * tests/CCOcclusionTrackerTest.cpp:
154         (WebCore):
155         (CCOcclusionTrackerTest3dTransform):
156         (WebCore::CCOcclusionTrackerTest3dTransform::runMyTest):
157         (CCOcclusionTrackerTestPerspectiveTransform):
158         (WebCore::CCOcclusionTrackerTestPerspectiveTransform::runMyTest):
159         (CCOcclusionTrackerTestPerspectiveTransformBehindCamera):
160         (WebCore::CCOcclusionTrackerTestPerspectiveTransformBehindCamera::runMyTest):
161
162 2012-03-13  Gavin Peters  <gavinp@chromium.org>
163
164         Make ApplicationCacheHost::canCacheInPageCache() non-const.
165         https://bugs.webkit.org/show_bug.cgi?id=80904
166
167         Reviewed by Alexey Proskuryakov.
168
169         A const pointer to a large object like ApplicationCacheHost is not our standard
170         practice; so remove this (implicit) one.  See also https://bugs.webkit.org/show_bug.cgi?id=80898
171
172         * src/ApplicationCacheHost.cpp:
173         (WebCore::ApplicationCacheHost::canCacheInPageCache):
174
175 2012-03-13  Kinuko Yasuda  <kinuko@chromium.org>
176
177         Allow WebFileChooser to return extra file info (like displayName) in addition to mere file paths
178         https://bugs.webkit.org/show_bug.cgi?id=80719
179
180         Reviewed by Kent Tamura.
181
182         * public/WebFileChooserCompletion.h:
183         (SelectedFileInfo): Added.
184         (WebFileChooserCompletion):
185         (WebKit::WebFileChooserCompletion::didChooseFile): Added an overloaded
186         method that takes SelectedFileInfo.
187         * src/WebFileChooserCompletionImpl.cpp:
188         (WebKit::WebFileChooserCompletionImpl::didChooseFile): Ditto.
189         (WebKit):
190         * src/WebFileChooserCompletionImpl.h:
191         (WebFileChooserCompletionImpl):
192
193 2012-03-12  Sheriff Bot  <webkit.review.bot@gmail.com>
194
195         Unreviewed, rolling out r110529.
196         http://trac.webkit.org/changeset/110529
197         https://bugs.webkit.org/show_bug.cgi?id=80969
198
199         breaks mac build (Requested by morrita on #webkit).
200
201         * tests/CCOcclusionTrackerTest.cpp:
202         (WebCore):
203
204 2012-03-12  Hajime Morrita  <morrita@chromium.org>
205
206         Unreviewed Windows build fix.
207
208         * src/WebViewImpl.cpp:
209
210 2012-03-12  Dana Jansens  <danakj@chromium.org>
211
212         [chromium] Use projectQuad to apply inverse mapRect
213         https://bugs.webkit.org/show_bug.cgi?id=80741
214
215         Reviewed by Adrienne Walker.
216
217         * tests/CCOcclusionTrackerTest.cpp:
218         (WebCore):
219         (CCOcclusionTrackerTest3dTransform):
220         (WebCore::CCOcclusionTrackerTest3dTransform::runMyTest):
221         (CCOcclusionTrackerTestPerspectiveTransform):
222         (WebCore::CCOcclusionTrackerTestPerspectiveTransform::runMyTest):
223         (CCOcclusionTrackerTestPerspectiveTransformBehindCamera):
224         (WebCore::CCOcclusionTrackerTestPerspectiveTransformBehindCamera::runMyTest):
225
226 2012-03-12  Dana Jansens  <danakj@chromium.org>
227
228         [chromium] Fix clang build for CCOcclusionTracker tests
229         https://bugs.webkit.org/show_bug.cgi?id=80891
230
231         Reviewed by Adam Barth.
232
233         * tests/CCOcclusionTrackerTest.cpp:
234         (WebCore::CCOcclusionTrackerTest::createRoot):
235         (WebCore::CCOcclusionTrackerTest::createLayer):
236         (WebCore::CCOcclusionTrackerTest::createDrawingLayer):
237
238 2012-03-12  Stephen White  <senorblanco@chromium.org>
239
240         [chromium] Restore canvas2D acceleration after context loss.
241         https://bugs.webkit.org/show_bug.cgi?id=80629
242
243         Reviewed by James Robinson.
244
245         Covered by existing canvas tests, and manual testing (killing the GPU
246         process).
247
248         * src/WebViewImpl.cpp:
249         (WebKit::WebViewImpl::sharedGraphicsContext3D):
250
251 2012-03-12  Nat Duca  <nduca@chromium.org>
252
253         [Chromium] Force compositeAndReadback through regular scheduling flow
254         https://bugs.webkit.org/show_bug.cgi?id=77049
255
256         Reviewed by James Robinson.
257
258         * tests/CCFrameRateControllerTest.cpp:
259         (WebKitTests::FakeCCFrameRateControllerClient::reset):
260         (WebKitTests::FakeCCFrameRateControllerClient::vsyncTicked):
261         (WebKitTests::FakeCCFrameRateControllerClient::vsyncTick):
262         (FakeCCFrameRateControllerClient):
263         (WebKitTests::TEST):
264         * tests/CCLayerTreeHostTest.cpp:
265         (WTF):
266         (CCLayerTreeHostTestCompositeAndReadbackWhileInvisible):
267         (WTF::CCLayerTreeHostTestCompositeAndReadbackWhileInvisible::CCLayerTreeHostTestCompositeAndReadbackWhileInvisible):
268         (WTF::CCLayerTreeHostTestCompositeAndReadbackWhileInvisible::beginTest):
269         (WTF::CCLayerTreeHostTestCompositeAndReadbackWhileInvisible::didCommitAndDrawFrame):
270         (WTF::CCLayerTreeHostTestCompositeAndReadbackWhileInvisible::afterTest):
271         (WTF::TEST_F):
272         * tests/CCSchedulerStateMachineTest.cpp:
273         (WebCore::StateMachine::setNeedsForcedCommit):
274         (WebCore::StateMachine::needsForcedCommit):
275         (StateMachine):
276         (WebCore::TEST):
277         (WebCore):
278
279 2012-03-12  Joshua Bell  <jsbell@chromium.org>
280
281         IndexedDB: Handle LevelDB database corruption
282         https://bugs.webkit.org/show_bug.cgi?id=79413
283
284         Reviewed by Tony Chang.
285
286         * WebKit.gyp: Skip LevelDBTest.cpp in shared component builds due to webkit_support dependency
287         * WebKit.gypi: Add LevelDBTest.cpp
288         * tests/LevelDBTest.cpp: Added.
289         (WebCore):
290         (SimpleComparator):
291         (WebCore::SimpleComparator::compare):
292         (WebCore::SimpleComparator::name):
293         (WebCore::encodeString):
294         (WebCore::TEST):
295
296 2012-03-12  Dana Jansens  <danakj@chromium.org>
297
298         [chromium] Clean up culling tests and templatize to test impl constructs
299         https://bugs.webkit.org/show_bug.cgi?id=80613
300
301         Reviewed by Adrienne Walker.
302
303         * tests/CCOcclusionTrackerTest.cpp:
304         (WebCore::TestContentLayerChromium::TestContentLayerChromium):
305         (WebCore::TestContentLayerChromium::opaqueContentsRegion):
306         (WebCore::TestContentLayerChromium::setOpaqueContentsRect):
307         (TestContentLayerChromium):
308         (TestContentLayerImpl):
309         (WebCore::TestContentLayerImpl::TestContentLayerImpl):
310         (WebCore::TestContentLayerImpl::opaqueContentsRegion):
311         (WebCore::TestContentLayerImpl::setOpaqueContentsRect):
312         (WebCore):
313         (WebCore::TestCCOcclusionTrackerBase::TestCCOcclusionTrackerBase):
314         (WebCore::TestCCOcclusionTrackerBase::occlusionInScreenSpace):
315         (WebCore::TestCCOcclusionTrackerBase::occlusionInTargetSurface):
316         (WebCore::TestCCOcclusionTrackerBase::setOcclusionInScreenSpace):
317         (WebCore::TestCCOcclusionTrackerBase::setOcclusionInTargetSurface):
318         (WebCore::TestCCOcclusionTrackerBase::layerScissorRectInTargetSurface):
319         (WebCore::TestDamageClient::damageRect):
320         (CCOcclusionTrackerTestMainThreadTypes):
321         (WebCore::CCOcclusionTrackerTestMainThreadTypes::createLayer):
322         (WebCore::CCOcclusionTrackerTestMainThreadTypes::createContentLayer):
323         (CCOcclusionTrackerTestImplThreadTypes):
324         (WebCore::CCOcclusionTrackerTestImplThreadTypes::createLayer):
325         (WebCore::CCOcclusionTrackerTestImplThreadTypes::createContentLayer):
326         (CCOcclusionTrackerTest):
327         (WebCore::CCOcclusionTrackerTest::TearDown):
328         (WebCore::CCOcclusionTrackerTest::createRoot):
329         (WebCore::CCOcclusionTrackerTest::createLayer):
330         (WebCore::CCOcclusionTrackerTest::createSurface):
331         (WebCore::CCOcclusionTrackerTest::createDrawingLayer):
332         (WebCore::CCOcclusionTrackerTest::createDrawingSurface):
333         (WebCore::CCOcclusionTrackerTest::calcDrawEtc):
334         (WebCore::CCOcclusionTrackerTest::setBaseProperties):
335         (WebCore::CCOcclusionTrackerTest::setProperties):
336         (CCOcclusionTrackerTestIdentityTransforms):
337         (WebCore::CCOcclusionTrackerTestIdentityTransforms::runMyTest):
338         (CCOcclusionTrackerTestRotatedChild):
339         (WebCore::CCOcclusionTrackerTestRotatedChild::runMyTest):
340         (CCOcclusionTrackerTestTranslatedChild):
341         (WebCore::CCOcclusionTrackerTestTranslatedChild::runMyTest):
342         (CCOcclusionTrackerTestChildInRotatedChild):
343         (WebCore::CCOcclusionTrackerTestChildInRotatedChild::runMyTest):
344         (CCOcclusionTrackerTestVisitTargetTwoTimes):
345         (WebCore::CCOcclusionTrackerTestVisitTargetTwoTimes::runMyTest):
346         (CCOcclusionTrackerTestSurfaceRotatedOffAxis):
347         (WebCore::CCOcclusionTrackerTestSurfaceRotatedOffAxis::runMyTest):
348         (CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren):
349         (WebCore::CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren::runMyTest):
350         (CCOcclusionTrackerTestOverlappingSurfaceSiblings):
351         (WebCore::CCOcclusionTrackerTestOverlappingSurfaceSiblings::runMyTest):
352         (CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms):
353         (WebCore::CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms::runMyTest):
354         (CCOcclusionTrackerTestFilters):
355         (WebCore::CCOcclusionTrackerTestFilters::runMyTest):
356         (CCOcclusionTrackerTestLayerScissorRectOutsideChild):
357         (WebCore::CCOcclusionTrackerTestLayerScissorRectOutsideChild::runMyTest):
358         (CCOcclusionTrackerTestScreenScissorRectOutsideChild):
359         (WebCore::CCOcclusionTrackerTestScreenScissorRectOutsideChild::runMyTest):
360         (CCOcclusionTrackerTestDamageRectOutsideChild):
361         (WebCore::CCOcclusionTrackerTestDamageRectOutsideChild::runMyTest):
362         (CCOcclusionTrackerTestLayerScissorRectOverChild):
363         (WebCore::CCOcclusionTrackerTestLayerScissorRectOverChild::runMyTest):
364         (CCOcclusionTrackerTestScreenScissorRectOverChild):
365         (WebCore::CCOcclusionTrackerTestScreenScissorRectOverChild::runMyTest):
366         (CCOcclusionTrackerTestDamageRectOverChild):
367         (WebCore::CCOcclusionTrackerTestDamageRectOverChild::runMyTest):
368         (CCOcclusionTrackerTestLayerScissorRectPartlyOverChild):
369         (WebCore::CCOcclusionTrackerTestLayerScissorRectPartlyOverChild::runMyTest):
370         (CCOcclusionTrackerTestScreenScissorRectPartlyOverChild):
371         (WebCore::CCOcclusionTrackerTestScreenScissorRectPartlyOverChild::runMyTest):
372         (CCOcclusionTrackerTestDamageRectPartlyOverChild):
373         (WebCore::CCOcclusionTrackerTestDamageRectPartlyOverChild::runMyTest):
374         (CCOcclusionTrackerTestLayerScissorRectOverNothing):
375         (WebCore::CCOcclusionTrackerTestLayerScissorRectOverNothing::runMyTest):
376         (CCOcclusionTrackerTestScreenScissorRectOverNothing):
377         (WebCore::CCOcclusionTrackerTestScreenScissorRectOverNothing::runMyTest):
378         (CCOcclusionTrackerTestDamageRectOverNothing):
379         (WebCore::CCOcclusionTrackerTestDamageRectOverNothing::runMyTest):
380         (CCOcclusionTrackerTestLayerScissorRectForLayerOffOrigin):
381         (WebCore::CCOcclusionTrackerTestLayerScissorRectForLayerOffOrigin::runMyTest):
382         (CCOcclusionTrackerTestOpaqueContentsRegionEmpty):
383         (WebCore::CCOcclusionTrackerTestOpaqueContentsRegionEmpty::runMyTest):
384         (CCOcclusionTrackerTestOpaqueContentsRegionNonEmpty):
385         (WebCore::CCOcclusionTrackerTestOpaqueContentsRegionNonEmpty::runMyTest):
386
387 2012-03-11  Sheriff Bot  <webkit.review.bot@gmail.com>
388
389         Unreviewed, rolling out r110359.
390         http://trac.webkit.org/changeset/110359
391         https://bugs.webkit.org/show_bug.cgi?id=80799
392
393         SelectPopupMenuTest.ClickItem failure (Requested by ukai on
394         #webkit).
395
396         * src/WebViewImpl.cpp:
397         (WebKit::WebViewImpl::gestureEvent):
398         (WebKit::WebViewImpl::applyAutofillSuggestions):
399
400 2012-03-11  Pavel Feldman  <pfeldman@chromium.org>
401
402         Web Inspector: [chromium] add provisional test for the downstream sanity test.
403         https://bugs.webkit.org/show_bug.cgi?id=80784
404
405         Reviewed by Yury Semikhatsky.
406
407         * src/js/Tests.js:
408         (.TestSuite.prototype.checkLogAndErrorMessages.validMessage):
409         (.TestSuite.prototype.checkLogAndErrorMessages.onConsoleMessage):
410         (.TestSuite.prototype.checkLogAndErrorMessages):
411
412 2012-03-10  Sheriff Bot  <webkit.review.bot@gmail.com>
413
414         Unreviewed, rolling out r110384.
415         http://trac.webkit.org/changeset/110384
416         https://bugs.webkit.org/show_bug.cgi?id=80774
417
418         compile failed on Chromium Win Release (Requested by ukai_home
419         on #webkit).
420
421         * tests/CCOcclusionTrackerTest.cpp:
422         (WebCore::LayerChromiumWithForcedDrawsContent::LayerChromiumWithForcedDrawsContent):
423         (WebCore::LayerChromiumWithForcedDrawsContent::opaqueContentsRegion):
424         (WebCore::LayerChromiumWithForcedDrawsContent::setOpaquePaintRect):
425         (LayerChromiumWithForcedDrawsContent):
426         (WebCore::setLayerPropertiesForTesting):
427         (WebCore):
428         (WebCore::TestCCOcclusionTracker::TestCCOcclusionTracker):
429         (WebCore::TestCCOcclusionTracker::occlusionInScreenSpace):
430         (WebCore::TestCCOcclusionTracker::occlusionInTargetSurface):
431         (WebCore::TestCCOcclusionTracker::setOcclusionInScreenSpace):
432         (WebCore::TestCCOcclusionTracker::setOcclusionInTargetSurface):
433         (WebCore::TestCCOcclusionTracker::layerScissorRectInTargetSurface):
434         (WebCore::TestDamageClient::damageRect):
435         (WebCore::layerAddedToOccludedRegion):
436         (WebCore::layerAddedToOccludedRegionWithRotation):
437         (WebCore::layerAddedToOccludedRegionWithTranslation):
438         (WebCore::layerAddedToOccludedRegionWithRotatedSurface):
439         (WebCore::layerAddedToOccludedRegionWithSurfaceAlreadyOnStack):
440         (WebCore::layerAddedToOccludedRegionWithRotatedOffAxisSurface):
441         (WebCore::layerAddedToOccludedRegionWithMultipleOpaqueLayers):
442         (WebCore::surfaceOcclusionWithOverlappingSiblingSurfaces):
443         (WebCore::surfaceOcclusionInScreenSpace):
444         (WebCore::surfaceOcclusionInScreenSpaceDifferentTransforms):
445         (WebCore::occlusionInteractionWithFilters):
446         (WebCore::layerScissorRectOverTile):
447         (WebCore::screenScissorRectOverTile):
448         (WebCore::layerScissorRectOverCulledTile):
449         (WebCore::screenScissorRectOverCulledTile):
450         (WebCore::layerScissorRectOverPartialTiles):
451         (WebCore::screenScissorRectOverPartialTiles):
452         (WebCore::layerScissorRectOverNoTiles):
453         (WebCore::screenScissorRectOverNoTiles):
454         (WebCore::layerScissorRectForLayerOffOrigin):
455         (WebCore::damageRectOverTile):
456         (WebCore::damageRectOverCulledTile):
457         (WebCore::damageRectOverPartialTiles):
458         (WebCore::damageRectOverNoTiles):
459         (WebCore::TEST):
460
461 2012-03-10  Dana Jansens  <danakj@chromium.org>
462
463         [chromium] Clean up culling tests and templatize to test impl constructs
464         https://bugs.webkit.org/show_bug.cgi?id=80613
465
466         Reviewed by Adrienne Walker.
467
468         * tests/CCOcclusionTrackerTest.cpp:
469         (WebCore::TestContentLayerChromium::TestContentLayerChromium):
470         (WebCore::TestContentLayerChromium::opaqueContentsRegion):
471         (WebCore::TestContentLayerChromium::setOpaqueContentsRect):
472         (TestContentLayerChromium):
473         (TestContentLayerImpl):
474         (WebCore::TestContentLayerImpl::TestContentLayerImpl):
475         (WebCore::TestContentLayerImpl::opaqueContentsRegion):
476         (WebCore::TestContentLayerImpl::setOpaqueContentsRect):
477         (WebCore):
478         (WebCore::TestCCOcclusionTrackerBase::TestCCOcclusionTrackerBase):
479         (WebCore::TestCCOcclusionTrackerBase::occlusionInScreenSpace):
480         (WebCore::TestCCOcclusionTrackerBase::occlusionInTargetSurface):
481         (WebCore::TestCCOcclusionTrackerBase::setOcclusionInScreenSpace):
482         (WebCore::TestCCOcclusionTrackerBase::setOcclusionInTargetSurface):
483         (WebCore::TestCCOcclusionTrackerBase::layerScissorRectInTargetSurface):
484         (WebCore::TestDamageClient::damageRect):
485         (CCOcclusionTrackerTestMainThreadTypes):
486         (WebCore::CCOcclusionTrackerTestMainThreadTypes::createLayer):
487         (WebCore::CCOcclusionTrackerTestMainThreadTypes::createContentLayer):
488         (CCOcclusionTrackerTestImplThreadTypes):
489         (WebCore::CCOcclusionTrackerTestImplThreadTypes::createLayer):
490         (WebCore::CCOcclusionTrackerTestImplThreadTypes::createContentLayer):
491         (CCOcclusionTrackerTest):
492         (WebCore::CCOcclusionTrackerTest::TearDown):
493         (WebCore::CCOcclusionTrackerTest::createRoot):
494         (WebCore::CCOcclusionTrackerTest::createLayer):
495         (WebCore::CCOcclusionTrackerTest::createSurface):
496         (WebCore::CCOcclusionTrackerTest::createDrawingLayer):
497         (WebCore::CCOcclusionTrackerTest::createDrawingSurface):
498         (WebCore::CCOcclusionTrackerTest::calcDrawEtc):
499         (WebCore::CCOcclusionTrackerTest::setBaseProperties):
500         (WebCore::CCOcclusionTrackerTest::setProperties):
501         (CCOcclusionTrackerTestIdentityTransforms):
502         (WebCore::CCOcclusionTrackerTestIdentityTransforms::runMyTest):
503         (CCOcclusionTrackerTestRotatedChild):
504         (WebCore::CCOcclusionTrackerTestRotatedChild::runMyTest):
505         (CCOcclusionTrackerTestTranslatedChild):
506         (WebCore::CCOcclusionTrackerTestTranslatedChild::runMyTest):
507         (CCOcclusionTrackerTestChildInRotatedChild):
508         (WebCore::CCOcclusionTrackerTestChildInRotatedChild::runMyTest):
509         (CCOcclusionTrackerTestVisitTargetTwoTimes):
510         (WebCore::CCOcclusionTrackerTestVisitTargetTwoTimes::runMyTest):
511         (CCOcclusionTrackerTestSurfaceRotatedOffAxis):
512         (WebCore::CCOcclusionTrackerTestSurfaceRotatedOffAxis::runMyTest):
513         (CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren):
514         (WebCore::CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren::runMyTest):
515         (CCOcclusionTrackerTestOverlappingSurfaceSiblings):
516         (WebCore::CCOcclusionTrackerTestOverlappingSurfaceSiblings::runMyTest):
517         (CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms):
518         (WebCore::CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms::runMyTest):
519         (CCOcclusionTrackerTestFilters):
520         (WebCore::CCOcclusionTrackerTestFilters::runMyTest):
521         (CCOcclusionTrackerTestLayerScissorRectOutsideChild):
522         (WebCore::CCOcclusionTrackerTestLayerScissorRectOutsideChild::runMyTest):
523         (CCOcclusionTrackerTestScreenScissorRectOutsideChild):
524         (WebCore::CCOcclusionTrackerTestScreenScissorRectOutsideChild::runMyTest):
525         (CCOcclusionTrackerTestDamageRectOutsideChild):
526         (WebCore::CCOcclusionTrackerTestDamageRectOutsideChild::runMyTest):
527         (CCOcclusionTrackerTestLayerScissorRectOverChild):
528         (WebCore::CCOcclusionTrackerTestLayerScissorRectOverChild::runMyTest):
529         (CCOcclusionTrackerTestScreenScissorRectOverChild):
530         (WebCore::CCOcclusionTrackerTestScreenScissorRectOverChild::runMyTest):
531         (CCOcclusionTrackerTestDamageRectOverChild):
532         (WebCore::CCOcclusionTrackerTestDamageRectOverChild::runMyTest):
533         (CCOcclusionTrackerTestLayerScissorRectPartlyOverChild):
534         (WebCore::CCOcclusionTrackerTestLayerScissorRectPartlyOverChild::runMyTest):
535         (CCOcclusionTrackerTestScreenScissorRectPartlyOverChild):
536         (WebCore::CCOcclusionTrackerTestScreenScissorRectPartlyOverChild::runMyTest):
537         (CCOcclusionTrackerTestDamageRectPartlyOverChild):
538         (WebCore::CCOcclusionTrackerTestDamageRectPartlyOverChild::runMyTest):
539         (CCOcclusionTrackerTestLayerScissorRectOverNothing):
540         (WebCore::CCOcclusionTrackerTestLayerScissorRectOverNothing::runMyTest):
541         (CCOcclusionTrackerTestScreenScissorRectOverNothing):
542         (WebCore::CCOcclusionTrackerTestScreenScissorRectOverNothing::runMyTest):
543         (CCOcclusionTrackerTestDamageRectOverNothing):
544         (WebCore::CCOcclusionTrackerTestDamageRectOverNothing::runMyTest):
545         (CCOcclusionTrackerTestLayerScissorRectForLayerOffOrigin):
546         (WebCore::CCOcclusionTrackerTestLayerScissorRectForLayerOffOrigin::runMyTest):
547         (CCOcclusionTrackerTestOpaqueContentsRegionEmpty):
548         (WebCore::CCOcclusionTrackerTestOpaqueContentsRegionEmpty::runMyTest):
549         (CCOcclusionTrackerTestOpaqueContentsRegionNonEmpty):
550         (WebCore::CCOcclusionTrackerTestOpaqueContentsRegionNonEmpty::runMyTest):
551
552 2012-03-09  Jon Lee  <jonlee@apple.com>
553
554         Rename NotificationPresenter to NotificationClient
555         https://bugs.webkit.org/show_bug.cgi?id=80488
556         <rdar://problem/10965558>
557
558         Reviewed by Kentaro Hara.
559
560         Refactor to use renamed WebCore::NotificationClient.
561         * src/AssertMatchingEnums.cpp:
562         * src/NotificationPresenterImpl.cpp:
563         (WebKit::NotificationPresenterImpl::checkPermission):
564         * src/NotificationPresenterImpl.h:
565         (NotificationPresenterImpl):
566
567 2012-03-10  Sheriff Bot  <webkit.review.bot@gmail.com>
568
569         Unreviewed, rolling out r110363.
570         http://trac.webkit.org/changeset/110363
571         https://bugs.webkit.org/show_bug.cgi?id=80757
572
573         link error in chromium: unresolved external symbol
574         webkit_support::CreateScopedTempDirectory(void) (Requested by
575         ukai_home on #webkit).
576
577         * WebKit.gypi:
578         * tests/LevelDBTest.cpp: Removed.
579
580 2012-03-10  Sheriff Bot  <webkit.review.bot@gmail.com>
581
582         Unreviewed, rolling out r110353.
583         http://trac.webkit.org/changeset/110353
584         https://bugs.webkit.org/show_bug.cgi?id=80752
585
586         copmile failed on Chromium (Requested by ukai_home on
587         #webkit).
588
589         * tests/CCOcclusionTrackerTest.cpp:
590         (WebCore::LayerChromiumWithForcedDrawsContent::LayerChromiumWithForcedDrawsContent):
591         (WebCore::LayerChromiumWithForcedDrawsContent::opaqueContentsRegion):
592         (WebCore::LayerChromiumWithForcedDrawsContent::setOpaquePaintRect):
593         (LayerChromiumWithForcedDrawsContent):
594         (WebCore::setLayerPropertiesForTesting):
595         (WebCore):
596         (WebCore::TestCCOcclusionTracker::TestCCOcclusionTracker):
597         (WebCore::TestCCOcclusionTracker::occlusionInScreenSpace):
598         (WebCore::TestCCOcclusionTracker::occlusionInTargetSurface):
599         (WebCore::TestCCOcclusionTracker::setOcclusionInScreenSpace):
600         (WebCore::TestCCOcclusionTracker::setOcclusionInTargetSurface):
601         (WebCore::TestCCOcclusionTracker::layerScissorRectInTargetSurface):
602         (WebCore::TestDamageClient::damageRect):
603         (WebCore::layerAddedToOccludedRegion):
604         (WebCore::layerAddedToOccludedRegionWithRotation):
605         (WebCore::layerAddedToOccludedRegionWithTranslation):
606         (WebCore::layerAddedToOccludedRegionWithRotatedSurface):
607         (WebCore::layerAddedToOccludedRegionWithSurfaceAlreadyOnStack):
608         (WebCore::layerAddedToOccludedRegionWithRotatedOffAxisSurface):
609         (WebCore::layerAddedToOccludedRegionWithMultipleOpaqueLayers):
610         (WebCore::surfaceOcclusionWithOverlappingSiblingSurfaces):
611         (WebCore::surfaceOcclusionInScreenSpace):
612         (WebCore::surfaceOcclusionInScreenSpaceDifferentTransforms):
613         (WebCore::occlusionInteractionWithFilters):
614         (WebCore::layerScissorRectOverTile):
615         (WebCore::screenScissorRectOverTile):
616         (WebCore::layerScissorRectOverCulledTile):
617         (WebCore::screenScissorRectOverCulledTile):
618         (WebCore::layerScissorRectOverPartialTiles):
619         (WebCore::screenScissorRectOverPartialTiles):
620         (WebCore::layerScissorRectOverNoTiles):
621         (WebCore::screenScissorRectOverNoTiles):
622         (WebCore::layerScissorRectForLayerOffOrigin):
623         (WebCore::damageRectOverTile):
624         (WebCore::damageRectOverCulledTile):
625         (WebCore::damageRectOverPartialTiles):
626         (WebCore::damageRectOverNoTiles):
627         (WebCore::TEST):
628
629 2012-03-09  Robert Kroeger  <rjkroege@chromium.org>
630
631         Handle more Gesture* events by performing scrolls on the correct target ScrollableArea 
632         https://bugs.webkit.org/show_bug.cgi?id=80311
633
634         Added a unit test for the changes to ScrollAnimatorNone to make sure that the two-call
635         transport of fling parameters is correctly delivered.
636
637         Reviewed by James Robinson.
638
639         * tests/ScrollAnimatorNoneTest.cpp:
640         (MockScrollAnimatorNone):
641         (MockScrollAnimatorNone::reset):
642         (MockScrollAnimatorNone::fireUpAnAnimation):
643         (TEST):
644
645 2012-03-07  James Robinson  <jamesr@chromium.org>
646
647         [chromium] Deprecate renderDirectlyToWebView parameter of WebViewClient::createGraphicsContext3D()
648         https://bugs.webkit.org/show_bug.cgi?id=80523
649
650         Reviewed by Darin Fisher.
651
652         * public/WebViewClient.h:
653         (WebViewClient):
654         (WebKit::WebViewClient::createGraphicsContext3D):
655         * public/platform/WebKitPlatformSupport.h:
656         (WebKit):
657         * src/WebViewImpl.cpp:
658         (WebKit::WebViewImpl::createCompositorGraphicsContext3D):
659
660 2012-03-09  Joshua Bell  <jsbell@chromium.org>
661
662         IndexedDB: Handle LevelDB database corruption
663         https://bugs.webkit.org/show_bug.cgi?id=79413
664
665         Reviewed by Tony Chang.
666
667         * WebKit.gypi:
668         * tests/LevelDBTest.cpp: Added.
669         (WebCore):
670         (SimpleComparator):
671         (WebCore::SimpleComparator::compare):
672         (WebCore::SimpleComparator::name):
673         (WebCore::encodeString):
674         (WebCore::TEST):
675
676 2012-03-09  Tim Dresser  <tdresser@chromium.org>
677
678         [chromium] Increase size of Combo Box Options for touch and high DPI devices
679         https://bugs.webkit.org/show_bug.cgi?id=80027
680
681         Reviewed by Darin Fisher.
682
683         * src/WebViewImpl.cpp:
684         (WebKit::WebViewImpl::gestureEvent):
685         (WebKit::WebViewImpl::applyAutofillSuggestions):
686
687 2012-03-09  James Robinson  <jamesr@chromium.org>
688
689         [chromium] Roll chromium DEPS to r125600
690         https://bugs.webkit.org/show_bug.cgi?id=80722
691
692         Unreviewed
693
694         * DEPS:
695
696 2012-03-09  Dana Jansens  <danakj@chromium.org>
697
698         [chromium] Clean up culling tests and templatize to test impl constructs
699         https://bugs.webkit.org/show_bug.cgi?id=80613
700
701         Reviewed by Adrienne Walker.
702
703         * tests/CCOcclusionTrackerTest.cpp:
704         (WebCore::TestContentLayerChromium::TestContentLayerChromium):
705         (WebCore::TestContentLayerChromium::opaqueContentsRegion):
706         (WebCore::TestContentLayerChromium::setOpaqueContentsRect):
707         (TestContentLayerChromium):
708         (TestContentLayerImpl):
709         (WebCore::TestContentLayerImpl::TestContentLayerImpl):
710         (WebCore::TestContentLayerImpl::opaqueContentsRegion):
711         (WebCore::TestContentLayerImpl::setOpaqueContentsRect):
712         (WebCore):
713         (WebCore::TestCCOcclusionTrackerBase::TestCCOcclusionTrackerBase):
714         (WebCore::TestCCOcclusionTrackerBase::occlusionInScreenSpace):
715         (WebCore::TestCCOcclusionTrackerBase::occlusionInTargetSurface):
716         (WebCore::TestCCOcclusionTrackerBase::setOcclusionInScreenSpace):
717         (WebCore::TestCCOcclusionTrackerBase::setOcclusionInTargetSurface):
718         (WebCore::TestCCOcclusionTrackerBase::layerScissorRectInTargetSurface):
719         (WebCore::TestDamageClient::damageRect):
720         (CCOcclusionTrackerTestMainThreadTypes):
721         (WebCore::CCOcclusionTrackerTestMainThreadTypes::createLayer):
722         (WebCore::CCOcclusionTrackerTestMainThreadTypes::createContentLayer):
723         (CCOcclusionTrackerTestImplThreadTypes):
724         (WebCore::CCOcclusionTrackerTestImplThreadTypes::createLayer):
725         (WebCore::CCOcclusionTrackerTestImplThreadTypes::createContentLayer):
726         (CCOcclusionTrackerTest):
727         (WebCore::CCOcclusionTrackerTest::TearDown):
728         (WebCore::CCOcclusionTrackerTest::createRoot):
729         (WebCore::CCOcclusionTrackerTest::createLayer):
730         (WebCore::CCOcclusionTrackerTest::createSurface):
731         (WebCore::CCOcclusionTrackerTest::createDrawingLayer):
732         (WebCore::CCOcclusionTrackerTest::createDrawingSurface):
733         (WebCore::CCOcclusionTrackerTest::calcDrawEtc):
734         (WebCore::CCOcclusionTrackerTest::setBaseProperties):
735         (WebCore::CCOcclusionTrackerTest::setProperties):
736         (CCOcclusionTrackerTestIdentityTransforms):
737         (WebCore::CCOcclusionTrackerTestIdentityTransforms::runMyTest):
738         (CCOcclusionTrackerTestRotatedChild):
739         (WebCore::CCOcclusionTrackerTestRotatedChild::runMyTest):
740         (CCOcclusionTrackerTestTranslatedChild):
741         (WebCore::CCOcclusionTrackerTestTranslatedChild::runMyTest):
742         (CCOcclusionTrackerTestChildInRotatedChild):
743         (WebCore::CCOcclusionTrackerTestChildInRotatedChild::runMyTest):
744         (CCOcclusionTrackerTestVisitTargetTwoTimes):
745         (WebCore::CCOcclusionTrackerTestVisitTargetTwoTimes::runMyTest):
746         (CCOcclusionTrackerTestSurfaceRotatedOffAxis):
747         (WebCore::CCOcclusionTrackerTestSurfaceRotatedOffAxis::runMyTest):
748         (CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren):
749         (WebCore::CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren::runMyTest):
750         (CCOcclusionTrackerTestOverlappingSurfaceSiblings):
751         (WebCore::CCOcclusionTrackerTestOverlappingSurfaceSiblings::runMyTest):
752         (CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms):
753         (WebCore::CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms::runMyTest):
754         (CCOcclusionTrackerTestFilters):
755         (WebCore::CCOcclusionTrackerTestFilters::runMyTest):
756         (CCOcclusionTrackerTestLayerScissorRectOutsideChild):
757         (WebCore::CCOcclusionTrackerTestLayerScissorRectOutsideChild::runMyTest):
758         (CCOcclusionTrackerTestScreenScissorRectOutsideChild):
759         (WebCore::CCOcclusionTrackerTestScreenScissorRectOutsideChild::runMyTest):
760         (CCOcclusionTrackerTestDamageRectOutsideChild):
761         (WebCore::CCOcclusionTrackerTestDamageRectOutsideChild::runMyTest):
762         (CCOcclusionTrackerTestLayerScissorRectOverChild):
763         (WebCore::CCOcclusionTrackerTestLayerScissorRectOverChild::runMyTest):
764         (CCOcclusionTrackerTestScreenScissorRectOverChild):
765         (WebCore::CCOcclusionTrackerTestScreenScissorRectOverChild::runMyTest):
766         (CCOcclusionTrackerTestDamageRectOverChild):
767         (WebCore::CCOcclusionTrackerTestDamageRectOverChild::runMyTest):
768         (CCOcclusionTrackerTestLayerScissorRectPartlyOverChild):
769         (WebCore::CCOcclusionTrackerTestLayerScissorRectPartlyOverChild::runMyTest):
770         (CCOcclusionTrackerTestScreenScissorRectPartlyOverChild):
771         (WebCore::CCOcclusionTrackerTestScreenScissorRectPartlyOverChild::runMyTest):
772         (CCOcclusionTrackerTestDamageRectPartlyOverChild):
773         (WebCore::CCOcclusionTrackerTestDamageRectPartlyOverChild::runMyTest):
774         (CCOcclusionTrackerTestLayerScissorRectOverNothing):
775         (WebCore::CCOcclusionTrackerTestLayerScissorRectOverNothing::runMyTest):
776         (CCOcclusionTrackerTestScreenScissorRectOverNothing):
777         (WebCore::CCOcclusionTrackerTestScreenScissorRectOverNothing::runMyTest):
778         (CCOcclusionTrackerTestDamageRectOverNothing):
779         (WebCore::CCOcclusionTrackerTestDamageRectOverNothing::runMyTest):
780         (CCOcclusionTrackerTestLayerScissorRectForLayerOffOrigin):
781         (WebCore::CCOcclusionTrackerTestLayerScissorRectForLayerOffOrigin::runMyTest):
782         (CCOcclusionTrackerTestOpaqueContentsRegionEmpty):
783         (WebCore::CCOcclusionTrackerTestOpaqueContentsRegionEmpty::runMyTest):
784         (CCOcclusionTrackerTestOpaqueContentsRegionNonEmpty):
785         (WebCore::CCOcclusionTrackerTestOpaqueContentsRegionNonEmpty::runMyTest):
786
787 2012-03-09  Emil A Eklund  <eae@chromium.org>
788
789         Add roundedPoint to HitTestResult and change platform code to use it
790         https://bugs.webkit.org/show_bug.cgi?id=80715
791
792         Reviewed by James Robinson.
793
794         Change ports to use roundedPoint to avoid exposing subpixel types to
795         platform code.
796
797         * src/ChromeClientImpl.cpp:
798         (WebKit::ChromeClientImpl::mouseDidMoveOverElement):
799         * src/ContextMenuClientImpl.cpp:
800         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
801
802 2012-03-09  W. James MacLean  <wjmaclean@chromium.org>
803
804         [chromium] Implement scroll physics architecture for impl/main thread
805         https://bugs.webkit.org/show_bug.cgi?id=79827
806
807         Reviewed by James Robinson.
808
809         * WebKit.gypi:
810         * tests/PlatformGestureCurveTest.cpp: Added.
811
812 2012-03-09  Tien-Ren Chen  <trchen@chromium.org>
813
814         [chromium] ScrollbarLayerChromium/CCScrollbarLayerImpl for CC-side scrollbar painting
815         https://bugs.webkit.org/show_bug.cgi?id=78872
816
817         Reviewed by James Robinson.
818
819         * WebKit.gypi:
820         * tests/ScrollbarLayerChromiumTest.cpp: Added.
821         (WebCore):
822         (MockScrollbar):
823         (WebCore::MockScrollbar::x):
824         (WebCore::MockScrollbar::y):
825         (WebCore::MockScrollbar::width):
826         (WebCore::MockScrollbar::height):
827         (WebCore::MockScrollbar::size):
828         (WebCore::MockScrollbar::location):
829         (WebCore::MockScrollbar::parent):
830         (WebCore::MockScrollbar::root):
831         (WebCore::MockScrollbar::setFrameRect):
832         (WebCore::MockScrollbar::frameRect):
833         (WebCore::MockScrollbar::invalidate):
834         (WebCore::MockScrollbar::invalidateRect):
835         (WebCore::MockScrollbar::scrollbarOverlayStyle):
836         (WebCore::MockScrollbar::getTickmarks):
837         (WebCore::MockScrollbar::isScrollableAreaActive):
838         (WebCore::MockScrollbar::isScrollViewScrollbar):
839         (WebCore::MockScrollbar::convertFromContainingWindow):
840         (WebCore::MockScrollbar::isCustomScrollbar):
841         (WebCore::MockScrollbar::orientation):
842         (WebCore::MockScrollbar::value):
843         (WebCore::MockScrollbar::currentPos):
844         (WebCore::MockScrollbar::visibleSize):
845         (WebCore::MockScrollbar::totalSize):
846         (WebCore::MockScrollbar::maximum):
847         (WebCore::MockScrollbar::controlSize):
848         (WebCore::MockScrollbar::lineStep):
849         (WebCore::MockScrollbar::pageStep):
850         (WebCore::MockScrollbar::pressedPart):
851         (WebCore::MockScrollbar::hoveredPart):
852         (WebCore::MockScrollbar::styleChanged):
853         (WebCore::MockScrollbar::enabled):
854         (WebCore::MockScrollbar::setEnabled):
855         (WebCore::MockScrollbar::MockScrollbar):
856         (WebCore::MockScrollbar::~MockScrollbar):
857         (WebCore::TEST):
858
859 2012-03-08  James Robinson  <jamesr@chromium.org>
860
861         [chromium] Expose the shared graphics context on WebView so callers can allocate resources on the main thread for the compositor to use
862         https://bugs.webkit.org/show_bug.cgi?id=80670
863
864         Reviewed by Stephen White.
865
866         This exposes a context on WebView that is in the compositor's share group and can be used directly from the main
867         thread. This is useful for content that needs to allocate resources for the compositor to use, but cannot
868         directly use the compositor's context either because it cannot access the correct thread or because it needs to
869         initialize in situations where we cannot initialize a compositor (view) context - for instance before the native
870         window is created.
871
872         * public/WebView.h:
873         (WebView):
874         * src/WebViewImpl.cpp:
875         (WebKit::WebViewImpl::sharedGraphicsContext3D):
876         (WebKit):
877         * src/WebViewImpl.h:
878         (WebViewImpl):
879
880 2012-03-09  Dana Jansens  <danakj@chromium.org>
881
882         [chromium] Use opaque paints in CCOcclusionTracker
883         https://bugs.webkit.org/show_bug.cgi?id=80173
884
885         Reviewed by Adrienne Walker.
886
887         * tests/CCOcclusionTrackerTest.cpp:
888         (WebCore::LayerChromiumWithForcedDrawsContent::opaqueContentsRegion):
889         (LayerChromiumWithForcedDrawsContent):
890         (WebCore::LayerChromiumWithForcedDrawsContent::setOpaquePaintRect):
891         (WebCore::setLayerPropertiesForTesting):
892         (WebCore):
893         (WebCore::layerAddedToOccludedRegion):
894         (WebCore::layerAddedToOccludedRegionWithRotation):
895         (WebCore::layerAddedToOccludedRegionWithTranslation):
896         (WebCore::layerAddedToOccludedRegionWithRotatedSurface):
897         (WebCore::layerAddedToOccludedRegionWithSurfaceAlreadyOnStack):
898         (WebCore::layerAddedToOccludedRegionWithRotatedOffAxisSurface):
899         (WebCore::layerAddedToOccludedRegionWithMultipleOpaqueLayers):
900         (WebCore::surfaceOcclusionWithOverlappingSiblingSurfaces):
901         (WebCore::surfaceOcclusionInScreenSpace):
902         (WebCore::surfaceOcclusionInScreenSpaceDifferentTransforms):
903         (WebCore::occlusionInteractionWithFilters):
904         (WebCore::layerScissorRectOverTile):
905         (WebCore::screenScissorRectOverTile):
906         (WebCore::layerScissorRectOverCulledTile):
907         (WebCore::screenScissorRectOverCulledTile):
908         (WebCore::layerScissorRectOverPartialTiles):
909         (WebCore::screenScissorRectOverPartialTiles):
910         (WebCore::layerScissorRectOverNoTiles):
911         (WebCore::screenScissorRectOverNoTiles):
912         (WebCore::layerScissorRectForLayerOffOrigin):
913         (WebCore::damageRectOverTile):
914         (WebCore::damageRectOverCulledTile):
915         (WebCore::damageRectOverPartialTiles):
916         (WebCore::damageRectOverNoTiles):
917         (WebCore::TEST):
918         * tests/TiledLayerChromiumTest.cpp:
919         (WTF::TEST):
920         (WTF):
921
922 2012-03-09  Jon Lee  <jonlee@apple.com>
923
924         Add support for ENABLE(LEGACY_NOTIFICATIONS)
925         https://bugs.webkit.org/show_bug.cgi?id=80497
926
927         Reviewed by Adam Barth.
928
929         Prep for b80472: Update API for Web Notifications
930         * features.gypi:
931
932 2012-03-09  Ian Vollick  <vollick@chromium.org>
933
934         [chromium] Ensure we use the correct time when notifying animation started
935         https://bugs.webkit.org/show_bug.cgi?id=79537
936
937         Reviewed by James Robinson
938
939         * src/WebCompositorInputHandlerImpl.cpp:
940         (WebKit::WebCompositorInputHandlerImpl::willDraw):
941         * src/WebCompositorInputHandlerImpl.h:
942         (WebCompositorInputHandlerImpl):
943         * tests/CCLayerTreeHostImplTest.cpp:
944         (WebKit::CCLayerTreeHostImplTest::postAnimationEventsToMainThreadOnImplThread):
945         (WebKit::TEST_F):
946         * tests/CCLayerTreeHostTest.cpp:
947         (WTF::TestHooks::animateLayers):
948         (WTF::TestHooks::updateAnimations):
949         (WTF::MockLayerTreeHostImpl::animateLayers):
950         (WTF::MockLayerTreeHostClient::updateAnimations):
951         (WTF::CCLayerTreeHostTestAddAnimation::CCLayerTreeHostTestAddAnimation):
952         (WTF::CCLayerTreeHostTestAddAnimation::animateLayers):
953         (WTF::CCLayerTreeHostTestAddAnimation::notifyAnimationStarted):
954         (CCLayerTreeHostTestAddAnimation):
955
956 2012-03-09  Sheriff Bot  <webkit.review.bot@gmail.com>
957
958         Unreviewed, rolling out r110191, r110202, and r110279.
959         http://trac.webkit.org/changeset/110191
960         http://trac.webkit.org/changeset/110202
961         http://trac.webkit.org/changeset/110279
962         https://bugs.webkit.org/show_bug.cgi?id=80694
963
964         They broke !ENABLE(INSPECTOR) builds (Requested by Ossy on
965         #webkit).
966
967         * features.gypi:
968
969 2012-03-09  Alexander Pavlov  <apavlov@chromium.org>
970
971         [chromium] Unreviewed, build fix after r110191
972
973         * features.gypi:
974
975 2012-03-08  Ian Vollick  <vollick@chromium.org>
976
977         [chromium] Ensure that the cc thread animation framework continues to tick when the tab is backgrounded
978         https://bugs.webkit.org/show_bug.cgi?id=77668
979
980         Reviewed by James Robinson.
981
982         * tests/CCLayerTreeHostTest.cpp:
983         (WTF::CCLayerTreeHostTest::postAddInstantAnimationToMainThread):
984         (CCLayerTreeHostTest):
985         (WTF::CCLayerTreeHostTest::dispatchAddInstantAnimation):
986         (WTF::CCLayerTreeHostTest::dispatchAddAnimation):
987         (WTF::CCLayerTreeHostTestAddAnimation::beginTest):
988         (WTF):
989         (CCLayerTreeHostTestTickAnimationWhileBackgrounded):
990         (WTF::CCLayerTreeHostTestTickAnimationWhileBackgrounded::CCLayerTreeHostTestTickAnimationWhileBackgrounded):
991         (WTF::CCLayerTreeHostTestTickAnimationWhileBackgrounded::beginTest):
992         (WTF::CCLayerTreeHostTestTickAnimationWhileBackgrounded::animateLayers):
993         (WTF::CCLayerTreeHostTestTickAnimationWhileBackgrounded::afterTest):
994         (WTF::TEST_F):
995
996 2012-03-08  Jeff Timanus  <twiz@chromium.org>
997
998         [chromium] Force the Canvas2D GPU texture cache to 0 bytes for backgrounded tabs.
999         https://bugs.webkit.org/show_bug.cgi?id=79948
1000
1001         Reviewed by Stephen White.
1002
1003         * src/GraphicsContext3DChromium.cpp:
1004         (WebCore::GrMemoryAllocationChangedCallback::onGpuMemoryAllocationChanged):
1005         (WebCore::GraphicsContext3DPrivate::grContext):
1006         (WebCore::GraphicsContext3DPrivate::setVisibilityCHROMIUM):
1007
1008 2012-03-08  Dana Jansens  <danakj@chromium.org>
1009
1010         [chromium] Replace completelyContains with Region::contains()
1011         https://bugs.webkit.org/show_bug.cgi?id=80617
1012
1013         Reviewed by James Robinson.
1014
1015         * tests/CCLayerTestCommon.cpp:
1016         (CCLayerTestCommon):
1017         (CCLayerTestCommon::verifyQuadsExactlyCoverRect):
1018         * tests/CCLayerTestCommon.h:
1019         (CCLayerTestCommon):
1020
1021 2012-03-08  James Robinson  <jamesr@chromium.org>
1022
1023         Use an explicit attribute to signal that a context prefers to use a discrete GPU
1024         https://bugs.webkit.org/show_bug.cgi?id=80639
1025
1026         Reviewed by Stephen White.
1027
1028         * src/GraphicsContext3DChromium.cpp:
1029         (WebCore::GraphicsContext3DPrivate::getContextAttributes):
1030         (WebCore::GraphicsContext3D::create):
1031         * src/WebViewImpl.cpp:
1032         (WebKit::WebViewImpl::createCompositorGraphicsContext3D):
1033
1034 2012-03-08  Scott Byer  <scottbyer@chromium.org>
1035
1036         Have ScrollAnimatorNone use requestAnimationFrame
1037         https://bugs.webkit.org/show_bug.cgi?id=78938
1038
1039         Reviewed by James Robinson.
1040
1041         * src/ScrollbarGroup.h:
1042         (WebCore):
1043         (WebKit::ScrollbarGroup::hostWindow):
1044         (ScrollbarGroup):
1045         * tests/ScrollAnimatorNoneTest.cpp:
1046         (MockScrollableArea::hostWindow):
1047
1048 2012-03-08  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
1049
1050         Make elements with attributes smaller by eliminating the m_element back pointer in NamedNodeMap
1051         https://bugs.webkit.org/show_bug.cgi?id=75069
1052
1053         Reviewed by Ryosuke Niwa.
1054
1055         * src/WebElement.cpp: Include NamedNodeMap.h since Element.h doesn't include it anymore.
1056
1057 2012-03-07  Kent Tamura  <tkent@chromium.org>
1058
1059         Remove meaningless code in RenderTextControlSingleLine::preferredContentWidth()
1060         https://bugs.webkit.org/show_bug.cgi?id=80493
1061
1062         Reviewed by Hajime Morita.
1063
1064         * src/WebInputElement.cpp:
1065         RenderTextControlSingleLine::speechButtonElement() is removed. The
1066         following functions get it from HTMLInputElement.
1067         (WebKit::WebInputElement::getSpeechInputState):
1068         (WebKit::WebInputElement::startSpeechInput):
1069         (WebKit::WebInputElement::stopSpeechInput):
1070
1071 2012-03-07  Adam Barth  <abarth@webkit.org>
1072
1073         Remove #define private public from WebCache.cpp
1074         https://bugs.webkit.org/show_bug.cgi?id=80520
1075
1076         Reviewed by Eric Seidel.
1077
1078         This patch removes a hack we added long ago when Chromium used a forked
1079         copy of WebKit and editing WebCore caused merge pain.  Now that we're
1080         on trunk, we can unwind this hack.
1081
1082         * src/WebCache.cpp:
1083         (WebKit::WebCache::getUsageStats):
1084
1085 2012-03-07  Joshua Bell  <jsbell@chromium.org>
1086
1087         [Chromium] IndexedDB: V8LocalContext creation in IDBKey extraction/injection is slow
1088         https://bugs.webkit.org/show_bug.cgi?id=80358
1089
1090         Reviewed by Tony Chang.
1091
1092         * tests/IDBBindingUtilitiesTest.cpp:
1093         (WebCore::TEST):
1094
1095 2012-03-07  Scott Byer  <scottbyer@chromium.org>
1096
1097         Get ScrollAnimatorNone to handle the stop and reverse cases.
1098         https://bugs.webkit.org/show_bug.cgi?id=80455
1099
1100         Reviewed by James Robinson.
1101
1102         * tests/ScrollAnimatorNoneTest.cpp:
1103         (ScrollAnimatorNoneTest::updateDataFromParameters):
1104         (TEST_F):
1105
1106 2012-03-07  Dana Jansens  <danakj@chromium.org>
1107
1108         [chromium] Cull occluded tiles during paint
1109         https://bugs.webkit.org/show_bug.cgi?id=76838
1110
1111         Reviewed by Adrienne Walker.
1112
1113         * tests/CCLayerTreeHostTest.cpp:
1114         (WTF::ContentLayerChromiumWithUpdateTracking::idlePaintContentsIfDirty):
1115         * tests/TiledLayerChromiumTest.cpp:
1116         (WTF::FakeLayerTextureUpdater::Texture::prepareRect):
1117         (WTF::FakeLayerTextureUpdater::FakeLayerTextureUpdater):
1118         (FakeLayerTextureUpdater):
1119         (WTF::FakeLayerTextureUpdater::prepareRectCount):
1120         (WTF::FakeLayerTextureUpdater::clearPrepareRectCount):
1121         (WTF::FakeLayerTextureUpdater::prepareRect):
1122         (WTF::FakeTiledLayerChromium::prepareToUpdate):
1123         (WTF::FakeTiledLayerChromium::prepareToUpdateIdle):
1124         (WTF::FakeTiledLayerChromium::paintContentsIfDirty):
1125         (WTF::TEST):
1126         (WTF):
1127
1128 2012-03-07  Elliot Poger  <epoger@google.com>
1129
1130         [Chromium] Remove use_skia option from GYP
1131         https://bugs.webkit.org/show_bug.cgi?id=75811
1132
1133         Reviewed by Tony Chang.
1134
1135         * WebKit.gyp:
1136         * WebKit.gypi:
1137         * features.gypi:
1138
1139 2012-03-06  Dana Jansens  <danakj@chromium.org>
1140
1141         [chromium] Add clipping to scissor rect to CCOcclusionTracker
1142         https://bugs.webkit.org/show_bug.cgi?id=79927
1143
1144         Reviewed by Adrienne Walker.
1145
1146         * tests/CCOcclusionTrackerTest.cpp:
1147         (WebCore::TestCCOcclusionTracker::TestCCOcclusionTracker):
1148         (TestCCOcclusionTracker):
1149         (WebCore::TestCCOcclusionTracker::setLayerScissorRect):
1150         (WebCore::TestCCOcclusionTracker::useDefaultLayerScissorRect):
1151         (WebCore::TestCCOcclusionTracker::layerScissorRect):
1152         (WebCore):
1153         (TestDamageClient):
1154         (WebCore::TestDamageClient::damageRect):
1155         (WebCore::TestDamageClient::TestDamageClient):
1156         (WebCore::TestDamageClient::setDamageRect):
1157         (WebCore::TEST):
1158
1159 2012-03-06  Kenichi Ishibashi  <bashi@chromium.org>
1160
1161         [WebSocket] Introduce ThreadableWebSocketChannel::SendResult
1162         https://bugs.webkit.org/show_bug.cgi?id=80356
1163
1164         Reviewed by Kent Tamura.
1165
1166         * src/WebSocketImpl.cpp:
1167         (WebKit::WebSocketImpl::sendText): Checks whether the return value of send() is ThreadableWebSocketChannel::SendSuccess.
1168         (WebKit::WebSocketImpl::sendArrayBuffer): Ditto.
1169
1170 2012-03-06  Nat Duca  <nduca@chromium.org>
1171
1172         [chromium] CCThreadProxy context lost support
1173         https://bugs.webkit.org/show_bug.cgi?id=80100
1174
1175         Reviewed by James Robinson.
1176
1177         * tests/CCSchedulerStateMachineTest.cpp:
1178         * tests/CCSchedulerTest.cpp:
1179         (WebKitTests::FakeCCSchedulerClient::scheduledActionBeginContextRecreation):
1180         (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::scheduledActionBeginContextRecreation):
1181         (WebKitTests::SchedulerClientThatSetNeedsCommitInsideDraw::scheduledActionBeginContextRecreation):
1182
1183 2012-03-06  James Robinson  <jamesr@chromium.org>
1184
1185         [chromium] Null-check m_layerRenderer in CCLayerTreeHostImpl::finishAllRendering()
1186         https://bugs.webkit.org/show_bug.cgi?id=80445
1187
1188         Reviewed by Adrienne Walker.
1189
1190         * tests/CCLayerTreeHostImplTest.cpp:
1191         (FakeWebGraphicsContext3DMakeCurrentFails):
1192         (WebKit::FakeWebGraphicsContext3DMakeCurrentFails::makeContextCurrent):
1193         (WebKit):
1194         (WebKit::TEST_F):
1195
1196 2012-03-06  David Grogan  <dgrogan@chromium.org>
1197
1198         [Chromium] Add OVERRIDEs to WebWorkerClientImpl.h
1199         https://bugs.webkit.org/show_bug.cgi?id=80434
1200
1201         Reviewed by Tony Chang.
1202
1203         Tests: just that it compiles.
1204
1205         * src/WebWorkerClientImpl.h:
1206         (WebWorkerClientImpl):
1207
1208 2012-03-06  David Grogan  <dgrogan@chromium.org>
1209
1210         IndexedDB: Check WebCommonWorkerClient::allowIndexedDB before proceeding from a shared worker
1211         https://bugs.webkit.org/show_bug.cgi?id=79954
1212
1213         Tests: The 'allow' case will be tested once the patch at
1214         http://webkit.org/b/80189 and
1215         https://chromiumcodereview.appspot.com/9585031/ both land. Bug for
1216         testing the 'deny' case is http://crbug.com/113738.
1217
1218         Reviewed by Tony Chang.
1219
1220         * public/WebCommonWorkerClient.h:
1221         (WebKit::WebCommonWorkerClient::allowDatabase):
1222         (WebKit::WebCommonWorkerClient::allowFileSystem):
1223         (WebKit::WebCommonWorkerClient::openFileSystem):
1224         (WebCommonWorkerClient):
1225         (WebKit::WebCommonWorkerClient::allowIndexedDB):
1226         * public/WebSharedWorkerClient.h:
1227         (WebSharedWorkerClient):
1228         * src/IDBFactoryBackendProxy.cpp:
1229         (WebKit::AllowIndexedDBMainThreadBridge::create):
1230         (WebKit::AllowIndexedDBMainThreadBridge::cancel):
1231         (WebKit::AllowIndexedDBMainThreadBridge::signalCompleted):
1232         (WebKit::AllowIndexedDBMainThreadBridge::AllowIndexedDBMainThreadBridge):
1233         (WebKit::AllowIndexedDBMainThreadBridge::allowIndexedDBTask):
1234         (AllowIndexedDBMainThreadBridge):
1235         (WebKit::IDBFactoryBackendProxy::allowIDBFromWorkerThread):
1236         * src/WebWorkerClientImpl.cpp:
1237         (WebKit):
1238         (WebKit::WebWorkerClientImpl::allowIndexedDB):
1239         * src/WebWorkerClientImpl.h:
1240         (WebWorkerClientImpl):
1241
1242 2012-03-06  Stephen White  <senorblanco@chromium.org>
1243
1244         Unreviewed, rolling out r109825.
1245         http://trac.webkit.org/changeset/109825
1246         https://bugs.webkit.org/show_bug.cgi?id=79413
1247
1248         Broke webkit_unit_tests on Chromium Win
1249
1250         * WebKit.gypi:
1251         * tests/LevelDBTest.cpp: Removed.
1252
1253 2012-03-06  Takashi Toyoshima  <toyoshim@chromium.org>
1254
1255         [Chromium] [WebSocket] Add WebSocket extensions query WebKit API
1256         https://bugs.webkit.org/show_bug.cgi?id=80190
1257
1258         Reviewed by Darin Fisher.
1259
1260         * public/WebSocket.h: Add extensions() declaration.
1261         (WebSocket):
1262         * src/WebSocketImpl.cpp: Implement extensions() bridge.
1263         (WebKit::WebSocketImpl::extensions):
1264         (WebKit):
1265         * src/WebSocketImpl.h: Add extensions() declaration.
1266         (WebSocketImpl):
1267
1268 2012-03-05  Kent Tamura  <tkent@chromium.org>
1269
1270         Do not reformat strings in <input type=number> on platforms using LocalizedNumberICU.
1271         https://bugs.webkit.org/show_bug.cgi?id=78326
1272
1273         Reviewed by Hajime Morita.
1274
1275         Add a test for WebCore/platform/text/LocalizedNumberICU.
1276
1277         * WebKit.gypi: Added LocalizedNumberICUTest.cpp
1278         * tests/LocalizedNumberICUTest.cpp: Added.
1279
1280 2012-03-05  Kenneth Russell  <kbr@google.com>
1281
1282         [chromium] Notify CCLayerImpl tree of context loss and restoration
1283         https://bugs.webkit.org/show_bug.cgi?id=80339
1284
1285         Reviewed by James Robinson.
1286
1287         Unit test for notification of context loss and restoration.
1288
1289         * tests/CCLayerTreeHostImplTest.cpp:
1290         (WebKit):
1291         (ContextLostNotificationCheckLayer):
1292         (WebKit::ContextLostNotificationCheckLayer::create):
1293         (WebKit::ContextLostNotificationCheckLayer::didLoseAndRecreateGraphicsContext):
1294         (WebKit::ContextLostNotificationCheckLayer::didLoseAndRecreateGraphicsContextCalled):
1295         (WebKit::ContextLostNotificationCheckLayer::ContextLostNotificationCheckLayer):
1296         (WebKit::TEST_F):
1297
1298 2012-03-05  Changhun Kang  <temoochin@company100.net>
1299
1300         Change the argument orders to match OpenGL's in GraphicsContext3D functions
1301         https://bugs.webkit.org/show_bug.cgi?id=80120
1302
1303         Reviewed by Kenneth Russell.
1304
1305         No new tests because this patch just change the order of arguments.
1306
1307         * src/GraphicsContext3DChromium.cpp:
1308         (WebCore::GraphicsContext3DPrivate::uniform1fv):
1309         (WebCore::GraphicsContext3DPrivate::uniform1iv):
1310         (WebCore::GraphicsContext3DPrivate::uniform2fv):
1311         (WebCore::GraphicsContext3DPrivate::uniform2iv):
1312         (WebCore::GraphicsContext3DPrivate::uniform3fv):
1313         (WebCore::GraphicsContext3DPrivate::uniform3iv):
1314         (WebCore::GraphicsContext3DPrivate::uniform4fv):
1315         (WebCore::GraphicsContext3DPrivate::uniform4iv):
1316         (WebCore::GraphicsContext3DPrivate::uniformMatrix2fv):
1317         (WebCore::GraphicsContext3DPrivate::uniformMatrix3fv):
1318         (WebCore::GraphicsContext3DPrivate::uniformMatrix4fv):
1319         (WebCore):
1320         * src/GraphicsContext3DPrivate.h:
1321         (GraphicsContext3DPrivate):
1322
1323 2012-03-05  Yoshifumi Inoue  <yosin@chromium.org>
1324
1325         [Chromium] WebOptionElement should inherit WebElement instead of WebFormControlElement
1326         https://bugs.webkit.org/show_bug.cgi?id=80089
1327
1328         Change class hierarchy of WebOptionElement to match with specification.
1329
1330         Reviewed by Darin Fisher.
1331
1332         * public/WebOptionElement.h: Replace to WebElement from WebFormControlElement 
1333         (WebKit::WebOptionElement::WebOptionElement):
1334         (WebKit::WebOptionElement::operator=):
1335         (WebKit::WebOptionElement::assign):
1336         * src/WebOptionElement.cpp:
1337         (WebKit::WebOptionElement::WebOptionElement):
1338
1339 2012-03-05  Joshua Bell  <jsbell@chromium.org>
1340
1341         IndexedDB: Handle LevelDB database corruption
1342         https://bugs.webkit.org/show_bug.cgi?id=79413
1343
1344         Reviewed by Tony Chang.
1345
1346         * WebKit.gypi:
1347         * tests/LevelDBTest.cpp: Added.
1348         (WebCore):
1349         (SimpleComparator):
1350         (WebCore::SimpleComparator::compare):
1351         (WebCore::SimpleComparator::name):
1352         (WebCore::encodeString):
1353         (WebCore::TEST):
1354
1355 2012-03-05  Min Qin  <qinmin@google.com>
1356
1357         Enable context menu on android
1358
1359         For android, long press is converted into a right mouse down event
1360         So we will use that to invoke the context menu
1361         https://bugs.webkit.org/show_bug.cgi?id=80332
1362
1363         Reviewed by Adam Barth.
1364
1365         * src/WebViewImpl.cpp:
1366         (WebKit::WebViewImpl::mouseDown):
1367
1368 2012-03-05  Kent Tamura  <tkent@chromium.org>
1369
1370         [Chromium] Add new popup type: PagePopup
1371         https://bugs.webkit.org/show_bug.cgi?id=80106
1372
1373         Reviewed by Darin Fisher.
1374
1375         This is a preparation of implementing ChromeClient::openPagePopup and
1376         closePagePopup.
1377
1378         * WebKit.gyp: Add WebPagePopup.h and WebPagePopupImpl.cpp.
1379         * public/WebPagePopup.h:
1380         (WebPagePopup): Add WebPagePopup interface.
1381         * public/WebPopupType.h: Add WebPopupTypePage.
1382         * src/WebPagePopupImpl.cpp:
1383         (WebKit::WebPagePopup::create): Temprary implementation which just returns 0.
1384
1385 2012-03-05  Charlie Reis  <creis@chromium.org>
1386
1387         [chromium] Pass WebNavigationPolicy to WebViewClient::createView
1388         https://bugs.webkit.org/show_bug.cgi?id=80057
1389
1390         Reviewed by Darin Fisher.
1391
1392         * public/WebViewClient.h:
1393         (WebViewClient):
1394         (WebKit::WebViewClient::createView):
1395         * src/ChromeClientImpl.cpp:
1396         (WebKit::ChromeClientImpl::ChromeClientImpl):
1397         (WebKit::ChromeClientImpl::createWindow):
1398         (WebKit::ChromeClientImpl::getNavigationPolicy):
1399         (WebKit):
1400         (WebKit::ChromeClientImpl::show):
1401         (WebKit::ChromeClientImpl::setNewWindowNavigationPolicy):
1402         * src/ChromeClientImpl.h:
1403         (ChromeClientImpl):
1404         * src/FrameLoaderClientImpl.cpp:
1405         (WebKit::FrameLoaderClientImpl::dispatchCreatePage):
1406         (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNewWindowAction):
1407
1408 2012-03-05  James Robinson  <jamesr@chromium.org>
1409
1410         [chromium] Initialize CCOverdrawCounts struct to zero
1411         https://bugs.webkit.org/show_bug.cgi?id=80204
1412
1413         Reviewed by Adrienne Walker.
1414
1415         Update test to use c'tor instead of {} struct initialization.
1416
1417         * tests/CCQuadCullerTest.cpp:
1418         (WebCore):
1419
1420 2012-03-05  Takashi Toyoshima  <toyoshim@chromium.org>
1421
1422         [Chromium] [WebSocket] use OVERRIDE in WebSocketImpl.h
1423         https://bugs.webkit.org/show_bug.cgi?id=80192
1424
1425         Reviewed by Kent Tamura.
1426
1427         * src/WebSocketImpl.h: use OVERRIDE macro.
1428         (WebSocketImpl):
1429
1430 2012-03-05  Adam Barth  <abarth@webkit.org>
1431
1432         Geolocation should use a ScriptExecutionContext as its context object
1433         https://bugs.webkit.org/show_bug.cgi?id=80248
1434
1435         Reviewed by Kentaro Hara.
1436
1437         Rather than indirecting through the Frame to get the SecurityOrigin, we
1438         should get the SecurityOrigin directly from ScriptExecutionContext.
1439
1440         * src/WebGeolocationPermissionRequest.cpp:
1441         (WebKit::WebGeolocationPermissionRequest::securityOrigin):
1442
1443 2012-03-02  Andrey Kosyakov  <caseq@chromium.org>
1444
1445         Add instrumentation for frame start/end on timeline.
1446
1447         Web Inspector: add timeline instrumentation for frame events
1448         https://bugs.webkit.org/show_bug.cgi?id=80127
1449
1450         Reviewed by Pavel Feldman.
1451
1452         - expose an instrumentation method from WebWidget to mark frame update start
1453
1454         * public/WebWidget.h:
1455         (WebWidget):
1456         (WebKit::WebWidget::instrumentBeginFrame):
1457         * src/WebViewImpl.cpp:
1458         (WebKit::WebViewImpl::instrumentBeginFrame):
1459         (WebKit):
1460         * src/WebViewImpl.h:
1461         (WebViewImpl):
1462
1463 2012-03-03  Benjamin Poulain  <benjamin@webkit.org>
1464
1465         Remove the redundant method KURL::protocolInHTTPFamily()
1466         https://bugs.webkit.org/show_bug.cgi?id=80216
1467
1468         Reviewed by Anders Carlsson.
1469
1470         * src/FrameLoaderClientImpl.cpp:
1471         (WebKit::FrameLoaderClientImpl::dispatchWillPerformClientRedirect):
1472         * src/WebPageSerializer.cpp:
1473         (WebCore::retrieveResourcesForElement):
1474
1475 2012-03-03  Hans Wennborg  <hans@chromium.org>
1476
1477         Implement Speech JavaScript API
1478         https://bugs.webkit.org/show_bug.cgi?id=80019
1479
1480         Reviewed by Adam Barth.
1481
1482         Add ENABLE_SCRIPTED_SPEECH and runtime flag.
1483
1484         * features.gypi:
1485         * public/WebRuntimeFeatures.h:
1486         (WebRuntimeFeatures):
1487         * src/WebRuntimeFeatures.cpp:
1488         (WebKit::WebRuntimeFeatures::enableScriptedSpeech):
1489         (WebKit):
1490         (WebKit::WebRuntimeFeatures::isScriptedSpeechEnabled):
1491
1492 2012-03-03  Bill Budge  <bbudge@chromium.org>
1493
1494         Fixes AssociatedURLLoader support for Access-Control-Expose-Headers field in response.
1495         https://bugs.webkit.org/show_bug.cgi?id=80198
1496
1497         Reviewed by Adam Barth.
1498
1499         * src/AssociatedURLLoader.cpp:
1500         * tests/AssociatedURLLoaderTest.cpp:
1501
1502 2012-03-02  Dana Jansens  <danakj@chromium.org>
1503
1504         [Chromium] Allow plugins to set opaque() on their platform layer
1505         https://bugs.webkit.org/show_bug.cgi?id=80171
1506
1507         Reviewed by James Robinson.
1508
1509         * public/WebPluginContainer.h:
1510         (WebPluginContainer):
1511         * src/WebPluginContainerImpl.cpp:
1512         (WebKit::WebPluginContainerImpl::setOpaque):
1513         (WebKit):
1514         * src/WebPluginContainerImpl.h:
1515         (WebPluginContainerImpl):
1516
1517 2012-03-01  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
1518
1519         Make parser code not depend on NamedNodeMap
1520         https://bugs.webkit.org/show_bug.cgi?id=79963
1521
1522         Reviewed by Adam Barth.
1523
1524         * src/WebNamedNodeMap.cpp:
1525         (WebKit::WebNamedNodeMap::attributeItem):
1526
1527 2012-03-01  Dana Jansens  <danakj@chromium.org>
1528
1529         [chromium] Make opaque paint tracker aware of SkCanvas layers
1530         https://bugs.webkit.org/show_bug.cgi?id=79145
1531
1532         Reviewed by Stephen White.
1533
1534         * tests/PlatformContextSkiaTest.cpp:
1535         (WebCore::TEST):
1536         (WebCore):
1537
1538 2012-03-01  Hironori Bono  <hbono@chromium.org>
1539
1540         Render overflow controls of an RTL element to its left-side.
1541         https://bugs.webkit.org/show_bug.cgi?id=54623
1542
1543         This change adds a new flag WTF_USE_RTL_SCROLLBAR and render the
1544         vertical scrollbars and resizers of RTL elements to their left side if
1545         this new flag is enabled.
1546
1547         Reviewed by Ryosuke Niwa.
1548
1549         * features.gypi: Set WTF_USE_RTL_SCROLLBAR to 1 on Chromium.
1550
1551 2012-03-01  James Robinson  <jamesr@chromium.org>
1552
1553         [chromium] Rename LayerChromium::name to debugName to be more consistent with other debug properties, make threadsafe
1554         https://bugs.webkit.org/show_bug.cgi?id=79723
1555
1556         Reviewed by Adrienne Walker.
1557
1558         * tests/LayerChromiumTest.cpp:
1559
1560 2012-03-01  Dale Curtis  <dalecurtis@chromium.org>
1561
1562         Remove deprecated FFmpeg build directories.
1563         https://bugs.webkit.org/show_bug.cgi?id=79282
1564
1565         We've switched the layout of the FFmpeg repo in Chrome and these paths
1566         are no longer needed or valid.
1567
1568         Reviewed by Dirk Pranke.
1569
1570         * DEPS:
1571
1572 2012-03-01  Dirk Pranke  <dpranke@chromium.org>
1573
1574         Roll chromium DEPS to 124511
1575
1576         Unreviewed, DEPS change.
1577
1578         * DEPS:
1579
1580 2012-02-29  Nat Duca  <nduca@chromium.org>
1581
1582         [chromium] Move context lost control code from CCSingleThreadProxy to CCLayerTreeHost
1583         https://bugs.webkit.org/show_bug.cgi?id=79964
1584
1585         Reviewed by James Robinson.
1586
1587         * src/WebLayerTreeView.cpp:
1588         (WebKit::WebLayerTreeView::loseCompositorContext):
1589         * src/WebLayerTreeViewImpl.cpp:
1590         (WebKit::WebLayerTreeViewImpl::createContext):
1591         (WebKit::WebLayerTreeViewImpl::didRecreateContext):
1592         * src/WebLayerTreeViewImpl.h:
1593         (WebLayerTreeViewImpl):
1594         * tests/CCLayerTreeHostTest.cpp:
1595         (WTF::MockLayerTreeHostClient::createContext):
1596         (WTF::MockLayerTreeHostClient::didRecreateContext):
1597         * tests/FakeCCLayerTreeHostClient.h:
1598         (WebCore::FakeCCLayerTreeHostClient::createContext):
1599         (WebCore::FakeCCLayerTreeHostClient::didRecreateContext):
1600
1601 2012-03-01  Kentaro Hara  <haraken@chromium.org>
1602
1603         REGRESSION(r109288): WebViewImpl::enableAutoResizeMode loops infinitely
1604         https://bugs.webkit.org/show_bug.cgi?id=77452
1605
1606         Reviewed by Hajime Morita.
1607
1608         WebViewImpl::enableAutoResizeMode loops infinitely.
1609         This patch fixes the following line:
1610
1611             enableAutoResizeMode(enable, minSize, maxSize);
1612
1613         to
1614             enableAutoResizeMode(minSize, maxSize);
1615
1616         to avoid the infinite loop. I guess this is the change originally intended.
1617
1618         Test: webkit_unit_tests.WebViewTest.AutoResizeMinimumSize
1619
1620         * src/WebViewImpl.cpp:
1621         (WebKit::WebViewImpl::enableAutoResizeMode):
1622
1623 2012-02-29  Kinuko Yasuda  <kinuko@chromium.org>
1624
1625         Use the new createSnapshotFileAndReadMetadata API for FileEntry.file()
1626         https://bugs.webkit.org/show_bug.cgi?id=79928
1627
1628         Reviewed by David Levin.
1629
1630         In the new flow we first create an internal Blob URL for the
1631         snapshot file and call the new createSnapshotFileAndReadMetadata()
1632         WebKit API with the Blob URL.
1633
1634         The implementor of createSnapshotFileAndReadMetadata() (i.e. chromium)
1635         registers the created snapshot file with the given internal Blob URL.
1636
1637         In the callback chain we call File::createWithName() to create a
1638         new File using the returned platform path, and then call
1639         unregisterBlobURL() to clean up the internal Blob URL.
1640
1641         * src/AsyncFileSystemChromium.cpp:
1642         (WebCore::AsyncFileSystemChromium::createSnapshotFileAndReadMetadata): Added.
1643         (WebCore::AsyncFileSystemChromium::createSnapshotFileCallback): Added.
1644         * src/AsyncFileSystemChromium.h:
1645         * src/WorkerAsyncFileSystemChromium.cpp:
1646         (WebCore::WorkerAsyncFileSystemChromium::createSnapshotFileAndReadMetadata): Added.
1647         * src/WorkerAsyncFileSystemChromium.h:
1648         * src/WorkerFileSystemCallbacksBridge.cpp:
1649         (WebKit::WorkerFileSystemCallbacksBridge::postCreateSnapshotFileToMainThread): Added.
1650         (WebKit::WorkerFileSystemCallbacksBridge::createSnapshotFileOnMainThread): Added.
1651         * src/WorkerFileSystemCallbacksBridge.h:
1652         (WorkerFileSystemCallbacksBridge):
1653
1654 2012-02-29  Kinuko Yasuda  <kinuko@chromium.org>
1655
1656         Unreviewed.  Rolled DEPS.
1657
1658         * DEPS:
1659
1660 2012-02-29  W. James MacLean  <wjmaclean@chromium.org>
1661
1662         [chromium] Estimate pixel count for frame rate control
1663         https://bugs.webkit.org/show_bug.cgi?id=74982
1664
1665         Reviewed by James Robinson.
1666
1667         Adds mechanism to compute and collect statistics on pixel overdraw for selected frames.
1668
1669         * tests/CCQuadCullerTest.cpp:
1670         (WebCore):
1671         (WebCore::TEST):
1672
1673 2012-02-29  James Simonsen  <simonjam@chromium.org>
1674
1675         [chromium] Fix navigation start time on cross-renderer navigation
1676         https://bugs.webkit.org/show_bug.cgi?id=75922
1677
1678         Reviewed by Darin Fisher.
1679
1680         * public/WebDataSource.h:
1681         * src/WebDataSource.cpp:
1682         (WebKit::WebDataSource::setNavigationStartTime): Added.
1683         * src/WebDataSource.h:
1684
1685 2012-02-29  Ian Vollick  <vollick@chromium.org>
1686
1687         [chromium] Add impl-thread support for animation-timing-function
1688         https://bugs.webkit.org/show_bug.cgi?id=79819
1689
1690         Reviewed by James Robinson.
1691
1692         * tests/CCKeyframedAnimationCurveTest.cpp:
1693         (WebCore::TEST):
1694         (WebCore):
1695
1696 2012-02-29  David Levin  <levin@chromium.org>
1697
1698         [chromium] Add the ability to turn off autoresize.
1699         https://bugs.webkit.org/show_bug.cgi?id=77452
1700
1701         Reviewed by Darin Fisher.
1702
1703         * public/WebView.h:
1704         (WebKit::WebViewImpl::enableAutoResizeMode): Cleaned up the api.
1705         (WebKit::WebViewImpl::disableAutoResizeMode): Added the ability to disable auto-resize.
1706         (WebKit::WebViewImpl::enableAutoResizeMode): Deprecated it.
1707         * src/WebViewImpl.cpp:
1708         (WebKit::WebViewImpl::enableAutoResizeMode): Adjust for new api.
1709         (WebKit::WebViewImpl::disableAutoResizeMode): Allow turning off autoresize.
1710         (WebKit::WebViewImpl::enableAutoResizeMode): Call the other two apis, but
1711         this api will be deleted shortly.
1712         (WebKit::WebViewImpl::configureAutoResizeMode): Common code.
1713         * src/WebViewImpl.h:
1714         (WebViewImpl): Adjust to new public api.
1715
1716 2012-02-29  Sheriff Bot  <webkit.review.bot@gmail.com>
1717
1718         Unreviewed.  Rolled DEPS.
1719
1720         * DEPS:
1721
1722 2012-02-29  Dana Jansens  <danakj@chromium.org>
1723
1724         [chromium] Don't let invalidation for next frame prevent tile upload
1725         https://bugs.webkit.org/show_bug.cgi?id=79841
1726
1727         Reviewed by James Robinson.
1728
1729         * tests/TiledLayerChromiumTest.cpp:
1730         (WTF::TEST):
1731
1732 2012-02-28  Sheriff Bot  <webkit.review.bot@gmail.com>
1733
1734         Unreviewed, rolling out r107917 and r109188.
1735         http://trac.webkit.org/changeset/107917
1736         http://trac.webkit.org/changeset/109188
1737         https://bugs.webkit.org/show_bug.cgi?id=79865
1738
1739         Fix the chromium build. (Requested by dcheng on #webkit).
1740
1741         * src/WebDragData.cpp:
1742         (WebKit::WebDragData::items):
1743
1744 2012-02-28  Ryosuke Niwa  <rniwa@webkit.org>
1745
1746         Chromium build fix attempt.
1747
1748         * src/WebDragData.cpp:
1749
1750 2012-02-28  Jonathan Backer  <backer@chromium.org>
1751
1752         [chromium] Reset damage tracker on visibility change.
1753         https://bugs.webkit.org/show_bug.cgi?id=79267
1754
1755         Reviewed by James Robinson.
1756
1757         * tests/CCLayerTreeHostImplTest.cpp:
1758         (WebKit::PartialSwapTrackerContext::getString):
1759         (WebKit):
1760         (WebKit::TEST_F):
1761
1762 2012-02-28  Tim Dresser  <tdresser@chromium.org>
1763
1764         Provide DefaultDeviceScaleFactor though WebSettings
1765         https://bugs.webkit.org/show_bug.cgi?id=79534
1766
1767         Reviewed by Darin Fisher.
1768
1769         * public/WebSettings.h:
1770         * src/WebSettingsImpl.cpp:
1771         (WebKit::WebSettingsImpl::setDefaultDeviceScaleFactor):
1772         (WebKit):
1773         * src/WebSettingsImpl.h:
1774         (WebSettingsImpl):
1775
1776 2012-02-28  Gary Kacmarcik  <garykac@chromium.org>
1777
1778         [chromium] Set nativeKeyCode to include Windows scan code
1779         https://bugs.webkit.org/show_bug.cgi?id=79289
1780
1781         Reviewed by Ryosuke Niwa.
1782
1783         Set the key event's nativeKeyCode on Windows Chromium so that it
1784         actually includes the native scancode and other context bits.
1785         Currently on Windows, the nativeKeyCode is set to be the same value as
1786         the windowsKeyCode, which is redundant.
1787
1788         The actual native key information is required so that components (like
1789         plugins) can reconstruct the original key event. The value stored in
1790         the windowsKeyCode is a Windows virtual key code which does not provide
1791         sufficient info to disambiguate the actual key being pressed (for
1792         example, it cannot distinguish between the left and right shift keys).
1793
1794         All platforms except Windows currently send native key event info, so
1795         this change will bring Windows in line with other platforms.
1796
1797         This change is part of our effort to send enhanced keycode information
1798         to Pepper plugins in Chromium.
1799
1800         * src/win/WebInputEventFactory.cpp:
1801         (WebKit::WebInputEventFactory::keyboardEvent):
1802
1803 2012-02-28  Adam Klein  <adamk@chromium.org>
1804
1805         Unreviewed, speculative test fix after r109016.
1806
1807         * tests/TransparencyWinTest.cpp:
1808         (WebCore::TEST): Update all ImageBuffer::create calls to include a scale of 1.
1809
1810 2012-02-28  Sheriff Bot  <webkit.review.bot@gmail.com>
1811
1812         Unreviewed.  Rolled DEPS.
1813
1814         * DEPS:
1815
1816 2012-02-27  James Kozianski  <koz@chromium.org>
1817
1818         Add missing parameter to didCreateScriptContext() so it overrides base class again.
1819         https://bugs.webkit.org/show_bug.cgi?id=79742
1820
1821         Reviewed by Kent Tamura.
1822
1823         * tests/WebFrameTest.cpp:
1824
1825 2012-02-27  Kenichi Ishibashi  <bashi@chromium.org>
1826
1827         [Chromium] Unreviewed gardening, Disable TransparencyWin.OpaqueCompositeLayerPixel
1828
1829         * tests/TransparencyWinTest.cpp:
1830         (WebCore::TEST):
1831
1832 2012-02-27  Kinuko Yasuda  <kinuko@chromium.org>
1833
1834         [chromium] Add createSnapshotFile API to WebFileSystem to create File snapshots for filesystem files
1835         https://bugs.webkit.org/show_bug.cgi?id=79394
1836
1837         Reviewed by Darin Fisher.
1838
1839         * public/platform/WebFileSystem.h:
1840         (WebKit::WebFileSystem::createSnapshotFileAndReadMetadata): Added.
1841
1842 2012-02-27  James Kozianski  <koz@chromium.org>
1843
1844         [chromium] Plumb extensionGroup into didCreateScriptContext().
1845         https://bugs.webkit.org/show_bug.cgi?id=79072
1846
1847         Reviewed by Darin Fisher.
1848
1849         * public/WebFrameClient.h:
1850         (WebKit::WebFrameClient::didCreateScriptContext):
1851         * src/FrameLoaderClientImpl.cpp:
1852         (WebKit::FrameLoaderClientImpl::didCreateScriptContext):
1853         * src/FrameLoaderClientImpl.h:
1854         (FrameLoaderClientImpl):
1855
1856 2012-02-27  Adrienne Walker  <enne@google.com>
1857
1858         [chromium] Unreviewed gardening, disable TransparencyWinTest unit tests
1859         https://bugs.webkit.org/show_bug.cgi?id=79718
1860
1861         * tests/TransparencyWinTest.cpp:
1862
1863 2012-02-26  Hajime Morrita  <morrita@chromium.org>
1864
1865         Move ChromeClient::showContextMenu() to ContextMenuClient
1866         https://bugs.webkit.org/show_bug.cgi?id=79427
1867
1868         Reviewed by Adam Barth.
1869
1870         * src/ChromeClientImpl.h:
1871         (ChromeClientImpl):
1872
1873 2012-02-26  James Robinson  <jamesr@chromium.org>
1874
1875         Take 2 build fix.
1876
1877         * tests/CCLayerTreeHostImplTest.cpp:
1878         (WebKit::TEST_F):
1879
1880 2012-02-26  James Robinson  <jamesr@chromium.org>
1881
1882         Compile fix for CCLayerTreeHostImpl test.
1883
1884         * tests/CCLayerTreeHostImplTest.cpp:
1885         (WebKit::TEST_F):
1886
1887 2012-02-26  James Robinson  <jamesr@chromium.org>
1888
1889         [chromium] Wire up shouldUpdateScrollPositionOnMainThread and nonFastScrollableRegion to compositor
1890         https://bugs.webkit.org/show_bug.cgi?id=79155
1891
1892         Reviewed by Adam Barth.
1893
1894         Add new tests for shouldScrollOnMainThread and nonFastScrollableRegion properties.
1895
1896         * tests/CCLayerTreeHostImplTest.cpp:
1897         (WebKit::TEST_F):
1898         (WebKit):
1899         * tests/LayerChromiumTest.cpp:
1900
1901 2012-02-25  Adrienne Walker  <enne@google.com>
1902
1903         [chromium] Unreviewed gardening, fix Linux Clang OwnPtr breakage
1904         https://bugs.webkit.org/show_bug.cgi?id=78404
1905
1906         r108886 doesn't compile on Linux Clang due to OwnPtr's public copy
1907         constructor (i.e. "has internal linkage but is not defined"). Fixed
1908         locally by changing copy initialization to direct initialization.
1909
1910         * tests/TiledLayerChromiumTest.cpp:
1911         (WTF::TEST):
1912
1913 2012-02-24  Tien-Ren Chen  <trchen@chromium.org>
1914
1915         [chromium] Replace RefPtr with OwnPtr for CCLayerImpl tree structure
1916         https://bugs.webkit.org/show_bug.cgi?id=78404
1917
1918         Reviewed by James Robinson.
1919
1920         * tests/CCDamageTrackerTest.cpp:
1921         (WebKitTests::executeCalculateDrawTransformsAndVisibility):
1922         (WebKitTests::emulateDrawingOneFrame):
1923         (WebKitTests::createTestTreeWithOneSurface):
1924         (WebKitTests::createTestTreeWithTwoSurfaces):
1925         (WebKitTests::createAndSetUpTestTreeWithOneSurface):
1926         (WebKitTests::createAndSetUpTestTreeWithTwoSurfaces):
1927         (WebKitTests::TEST_F):
1928         * tests/CCLayerImplTest.cpp:
1929         (WebCore::TEST):
1930         * tests/CCLayerIteratorTest.cpp:
1931         * tests/CCLayerSorterTest.cpp:
1932         (WebCore::TEST):
1933         * tests/CCLayerTreeHostCommonTest.cpp:
1934         (WebCore::TEST):
1935         * tests/CCLayerTreeHostImplTest.cpp:
1936         (WebKit::CCLayerTreeHostImplTest::setupScrollAndContentsLayers):
1937         (WebKit::TEST_F):
1938         (WebKit::DidDrawCheckLayer::create):
1939         (WebKit::BlendStateCheckLayer::create):
1940         * tests/CCRenderSurfaceTest.cpp:
1941         (WebCore::TEST):
1942         * tests/CCSolidColorLayerImplTest.cpp:
1943         (CCLayerTestCommon::TEST):
1944         * tests/CCTiledLayerImplTest.cpp:
1945         (CCLayerTestCommon::createLayer):
1946         (CCLayerTestCommon::TEST):
1947         (CCLayerTestCommon::getQuads):
1948         * tests/Canvas2DLayerChromiumTest.cpp:
1949         (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
1950         * tests/TiledLayerChromiumTest.cpp:
1951         (WTF::TEST):
1952         * tests/TreeSynchronizerTest.cpp:
1953         (WebKitTests::MockCCLayerImpl::create):
1954         (WebKitTests::MockLayerChromium::createCCLayerImpl):
1955         (WebKitTests::expectTreesAreIdentical):
1956         (WebKitTests::TEST):
1957
1958 2012-02-08  James Robinson  <jamesr@chromium.org>
1959
1960         [chromium] Make WebViewImpl depend on WebLayerTreeView instead of CCLayerTreeHost
1961         https://bugs.webkit.org/show_bug.cgi?id=75591
1962
1963         Reviewed by Kenneth Russell.
1964
1965         This converts WebViewImpl from depending on CCLayerTreeHost to WebLayerTreeView in order to provide better
1966         isolation and allow for future refactorings. The changes to WebViewImpl are mostly mechanical. The
1967         WebLayerTreeView and WebLayerTreeViewClient interfaces have both grown and changed slightly:
1968
1969         - Setup path for WebLayerTreeView changed to expose an initialize() function instead of a create() factory
1970         function. The new model is that a WebLayerTreeView when constructed is in a null state. Calling initialize()
1971         attempts to re-initialize the WLTV, which can either fail or succeed.  All other functions must be called on a
1972         successfully initialized view.
1973
1974         - WebLayerTreeView expanded to include functionality that CCLayerTreeHost exposes but WebLayerTreeView did not.
1975         Some of this is only valid for the single thread case and will be removed when we invert the scheduling control
1976         logic, these bits are commented.
1977
1978         - WebLayerTreeViewClient expanded with some flow-control related APIs.
1979
1980         Refactor only, no change in behavior.
1981
1982         * public/platform/WebLayerTreeView.h:
1983         (WebKit::WebLayerTreeView::Settings::Settings):
1984         (WebKit::WebLayerTreeView::isNull):
1985         * public/platform/WebLayerTreeViewClient.h:
1986         * src/ChromeClientImpl.cpp:
1987         (WebKit::ChromeClientImpl::scheduleCompositingLayerSync):
1988         * src/WebLayerTreeView.cpp:
1989         (WebKit::WebLayerTreeView::initialize):
1990         (WebKit::WebLayerTreeView::compositorIdentifier):
1991         (WebKit::WebLayerTreeView::setVisible):
1992         (WebKit::WebLayerTreeView::setNeedsAnimate):
1993         (WebKit::WebLayerTreeView::updateAnimations):
1994         (WebKit::WebLayerTreeView::setNeedsRedraw):
1995         (WebKit::WebLayerTreeView::setPageScaleFactorAndLimits):
1996         (WebKit::WebLayerTreeView::startPageScaleAnimation):
1997         (WebKit::WebLayerTreeView::finishAllRendering):
1998         (WebKit::WebLayerTreeView::context):
1999         (WebKit::WebLayerTreeView::loseCompositorContext):
2000         * src/WebLayerTreeViewImpl.cpp:
2001         (WebKit::WebLayerTreeViewImpl::didRecreateGraphicsContext):
2002         (WebKit::WebLayerTreeViewImpl::didCommitAndDrawFrame):
2003         (WebKit::WebLayerTreeViewImpl::didCompleteSwapBuffers):
2004         * src/WebViewImpl.cpp:
2005         (WebKit::WebViewImpl::animate):
2006         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
2007         (WebKit::WebViewImpl::paint):
2008         (WebKit::WebViewImpl::composite):
2009         (WebKit::WebViewImpl::loseCompositorContext):
2010         (WebKit::WebViewImpl::computePageScaleFactorLimits):
2011         (WebKit::WebViewImpl::addPageOverlay):
2012         (WebKit::WebViewImpl::removePageOverlay):
2013         (WebKit::WebViewImpl::setRootGraphicsLayer):
2014         (WebKit::WebViewImpl::scheduleCompositingLayerSync):
2015         (WebKit::WebViewImpl::scrollRootLayerRect):
2016         (WebKit::WebViewImpl::invalidateRootLayerRect):
2017         (WebKit::WebViewImpl::scheduleAnimation):
2018         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2019         (WebKit::WebViewImpl::createContext3D):
2020         (WebKit::WebViewImpl::applyScrollAndScale):
2021         (WebKit::WebViewImpl::didRebindGraphicsContext):
2022         (WebKit::WebViewImpl::updateLayerTreeViewport):
2023         (WebKit::WebViewImpl::graphicsContext3D):
2024         (WebKit::WebViewImpl::setVisibilityState):
2025         * src/WebViewImpl.h:
2026         * tests/WebLayerTest.cpp:
2027
2028 2012-02-24  Ian Vollick  <vollick@chromium.org>
2029
2030         [chromium] Plumb animation started notifications from CCLayerTreeHost to GraphicsLayerChromium
2031         https://bugs.webkit.org/show_bug.cgi?id=77646
2032
2033         Reviewed by James Robinson.
2034
2035         * tests/CCLayerTreeHostTest.cpp:
2036         (TestHooks):
2037         (WTF::TestHooks::notifyAnimationStarted):
2038         (WTF::TestHooks::notifyAnimationFinished):
2039         (WTF::MockLayerTreeHost::create):
2040         (WTF::CCLayerTreeHostTestAddAnimation::CCLayerTreeHostTestAddAnimation):
2041         (WTF::CCLayerTreeHostTestAddAnimation::animateLayers):
2042         (WTF::CCLayerTreeHostTestAddAnimation::notifyAnimationStarted):
2043         (CCLayerTreeHostTestAddAnimation):
2044         (WTF::CCLayerTreeHostTestAddAnimation::notifyAnimationFinished):
2045
2046 2012-02-24  James Robinson  <jamesr@chromium.org>
2047
2048         [chromium] WebKit::setColorNames is a client API
2049         https://bugs.webkit.org/show_bug.cgi?id=79539
2050
2051         Reviewed by Darin Fisher.
2052
2053         * WebKit.gyp:
2054         * public/WebColorName.h: Renamed from Source/Platform/chromium/public/WebColorName.h.
2055         (WebKit):
2056         * public/platform/WebColorName.h:
2057         * src/WebColor.cpp:
2058
2059 2012-02-24  Sheriff Bot  <webkit.review.bot@gmail.com>
2060
2061         Unreviewed, rolling out r108860.
2062         http://trac.webkit.org/changeset/108860
2063         https://bugs.webkit.org/show_bug.cgi?id=79544
2064
2065         "Breaks Linux compile" (Requested by enne on #webkit).
2066
2067         * WebKit.gyp:
2068         * public/platform/WebColorName.h:
2069         * src/WebColor.cpp: Renamed from Source/WebKit/chromium/src/WebColorName.cpp.
2070         (WebKit):
2071         (WebKit::toCSSValueKeyword):
2072         (WebKit::setNamedColors):
2073
2074 2012-02-24  James Robinson  <jamesr@chromium.org>
2075
2076         [chromium] WebKit::setColorNames is a client API
2077         https://bugs.webkit.org/show_bug.cgi?id=79539
2078
2079         Reviewed by Darin Fisher.
2080
2081         * WebKit.gyp:
2082         * public/WebColorName.h: Renamed from Source/Platform/chromium/public/WebColorName.h.
2083         (WebKit):
2084         * public/platform/WebColorName.h:
2085         * src/WebColor.cpp:
2086
2087 2012-02-22  James Robinson  <jamesr@chromium.org>
2088
2089         [chromium] Move WebGraphicsContext3D header into the Platform directory
2090         https://bugs.webkit.org/show_bug.cgi?id=79301
2091
2092         Reviewed by Adam Barth.
2093
2094         Moves WebGraphicsContext3D and WebNonCopyable (which WGC3D depends on).
2095
2096         * public/platform/WebGraphicsContext3D.h:
2097         * public/platform/WebNonCopyable.h:
2098
2099 2012-02-24  Michal Mocny  <mmocny@google.com>
2100
2101         [chromium] Purge Skia's GPU texture cache using GL_CHROMIUM_gpu_memory_manager
2102         https://bugs.webkit.org/show_bug.cgi?id=78265
2103
2104         Reviewed by Stephen White.
2105
2106         * src/GraphicsContext3DChromium.cpp:
2107         (GrMemoryAllocationChangedCallback):
2108         (WebCore::GrMemoryAllocationChangedCallback::GrMemoryAllocationChangedCallback):
2109         (WebCore::GrMemoryAllocationChangedCallback::onGpuMemoryAllocationChanged):
2110         (WebCore):
2111         (WebCore::GraphicsContext3DPrivate::grContext):
2112
2113 2012-02-24  James Robinson  <jamesr@chromium.org>
2114
2115         [chromium] Remove deprecated and unused WebGraphicsContext3D::initialize call
2116         https://bugs.webkit.org/show_bug.cgi?id=79296
2117
2118         Reviewed by Kenneth Russell.
2119
2120         The old way to initialize a WebGraphicsContext3D from inside WebKit was to call initialize() on it with a
2121         WebView*. The new way to do this is via the WebViewClient interface. This deletes the old, unused path.
2122
2123         * public/platform/WebGraphicsContext3D.h:
2124         (WebKit):
2125         * tests/CCLayerTreeHostImplTest.cpp:
2126         * tests/FakeWebGraphicsContext3D.h:
2127
2128 2012-02-23  James Robinson  <jamesr@chromium.org>
2129
2130         [chromium] Move Web*Layer* headers into Platform
2131         https://bugs.webkit.org/show_bug.cgi?id=79425
2132
2133         Reviewed by Adam Barth.
2134
2135         Adds forwarding headers for Web*Layer* APIs and their dependencies.  The forwarding headers for the Web*Layer*
2136         APIs are temporary since Web*Layer* is not exposed in the client interface.  The other headers (such as
2137         WebColor) are exposed in both the client and platform APIs, so the forwarding headers are permanent, although we
2138         might move them back down to public/ at some point.
2139
2140         * public/platform/WebCanvas.h:
2141         * public/platform/WebColor.h:
2142         * public/platform/WebColorName.h:
2143         * public/platform/WebContentLayer.h:
2144         * public/platform/WebContentLayerClient.h:
2145         * public/platform/WebExternalTextureLayer.h:
2146         * public/platform/WebLayer.h:
2147         * public/platform/WebLayerTreeView.h:
2148         * public/platform/WebLayerTreeViewClient.h:
2149         * public/platform/WebPrivatePtr.h:
2150         * public/platform/WebSolidColorLayer.h:
2151
2152 2012-02-24  Peter Collingbourne  <peter@pcc.me.uk>
2153
2154         [chromium] Have WebFrameImpl::selectionAsMarkup create interchange markup.
2155         https://bugs.webkit.org/show_bug.cgi?id=77307
2156
2157         Reviewed by Tony Chang.
2158
2159         This function is currently used to build markup in order to
2160         print the selection, and will also be used to build markup for
2161         the clipboard.  Without this change, the markup will refer to
2162         (for example) nonexistent CSS classes and invalid relative
2163         paths and therefore will not be interpreted correctly.
2164
2165         Chromium bug: http://crbug.com/23329
2166
2167         * src/WebFrameImpl.cpp:
2168         (WebKit::WebFrameImpl::selectionAsMarkup):
2169
2170 2012-02-24  Pavel Feldman  <pfeldman@chromium.org>
2171
2172         Not reviewed: chromium image for inspector status bar button updated.
2173
2174         * src/js/Images/segmentSelectedEndChromium.png:
2175
2176 2012-02-24  Shinya Kawanaka  <shinyak@chromium.org>
2177
2178         SpellCheckRequest needs to know the context where the spellcheck happened.
2179         https://bugs.webkit.org/show_bug.cgi?id=79320
2180
2181         Reviewed by Hajime Morita.
2182
2183         * src/EditorClientImpl.cpp:
2184         (WebKit::EditorClientImpl::requestCheckingOfString):
2185         * src/EditorClientImpl.h:
2186         (EditorClientImpl):
2187         * src/WebFrameImpl.cpp:
2188         (WebKit::WebFrameImpl::requestTextChecking):
2189
2190 2012-02-23  Sheriff Bot  <webkit.review.bot@gmail.com>
2191
2192         Unreviewed.  Rolled DEPS.
2193
2194         * DEPS:
2195
2196 2012-02-23  Ian Vollick  <vollick@chromium.org>
2197
2198         [chromium] Implement keyframed animations for the cc thread.
2199         https://bugs.webkit.org/show_bug.cgi?id=77229
2200
2201         Reviewed by James Robinson.
2202
2203         * WebKit.gypi:
2204         * tests/CCAnimationTestCommon.cpp:
2205         (WebCore):
2206         (WebCore::addOpacityTransition):
2207         (WebKitTests::addOpacityTransitionToController):
2208         (WebKitTests::addOpacityTransitionToLayer):
2209         * tests/CCAnimationTestCommon.h:
2210         (WebCore):
2211         (WebKitTests):
2212         * tests/CCKeyframedAnimationCurveTest.cpp: Added.
2213         (WebCore):
2214         (WebCore::expectTranslateX):
2215         (WebCore::TEST):
2216         * tests/CCLayerAnimationControllerTest.cpp:
2217         (WebKitTests::expectTranslateX):
2218         (WebKitTests):
2219         (WebKitTests::TEST):
2220         * tests/CCLayerTreeHostTest.cpp:
2221         (WTF::CCLayerTreeHostTest::dispatchAddAnimation):
2222         (WTF::CCLayerTreeHostTest::doBeginTest):
2223
2224 2012-02-23  James Robinson  <jamesr@chromium.org>
2225
2226         [chromium] Clean up GraphicsContext3D initialization paths
2227         https://bugs.webkit.org/show_bug.cgi?id=79321
2228
2229         Reviewed by Kenneth Russell.
2230
2231         This simplifies the GraphicsContext3D initialization paths down to two simple codepaths, one for offscreen
2232         contexts initialized from WebCore and one for onscreen (compositor) contexts initialized by WebViewImpl or
2233         WebLayerTreeViewImpl.
2234
2235         Offscreen initialization path:
2236         1) WebCore code calls WebCore::GraphicsContext3D::create(), implemented in GraphicsContext3DChromium.cpp
2237         2) GraphicsContext3D::create() instantiates a WebGraphicsContext3D via the static WebKitPlatformSupport interface
2238         3) GraphicsContext3DPrivate::createGraphicsContextFromWebContext() wraps the WebGraphicsContext3D in a
2239         GraphicsContext3D's m_private pointer.
2240
2241         Onscreen initialization path:
2242         1) WebViewImpl or WebLayerTreeViewImpl request an onscreen WebGraphicsContext3D from either their WebViewClient
2243         or WebLayerTreeViewClient, respectively
2244         2) GraphicsContext3DPrivate::createGraphicsContextFromWebContext() wraps the WebGraphicsContext3D in a
2245         GraphicsContext3D's m_private pointer.
2246
2247         There are no other initialization paths. Specifically, we do not support instantiating onscreen contexts from
2248         within WebCore.
2249
2250         * src/GraphicsContext3DChromium.cpp:
2251         (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
2252         (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
2253         (WebCore):
2254         (WebCore::GraphicsContext3DPrivate::platformTexture):
2255         (WebCore::GraphicsContext3D::create):
2256         * src/GraphicsContext3DPrivate.h:
2257         (GraphicsContext3DPrivate):
2258         * src/WebLayerTreeViewImpl.cpp:
2259         (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
2260         * src/WebViewImpl.cpp:
2261         (std::getCompositorContextAttributes):
2262         (WebKit::WebViewImpl::createCompositorGraphicsContext3D):
2263         (WebKit):
2264         (WebKit::WebViewImpl::createLayerTreeHostContext3D):
2265         (WebKit::WebViewImpl::graphicsContext3D):
2266         * src/WebViewImpl.h:
2267         (WebViewImpl):
2268         * tests/CCLayerTreeHostImplTest.cpp:
2269         (WebKit::CCLayerTreeHostImplTest::createContext):
2270         (CCLayerTreeHostImplTest):
2271         (WebKit::TEST_F):
2272         * tests/CCLayerTreeHostTest.cpp:
2273         (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
2274         * tests/Canvas2DLayerChromiumTest.cpp:
2275         (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
2276         * tests/CompositorFakeGraphicsContext3D.h:
2277         (WebCore::createCompositorMockGraphicsContext3D):
2278         * tests/FakeGraphicsContext3DTest.cpp:
2279         (TEST):
2280
2281 2012-02-23  Jonathan Backer  <backer@chromium.org>
2282
2283         [chromium] Plumb video damage to the damage tracker.
2284         https://bugs.webkit.org/show_bug.cgi?id=79373
2285
2286         Reviewed by James Robinson.
2287
2288         * src/WebMediaPlayerClientImpl.cpp:
2289         (WebKit::WebMediaPlayerClientImpl::repaint):
2290
2291 2012-02-21  James Robinson  <jamesr@chromium.org>
2292
2293         [chromium] Notify compositor of wheel event registration via ScrollingCoordinator
2294         https://bugs.webkit.org/show_bug.cgi?id=79133
2295
2296         Reviewed by Dimitri Glazkov.
2297
2298         Rips out old wheel event notification and adds unit tests for new LayerChromium property.
2299
2300         * src/NonCompositedContentHost.cpp:
2301         (WebKit::NonCompositedContentHost::setViewport):
2302         * src/WebCompositorInputHandlerImpl.cpp:
2303         (WebKit::WebCompositorInputHandlerImpl::handleInputEvent):
2304         * src/WebViewImpl.cpp:
2305         (WebKit::WebViewImpl::numberOfWheelEventHandlersChanged):
2306         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2307         * src/WebViewImpl.h:
2308         * tests/CCLayerTreeHostImplTest.cpp:
2309         (WebKit::TEST_F):
2310         (WebKit):
2311         * tests/LayerChromiumTest.cpp:
2312         * tests/WebCompositorInputHandlerImplTest.cpp:
2313
2314 2012-02-23  Adrienne Walker  <enne@google.com>
2315
2316         Unreviewed, rolling out r108666.
2317         http://trac.webkit.org/changeset/108666
2318         https://bugs.webkit.org/show_bug.cgi?id=79321
2319
2320         Breaks webplugin tests: http://goo.gl/CoHIi
2321
2322         * src/GraphicsContext3DChromium.cpp:
2323         (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
2324         (WebCore):
2325         (WebCore::GraphicsContext3DPrivate::create):
2326         (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
2327         (WebCore::GraphicsContext3DPrivate::createGraphicsContextForAnotherThread):
2328         (WebCore::GraphicsContext3DPrivate::platformTexture):
2329         (WebCore::GraphicsContext3D::create):
2330         * src/GraphicsContext3DPrivate.h:
2331         (WebKit):
2332         (GraphicsContext3DPrivate):
2333         * src/WebLayerTreeViewImpl.cpp:
2334         (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
2335         * src/WebViewImpl.cpp:
2336         (std::getCompositorContextAttributes):
2337         (WebKit::WebViewImpl::createLayerTreeHostContext3D):
2338         (WebKit::WebViewImpl::graphicsContext3D):
2339         * tests/CCLayerTreeHostImplTest.cpp:
2340         (CCLayerTreeHostImplTest):
2341         (WebKit::TEST_F):
2342         * tests/CCLayerTreeHostTest.cpp:
2343         (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
2344         * tests/Canvas2DLayerChromiumTest.cpp:
2345         (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
2346         * tests/CompositorFakeGraphicsContext3D.h:
2347         (WebCore::createCompositorMockGraphicsContext3D):
2348         * tests/FakeGraphicsContext3DTest.cpp:
2349         (TEST):
2350
2351 2012-02-23  Daniel Sievers  <sievers@chromium.org>
2352
2353         [Chromium] Add video stream texture support
2354         https://bugs.webkit.org/show_bug.cgi?id=78398
2355
2356         This upstreams the abstraction used on Android for
2357         hardware video decoding with the compositor.
2358
2359         Most of the interfaces are kept generic and the core
2360         of this change is to allow texturing from an external
2361         texture while receiving notifications (on the compositor
2362         thread if we are running it) when there are new frames to
2363         be displayed.
2364
2365         Reviewed by James Robinson.
2366
2367         * WebKit.gyp:
2368         * public/WebMediaPlayer.h:
2369         (WebKit):
2370         (WebKit::WebMediaPlayer::setStreamTextureClient):
2371         (WebMediaPlayer):
2372         * public/WebStreamTextureClient.h: Copied from Source/WebKit/chromium/public/WebVideoFrame.h.
2373         (WebKit):
2374         (WebStreamTextureClient):
2375         (WebKit::WebStreamTextureClient::~WebStreamTextureClient):
2376         * public/WebVideoFrame.h:
2377         * src/WebMediaPlayerClientImpl.cpp:
2378         (WebKit::WebMediaPlayerClientImpl::~WebMediaPlayerClientImpl):
2379         (WebKit::WebMediaPlayerClientImpl::setVideoFrameProviderClient):
2380         (WebKit::WebMediaPlayerClientImpl::didReceiveFrame):
2381         (WebKit):
2382         (WebKit::WebMediaPlayerClientImpl::didUpdateMatrix):
2383         * src/WebMediaPlayerClientImpl.h:
2384         (WebMediaPlayerClientImpl):
2385
2386 2012-02-22  James Robinson  <jamesr@chromium.org>
2387
2388         [chromium] Clean up GraphicsContext3D initialization paths
2389         https://bugs.webkit.org/show_bug.cgi?id=79321
2390
2391         Reviewed by Kenneth Russell.
2392
2393         This simplifies the GraphicsContext3D initialization paths down to two simple codepaths, one for offscreen
2394         contexts initialized from WebCore and one for onscreen (compositor) contexts initialized by WebViewImpl or
2395         WebLayerTreeViewImpl.
2396
2397         Offscreen initialization path:
2398         1) WebCore code calls WebCore::GraphicsContext3D::create(), implemented in GraphicsContext3DChromium.cpp
2399         2) GraphicsContext3D::create() instantiates a WebGraphicsContext3D via the static WebKitPlatformSupport interface
2400         3) GraphicsContext3DPrivate::createGraphicsContextFromWebContext() wraps the WebGraphicsContext3D in a
2401         GraphicsContext3D's m_private pointer.
2402
2403         Onscreen initialization path:
2404         1) WebViewImpl or WebLayerTreeViewImpl request an onscreen WebGraphicsContext3D from either their WebViewClient
2405         or WebLayerTreeViewClient, respectively
2406         2) GraphicsContext3DPrivate::createGraphicsContextFromWebContext() wraps the WebGraphicsContext3D in a
2407         GraphicsContext3D's m_private pointer.
2408
2409         There are no other initialization paths. Specifically, we do not support instantiating onscreen contexts from
2410         within WebCore.
2411
2412         * src/GraphicsContext3DChromium.cpp:
2413         (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
2414         (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
2415         (WebCore):
2416         (WebCore::GraphicsContext3DPrivate::platformTexture):
2417         (WebCore::GraphicsContext3D::create):
2418         * src/GraphicsContext3DPrivate.h:
2419         (GraphicsContext3DPrivate):
2420         * src/WebLayerTreeViewImpl.cpp:
2421         (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
2422         * src/WebViewImpl.cpp:
2423         (std::getCompositorContextAttributes):
2424         (WebKit::WebViewImpl::createLayerTreeHostContext3D):
2425         (WebKit::WebViewImpl::graphicsContext3D):
2426         * tests/CCLayerTreeHostImplTest.cpp:
2427         (WebKit::CCLayerTreeHostImplTest::createContext):
2428         (CCLayerTreeHostImplTest):
2429         (WebKit::TEST_F):
2430         * tests/CCLayerTreeHostTest.cpp:
2431         (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
2432         * tests/Canvas2DLayerChromiumTest.cpp:
2433         (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
2434         * tests/CompositorFakeGraphicsContext3D.h:
2435         (WebCore::createCompositorMockGraphicsContext3D):
2436         * tests/FakeGraphicsContext3DTest.cpp:
2437         (TEST):
2438
2439 2012-02-23  Greg Billock  <gbillock@google.com>
2440
2441         Add UserGestureIndicator capability to Chromium API.
2442         https://bugs.webkit.org/show_bug.cgi?id=77690
2443
2444         Reviewed by Darin Fisher.
2445
2446         * WebKit.gyp:
2447         * public/WebScopedUserGesture.h: Added.
2448         * src/WebScopedUserGesture.cpp: Added.
2449
2450 2012-02-23  Peter Beverloo  <peter@chromium.org>
2451
2452         Unreviewed, rolling out r108627 and r108630.
2453         https://bugs.webkit.org/show_bug.cgi?id=79367
2454
2455         ffmpeg is creating issues and was just reverted upstream as well.
2456
2457         * DEPS:
2458
2459 2012-02-23  Peter Beverloo  <peter@chromium.org>
2460
2461         Unreviewed build fix. Remove the ffmpeg binary directory from the
2462         Chromium-Windows DEPS file, following the commit done in the
2463         Chromium repository:
2464         http://src.chromium.org/viewvc/chrome?view=rev&revision=123123
2465
2466         * DEPS:
2467
2468 2012-02-23  Peter Beverloo  <peter@chromium.org>
2469
2470         Unreviewed.  Rolled DEPS.
2471
2472         * DEPS:
2473
2474 2012-02-22  Hajime Morrita  <morrita@chromium.org>
2475
2476         NOTIFICATIONS should be implemented as PageSupplement
2477         https://bugs.webkit.org/show_bug.cgi?id=79052
2478
2479         Reviewed by Adam Barth.
2480
2481         * src/WebViewImpl.cpp:
2482         (WebKit::WebViewImpl::WebViewImpl):
2483
2484 2012-02-22  Dana Jansens  <danakj@chromium.org>
2485
2486         [chromium] Add unit test for surface occlusion
2487         https://bugs.webkit.org/show_bug.cgi?id=79302
2488
2489         Reviewed by James Robinson.
2490
2491         * tests/CCOcclusionTrackerTest.cpp:
2492         (WebCore::TEST):
2493         (WebCore):
2494
2495 2012-02-22  James Robinson  <jamesr@chromium.org>
2496
2497         Remove GraphicsContext3D::paintsIntoCanvasBuffer and unify WebGL and canvas 2d logic
2498         https://bugs.webkit.org/show_bug.cgi?id=79317
2499
2500         Reviewed by Kenneth Russell.
2501
2502         Remove paintsIntoCanvasBuffer() implementations.
2503
2504         * src/GraphicsContext3DChromium.cpp:
2505         (WebCore):
2506         * src/GraphicsContext3DPrivate.h:
2507
2508 2012-02-22  Yuta Kitamura  <yutak@chromium.org>
2509
2510         Unreviewed, rolling out r108590.
2511         http://trac.webkit.org/changeset/108590
2512
2513         I mistakenly disabled tests even though the fix was already
2514         in.
2515
2516         * tests/CCOcclusionTrackerTest.cpp:
2517         (WebCore::TEST):
2518
2519 2012-02-22  Yuta Kitamura  <yutak@chromium.org>
2520
2521         [Chromium] Unreviewed. Disable two tests from CCOcclusionTrackerTest
2522         which cause assertion failures.
2523
2524         * tests/CCOcclusionTrackerTest.cpp:
2525         (WebCore):
2526         (WebCore::TEST):
2527
2528 2012-02-22  Dana Jansens  <danakj@chromium.org>
2529
2530         [chromium] Fix CCOcclusionTracker unit test assertion
2531         https://bugs.webkit.org/show_bug.cgi?id=79275
2532
2533         Reviewed by James Robinson.
2534
2535         * tests/CCOcclusionTrackerTest.cpp:
2536         (WebCore::TEST):
2537
2538 2012-02-22  Ian Vollick  <vollick@chromium.org>
2539
2540         [chromium] Plumb from GraphicsLayer to the cc thread animation code
2541         https://bugs.webkit.org/show_bug.cgi?id=75874
2542
2543         Reviewed by James Robinson.
2544
2545         * WebKit.gypi:
2546         * public/WebSettings.h:
2547         * public/platform/WebLayerTreeView.h:
2548         (WebKit::WebLayerTreeView::Settings::Settings):
2549         (Settings):
2550         * src/WebLayerTreeView.cpp:
2551         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
2552         * src/WebSettingsImpl.cpp:
2553         (WebKit::WebSettingsImpl::setThreadedAnimationEnabled):
2554         (WebKit):
2555         * src/WebSettingsImpl.h:
2556         (WebSettingsImpl):
2557         * src/WebViewImpl.cpp:
2558         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2559         * tests/CCActiveAnimationTest.cpp:
2560         (WebCore::createActiveAnimation):
2561         * tests/CCAnimationTestCommon.cpp: Added.
2562         (WebKitTests):
2563         (WebKitTests::FakeFloatAnimationCurve::FakeFloatAnimationCurve):
2564         (WebKitTests::FakeFloatAnimationCurve::~FakeFloatAnimationCurve):
2565         (WebKitTests::FakeFloatAnimationCurve::clone):
2566         (WebKitTests::FakeTransformTransition::FakeTransformTransition):
2567         (WebKitTests::FakeTransformTransition::~FakeTransformTransition):
2568         (WebKitTests::FakeTransformTransition::getValue):
2569         (WebKitTests::FakeTransformTransition::clone):
2570         (WebKitTests::FakeFloatTransition::FakeFloatTransition):
2571         (WebKitTests::FakeFloatTransition::~FakeFloatTransition):
2572         (WebKitTests::FakeFloatTransition::getValue):
2573         (WebKitTests::FakeLayerAnimationControllerImplClient::FakeLayerAnimationControllerImplClient):
2574         (WebKitTests::FakeLayerAnimationControllerImplClient::~FakeLayerAnimationControllerImplClient):
2575         (WebKitTests::FakeFloatTransition::clone):
2576         (WebKitTests::addOpacityTransition):
2577         * tests/CCAnimationTestCommon.h: Added.
2578         (WebCore):
2579         (WebKitTests):
2580         (FakeFloatAnimationCurve):
2581         (WebKitTests::FakeFloatAnimationCurve::duration):
2582         (WebKitTests::FakeFloatAnimationCurve::getValue):
2583         (FakeTransformTransition):
2584         (WebKitTests::FakeTransformTransition::duration):
2585         (FakeFloatTransition):
2586         (WebKitTests::FakeFloatTransition::duration):
2587         (FakeLayerAnimationControllerImplClient):
2588         (WebKitTests::FakeLayerAnimationControllerImplClient::id):
2589         (WebKitTests::FakeLayerAnimationControllerImplClient::opacity):
2590         (WebKitTests::FakeLayerAnimationControllerImplClient::setOpacity):
2591         (WebKitTests::FakeLayerAnimationControllerImplClient::transform):
2592         (WebKitTests::FakeLayerAnimationControllerImplClient::setTransform):
2593         (WebKitTests::FakeLayerAnimationControllerImplClient::bounds):
2594         * tests/CCLayerAnimationControllerImplTest.cpp:
2595         (WebKitTests::createActiveAnimation):
2596         (WebKitTests::TEST):
2597         * tests/CCLayerAnimationControllerTest.cpp: Added.
2598         (WebKitTests):
2599         (WebKitTests::createActiveAnimation):
2600         (WebKitTests::TEST):
2601         * tests/CCLayerTreeHostImplTest.cpp:
2602         (WebKit::CCLayerTreeHostImplTest::postAnimationEventsToMainThreadOnImplThread):
2603         * tests/CCLayerTreeHostTest.cpp:
2604         (WTF::TestHooks::animateLayers):
2605         (MockLayerTreeHostImpl):
2606         (WTF::MockLayerTreeHostImpl::animateLayers):
2607         (WTF::MockLayerTreeHost::create):
2608         (WTF::MockLayerTreeHost::createLayerTreeHostImpl):
2609         (WTF):
2610         (MockLayerAnimationController):
2611         (WTF::MockLayerAnimationController::create):
2612         (WTF::MockLayerAnimationController::addAnimation):
2613         (WTF::MockLayerTreeHostClient::scheduleComposite):
2614         (WTF::CCLayerTreeHostTest::postAddAnimationToMainThread):
2615         (CCLayerTreeHostTest):
2616         (WTF::CCLayerTreeHostTest::dispatchAddAnimation):
2617         (WTF::CCLayerTreeHostTest::doBeginTest):
2618         (CCLayerTreeHostTestAddAnimation):
2619         (WTF::CCLayerTreeHostTestAddAnimation::CCLayerTreeHostTestAddAnimation):
2620         (WTF::CCLayerTreeHostTestAddAnimation::beginTest):
2621         (WTF::CCLayerTreeHostTestAddAnimation::animateLayers):
2622         (WTF::CCLayerTreeHostTestAddAnimation::afterTest):
2623         (WTF::TEST_F):
2624         * tests/TreeSynchronizerTest.cpp:
2625         (FakeLayerAnimationController):
2626         (WebKitTests::FakeLayerAnimationController::create):
2627         (WebKitTests::FakeLayerAnimationController::synchronizedAnimations):
2628         (WebKitTests::FakeLayerAnimationController::FakeLayerAnimationController):
2629         (WebKitTests::FakeLayerAnimationController::synchronizeAnimations):
2630         (WebKitTests):
2631         (WebKitTests::TEST):
2632
2633 2012-02-21  Ryosuke Niwa  <rniwa@webkit.org>
2634
2635         Remove the remaining uses of CSSStyleDeclaration in Editor
2636         https://bugs.webkit.org/show_bug.cgi?id=78939
2637
2638         Reviewed by Enrica Casucci.
2639
2640         * src/EditorClientImpl.cpp:
2641         (WebKit::EditorClientImpl::shouldApplyStyle):
2642         * src/EditorClientImpl.h:
2643         (EditorClientImpl):
2644
2645 2012-02-22  Daniel Cheng  <dcheng@chromium.org>
2646
2647         [chromium] Cleanup unused WebDragData methods after r107846
2648         https://bugs.webkit.org/show_bug.cgi?id=78837
2649
2650         Reviewed by Tony Chang.
2651
2652         The deleted methods have been replaced by items() and setItems().
2653
2654         * public/platform/WebDragData.h:
2655         (WebDragData):
2656         * src/WebDragData.cpp:
2657         (WebKit::WebDragData::addItem): Add ensureMutable() call to verify preconditions for
2658                                         mutating the item store.
2659
2660 2012-02-22  Tim Dresser  <tdresser@chromium.org>
2661
2662         CCLayerTreeHostImpl calls didDraw more frequently than willDraw
2663         https://bugs.webkit.org/show_bug.cgi?id=79139
2664
2665         Reviewed by James Robinson.
2666
2667         * tests/CCLayerTreeHostImplTest.cpp:
2668         (WebKit::DidDrawCheckLayer::willDraw):
2669         (DidDrawCheckLayer):
2670         (WebKit::DidDrawCheckLayer::willDrawCalled):
2671         (WebKit::DidDrawCheckLayer::DidDrawCheckLayer):
2672         (WebKit::TEST_F):
2673         (WebKit):
2674
2675 2012-02-22  Dana Jansens  <danakj@chromium.org>
2676
2677         [Chromium] New CCOcclusionTracker class with tests
2678         https://bugs.webkit.org/show_bug.cgi?id=78549
2679
2680         Reviewed by James Robinson.
2681
2682         * WebKit.gypi:
2683         * tests/CCLayerTreeHostCommonTest.cpp:
2684         (WebCore):
2685         * tests/CCOcclusionTrackerTest.cpp: Added.
2686         (WebCore):
2687         (WebCore::setLayerPropertiesForTesting):
2688         (LayerChromiumWithForcedDrawsContent):
2689         (WebCore::LayerChromiumWithForcedDrawsContent::LayerChromiumWithForcedDrawsContent):
2690         (WebCore::LayerChromiumWithForcedDrawsContent::drawsContent):
2691         (TestCCOcclusionTracker):
2692         (WebCore::TestCCOcclusionTracker::occlusionInScreenSpace):
2693         (WebCore::TestCCOcclusionTracker::occlusionInTargetSurface):
2694         (WebCore::TestCCOcclusionTracker::setOcclusionInScreenSpace):
2695         (WebCore::TestCCOcclusionTracker::setOcclusionInTargetSurface):
2696         (WebCore::TEST):
2697
2698 2012-02-22  Hao Zheng  <zhenghao@chromium.org>
2699
2700         [chromium] Build WebKit with MEDIA_STREAM disabled.
2701         https://bugs.webkit.org/show_bug.cgi?id=79214
2702
2703         Reviewed by Kent Tamura.
2704
2705         * src/UserMediaClientImpl.h:
2706
2707 2012-02-20  Roland Steiner  <rolandsteiner@chromium.org>
2708
2709         <style scoped>: Add runtime-flag
2710         https://bugs.webkit.org/show_bug.cgi?id=79074
2711
2712         Added a runtime-flag.
2713         Enable default STYLE_SCOPED compile-time flag for Chromium.
2714
2715         Reviewed by Dimitri Glazkov.
2716
2717         * features.gypi: enable STYLE_SCOPED
2718         * public/WebRuntimeFeatures.h:
2719         (WebRuntimeFeatures):
2720         * src/WebRuntimeFeatures.cpp:
2721         (WebKit::WebRuntimeFeatures::enableStyleScoped):
2722         (WebKit):
2723         (WebKit::WebRuntimeFeatures::isStyleScopedEnabled):
2724
2725 2012-02-22  Yuta Kitamura  <yutak@chromium.org>
2726
2727         Unreviewed, rolling out r108453.
2728         http://trac.webkit.org/changeset/108453
2729         https://bugs.webkit.org/show_bug.cgi?id=78549
2730
2731         Broke Chromium's webkit_unit_tests.
2732
2733         * WebKit.gypi:
2734         * tests/CCLayerTreeHostCommonTest.cpp:
2735         (WebCore::TEST):
2736         (WebCore):
2737         * tests/CCOcclusionTrackerTest.cpp: Removed.
2738
2739 2012-02-22  Ryosuke Niwa  <rniwa@webkit.org>
2740
2741         Remove the remaining uses of CSSStyleDeclaration in Editor
2742         https://bugs.webkit.org/show_bug.cgi?id=78939
2743
2744         Reviewed by Enrica Casucci.
2745
2746         * src/EditorClientImpl.cpp:
2747         (WebKit::EditorClientImpl::shouldApplyStyle):
2748         * src/EditorClientImpl.h:
2749         (EditorClientImpl):
2750
2751 2012-02-22  Dana Jansens  <danakj@chromium.org>
2752
2753         [chromium] Cull quads outside of the scissoring damage rect
2754         https://bugs.webkit.org/show_bug.cgi?id=79181
2755
2756         Reviewed by James Robinson.
2757
2758         * tests/CCQuadCullerTest.cpp:
2759         (WebCore::TEST):
2760         (WebCore):
2761
2762 2012-02-21  Dana Jansens  <danakj@chromium.org>
2763
2764         [Chromium] New CCOcclusionTracker class with tests
2765         https://bugs.webkit.org/show_bug.cgi?id=78549
2766
2767         Reviewed by James Robinson.
2768
2769         * WebKit.gypi:
2770         * tests/CCLayerTreeHostCommonTest.cpp:
2771         (WebCore):
2772         * tests/CCOcclusionTrackerTest.cpp: Added.
2773         (WebCore):
2774         (WebCore::setLayerPropertiesForTesting):
2775         (LayerChromiumWithForcedDrawsContent):
2776         (WebCore::LayerChromiumWithForcedDrawsContent::LayerChromiumWithForcedDrawsContent):
2777         (WebCore::LayerChromiumWithForcedDrawsContent::drawsContent):
2778         (TestCCOcclusionTracker):
2779         (WebCore::TestCCOcclusionTracker::occlusionInScreenSpace):
2780         (WebCore::TestCCOcclusionTracker::occlusionInTargetSurface):
2781         (WebCore::TestCCOcclusionTracker::setOcclusionInScreenSpace):
2782         (WebCore::TestCCOcclusionTracker::setOcclusionInTargetSurface):
2783         (WebCore::TEST):
2784
2785 2012-02-21  MORITA Hajime  <morrita@google.com>
2786
2787         INPUT_SPEECH should be implemented as a PageSupplement.
2788         https://bugs.webkit.org/show_bug.cgi?id=79051
2789
2790         Reviewed by Adam Barth.
2791
2792         * src/WebViewImpl.cpp:
2793         (WebKit::WebViewImpl::WebViewImpl):
2794
2795 2012-02-20  MORITA Hajime  <morrita@google.com>
2796
2797         MEDIA_STREAM should be implemented as a PageSupplement.
2798         https://bugs.webkit.org/show_bug.cgi?id=79050
2799
2800         Reviewed by Adam Barth.
2801
2802         * src/WebViewImpl.cpp:
2803         (WebKit::WebViewImpl::WebViewImpl):
2804
2805 2012-02-21  Dana Jansens  <danakj@chromium.org>
2806
2807         [chromium] Painting a layer clears opaque rect in untouched tiles
2808         https://bugs.webkit.org/show_bug.cgi?id=79157
2809
2810         Reviewed by James Robinson.
2811
2812         * tests/TiledLayerChromiumTest.cpp:
2813         (WTF::TEST):
2814
2815 2012-02-21  James Robinson  <jamesr@chromium.org>
2816
2817         Enable ScrollingCoordinator in chromium whenever compositing is enabled
2818         https://bugs.webkit.org/show_bug.cgi?id=79165
2819
2820         Reviewed by Adam Barth.
2821
2822         * src/NonCompositedContentHost.cpp:
2823         (WebKit::NonCompositedContentHost::setViewport):
2824             Whenever the ScrollingCoordinator is enabled the scroll layer's position is expected to be updated
2825             externally to RenderLayerCompositor, so set it here.
2826         * src/WebSettingsImpl.cpp:
2827         (WebKit::WebSettingsImpl::setAcceleratedCompositingEnabled):
2828
2829 2012-02-21  Daniel Cheng  <dcheng@chromium.org>
2830
2831         [chromium] Fix image drag out on Chromium
2832         https://bugs.webkit.org/show_bug.cgi?id=79158
2833
2834         Reviewed by Tony Chang.
2835
2836         We constructed the WebDragData::Item for dragging out an image but never added it to the
2837         item list. This is normally covered by the fast/events/drag-image-filename.html layout test,
2838         but the bug wasn't caught in the original patch since the implementations in Chrome and DRT
2839         had diverged.
2840
2841         * src/WebDragData.cpp:
2842         (WebKit::WebDragData::items):
2843
2844 2012-02-21  David Grogan  <dgrogan@chromium.org>
2845
2846         IndexedDB: webFrame isn't threadsafe, don't use it from a worker thread
2847         https://bugs.webkit.org/show_bug.cgi?id=78659
2848
2849         After crrev.com/121669, indexed db doesn't use the web frame for
2850         anything if called from a web worker.
2851
2852         No new tests - this check was defensive and possibly not ever
2853         triggered.
2854
2855         Reviewed by Tony Chang.
2856
2857         * src/IDBFactoryBackendProxy.cpp:
2858         (WebKit::IDBFactoryBackendProxy::openFromWorker):
2859
2860 2012-02-21  Yury Semikhatsky  <yurys@chromium.org>
2861
2862         [V8] Web Inspector: set breakpoint/pause doesn't work when worker is in a tight loop
2863         https://bugs.webkit.org/show_bug.cgi?id=79097
2864
2865         Worker script execution will be interrupted for dispatching inspector commands.
2866
2867         Reviewed by Pavel Feldman.
2868
2869         * src/WebSharedWorkerImpl.cpp:
2870         (WebKit::WebSharedWorkerImpl::dispatchDevToolsMessage):
2871
2872 2012-02-20  Peter Beverloo  <peter@chromium.org>
2873
2874         Unreviewed.  Rolled DEPS.
2875
2876         * DEPS:
2877
2878 2012-02-20  Kenichi Ishibashi  <bashi@chromium.org>
2879
2880         [WebSocket] Add deflater/inflater classes
2881         https://bugs.webkit.org/show_bug.cgi?id=78449
2882
2883         Add tests which ensure WebSocketDeflater/WebSocketInflater can
2884         compress/decompress data correctly.
2885
2886         Reviewed by Kent Tamura.
2887
2888         * WebKit.gypi: Added zlib dependency.
2889         * WebKitUnitTests.gyp: Ditto.
2890         * tests/WebSocketDeflaterTest.cpp: Added.
2891         (WebCore):
2892         (WebCore::TEST):
2893
2894 2012-02-17  Yury Semikhatsky  <yurys@chromium.org>
2895
2896         [Chromium] Web Inspector: terminated workers are not removed from dedicated worker list
2897         https://bugs.webkit.org/show_bug.cgi?id=78899
2898
2899         Pass original WorkerContextProxy object to the inspector instrumentation instead
2900         of Chromium-specific one for consistency with WorkerMessagingProxy implementation
2901         in WebCore.
2902
2903         Reviewed by Pavel Feldman.
2904
2905         * src/WebWorkerClientImpl.cpp:
2906         (WebKit::WebWorkerClientImpl::startWorkerContext):
2907
2908 2012-02-18  raman Tenneti  <rtenneti@chromium.org>
2909
2910         Track the NPN protocol version negotiated with the server
2911         https://bugs.webkit.org/show_bug.cgi?id=77349
2912
2913         Reviewed by Darin Fisher.
2914
2915         [chromium] Added ExtraData to WebURLResponse.
2916
2917         * WebKit.gypi:
2918         * public/platform/WebURLResponse.h:
2919         (ExtraData):
2920         (WebKit::WebURLResponse::ExtraData::~ExtraData):
2921         (WebURLResponse):
2922         * src/WebURLResponse.cpp:
2923         (WebKit::WebURLResponse::extraData):
2924         (WebKit):
2925         (WebKit::WebURLResponse::setExtraData):
2926         * tests/WebURLResponseTest.cpp: Added.
2927         (WebKit):
2928         (TestExtraData):
2929         (WebKit::TestExtraData::TestExtraData):
2930         (WebKit::TestExtraData::~TestExtraData):
2931         (WebKit::TEST):
2932
2933 2012-02-17  Joshua Bell  <jsbell@chromium.org>
2934
2935         IndexedDB: Support overloaded methods that take IDBKey or IDBKeyRange
2936         https://bugs.webkit.org/show_bug.cgi?id=78399
2937
2938         Implements the WebKit API for IDBObjectStore.delete(IDBKeyRange),
2939         to exercise the overload capability.
2940
2941         Reviewed by Tony Chang.
2942
2943         * src/IDBObjectStoreBackendProxy.cpp:
2944         (WebKit::IDBObjectStoreBackendProxy::deleteFunction):
2945         (WebKit):
2946         * src/IDBObjectStoreBackendProxy.h:
2947         (IDBObjectStoreBackendProxy):
2948         * src/WebIDBObjectStoreImpl.cpp:
2949         (WebKit::WebIDBObjectStoreImpl::deleteFunction):
2950         (WebKit):
2951         * src/WebIDBObjectStoreImpl.h:
2952         (WebIDBObjectStoreImpl):
2953
2954 2012-02-17  Michal Mocny  <mmocny@google.com>
2955
2956         [chromium] GL_CHROMIUM_gpu_memory_manager extension
2957         https://bugs.webkit.org/show_bug.cgi?id=77155
2958
2959         Reviewed by James Robinson.
2960
2961         * public/platform/WebGraphicsContext3D.h:
2962         (WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
2963         (WebKit::WebGraphicsContext3D::WebGraphicsMemoryAllocationChangedCallbackCHROMIUM::~WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
2964         (WebGraphicsContext3D):
2965         (WebKit::WebGraphicsContext3D::setMemoryAllocationChangedCallbackCHROMIUM):
2966         * src/Extensions3DChromium.cpp:
2967         (WebCore::Extensions3DChromium::setGpuMemoryAllocationChangedCallbackCHROMIUM):
2968         (WebCore):
2969         * src/GraphicsContext3DChromium.cpp:
2970         (WebCore::GraphicsContext3D::~GraphicsContext3D):
2971         (GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
2972         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
2973         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::~GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
2974         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::onMemoryAllocationChanged):
2975         (WebCore):
2976         (WebCore::GraphicsContext3DPrivate::setGpuMemoryAllocationChangedCallbackCHROMIUM):
2977         * src/GraphicsContext3DPrivate.h:
2978         (WebCore):
2979         * tests/FakeWebGraphicsContext3D.h:
2980         (WebKit::FakeWebGraphicsContext3D::setMemoryAllocationChangedCallbackCHROMIUM):
2981         (FakeWebGraphicsContext3D):
2982
2983 2012-02-17  Mihnea Ovidenie  <mihnea@adobe.com>
2984
2985         CSS regions enabled by default
2986         https://bugs.webkit.org/show_bug.cgi?id=78525
2987
2988         Reviewed by David Hyatt.
2989
2990         Add a runtime preference to enable/disable regions functionality at runtime(WebKitCSSRegionsEnabled).
2991         CSSRegions are still enabled by default.
2992         In DRT, use layoutTestController.overridePreference("WebKitCSSRegionsEnabled", "0") to disable the css regions functionality.
2993
2994         * public/WebSettings.h:
2995         * src/WebSettingsImpl.cpp:
2996         (WebKit::WebSettingsImpl::setExperimentalCSSRegionsEnabled):
2997         (WebKit):
2998         * src/WebSettingsImpl.h:
2999         (WebSettingsImpl):
3000
3001 2012-02-17  Scott Graham  <scottmg@chromium.org>
3002
3003         [Chromium] pack Gamepad shared memory structure
3004         https://bugs.webkit.org/show_bug.cgi?id=78022
3005
3006         Reviewed by Darin Fisher.
3007
3008         Add #pragma pack around definition of shared memory structures to
3009         avoid differences across compilers and platforms. Add COMPILE_ASSERT
3010         to verify expected size.
3011
3012         * public/platform/WebGamepad.h:
3013         (WebKit):
3014         * public/platform/WebGamepads.h:
3015         (WebKit):
3016
3017 2012-02-17  Tim Dresser  <tdresser@chromium.org>
3018
3019         [chromium] Refactor video drawing to be more data driven
3020         https://bugs.webkit.org/show_bug.cgi?id=76720
3021
3022         Reviewed by James Robinson.
3023
3024         CCLayerTreeHostImplTest.didDrawCalledOnAllLayers ensures that
3025         CCLayerImpl::didDraw() is called on all layers, including layers
3026         on different render surfaces.
3027
3028         * tests/CCLayerTreeHostImplTest.cpp:
3029         (DidDrawCheckLayer):
3030         (WebKit::DidDrawCheckLayer::create):
3031         (WebKit::DidDrawCheckLayer::didDraw):
3032         (WebKit::DidDrawCheckLayer::didDrawCalled):
3033         (WebKit::DidDrawCheckLayer::DidDrawCheckLayer):
3034         (WebKit):
3035         (WebKit::TEST_F):
3036
3037 2012-02-17  Ilya Tikhonovsky  <loislo@chromium.org>
3038
3039         Unreviewed, rolling out r108071.
3040         http://trac.webkit.org/changeset/108071
3041         https://bugs.webkit.org/show_bug.cgi?id=77155
3042
3043         chromium-mac compilation failed
3044
3045         * public/platform/WebGraphicsContext3D.h:
3046         (WebGraphicsContext3D):
3047         * src/Extensions3DChromium.cpp:
3048         * src/GraphicsContext3DChromium.cpp:
3049         (WebCore::GraphicsContext3D::~GraphicsContext3D):
3050         * src/GraphicsContext3DPrivate.h:
3051         (WebCore):
3052         * tests/FakeWebGraphicsContext3D.h:
3053
3054 2012-02-17  Michal Mocny  <mmocny@google.com>
3055
3056         [chromium] GL_CHROMIUM_gpu_memory_manager extension
3057         https://bugs.webkit.org/show_bug.cgi?id=77155
3058
3059         Reviewed by James Robinson.
3060
3061         * public/platform/WebGraphicsContext3D.h:
3062         (WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
3063         (WebKit::WebGraphicsContext3D::WebGraphicsMemoryAllocationChangedCallbackCHROMIUM::~WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
3064         (WebGraphicsContext3D):
3065         (WebKit::WebGraphicsContext3D::setMemoryAllocationChangedCallbackCHROMIUM):
3066         * src/Extensions3DChromium.cpp:
3067         (WebCore::Extensions3DChromium::setGpuMemoryAllocationChangedCallbackCHROMIUM):
3068         (WebCore):
3069         * src/GraphicsContext3DChromium.cpp:
3070         (WebCore::GraphicsContext3D::~GraphicsContext3D):
3071         (GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
3072         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
3073         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::~GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
3074         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::onMemoryAllocationChanged):
3075         (WebCore):
3076         (WebCore::GraphicsContext3DPrivate::setGpuMemoryAllocationChangedCallbackCHROMIUM):
3077         * src/GraphicsContext3DPrivate.h:
3078         (WebCore):
3079         * tests/FakeWebGraphicsContext3D.h:
3080         (WebKit::FakeWebGraphicsContext3D::setMemoryAllocationChangedCallbackCHROMIUM):
3081         (FakeWebGraphicsContext3D):
3082
3083 2012-02-17  Ilya Tikhonovsky  <loislo@chromium.org>
3084
3085         Unreviewed. Chromium DEPS roll
3086
3087         * DEPS: from 122122 to 122498
3088
3089 2012-02-16  Alexandre Elias  <aelias@google.com>
3090
3091         [chromium] Bundle page scale factor and limits in CCLayerTreeHost
3092         https://bugs.webkit.org/show_bug.cgi?id=78762
3093
3094         Setting page scale factor and its limits in separate methods
3095         may cause clamping bugs if one of them makes it to the
3096         impl thread before the other.  Change the API to bundle them together,
3097         which matches the existing impl-side interface.
3098
3099         Reviewed by James Robinson.
3100
3101         * src/WebViewImpl.cpp:
3102         (WebKit::WebViewImpl::computePageScaleFactorLimits):
3103         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3104         (WebKit::WebViewImpl::updateLayerTreeViewport):
3105         * tests/CCLayerTreeHostTest.cpp:
3106         (WTF::CCLayerTreeHostTestStartPageScaleAnimation::applyScrollAndScale):
3107
3108 2012-02-16  Varun Jain  <varunjain@google.com>
3109
3110         [Chromium] Add method to WebViewImpl to extract zoom/scroll params for gesture events on touch devices
3111         https://bugs.webkit.org/show_bug.cgi?id=72909
3112
3113         Reviewed by James Robinson.
3114
3115         * src/WebViewImpl.cpp:
3116         (std):
3117         (WebKit):
3118         (WebKit::WebViewImpl::computeBlockBounds):
3119         (WebKit::WebViewImpl::widenRectWithinPageBounds):
3120         (WebKit::WebViewImpl::computeScaleAndScrollForHitRect):
3121         * src/WebViewImpl.h:
3122         (WebViewImpl):
3123         * tests/WebFrameTest.cpp:
3124         (WebKit):
3125         (WebKit::TEST_F):
3126         * tests/data/get_scale_for_auto_zoom_into_div_test.html: Added.
3127
3128 2012-02-16  Sami Kyostila  <skyostil@chromium.org>
3129
3130         [chromium] LayerChromium::setNeedsDisplay does not apply contents scale correctly
3131         https://bugs.webkit.org/show_bug.cgi?id=77464
3132
3133         Added a new unit test for TiledLayerChromium to verify its invalidation behavior when
3134         the contents scale changes. Also enhance and existing unit test for LayerChromium to
3135         verify the paint rectangle dimensions instead just checking that it is not empty.
3136
3137         Reviewed by James Robinson.
3138
3139         * tests/LayerChromiumTest.cpp:
3140         * tests/TiledLayerChromiumTest.cpp:
3141         (WTF::FakeTiledLayerChromium::setNeedsDisplayRect):
3142         (FakeTiledLayerChromium):
3143         (WTF::FakeTiledLayerChromium::lastNeedsDisplayRect):
3144         (WTF::TEST):
3145         (WTF):
3146
3147 2012-02-16  MORITA Hajime  <morrita@google.com>
3148
3149         https://bugs.webkit.org/show_bug.cgi?id=78065
3150         [Chromium] Should eliminate WebTextCheckingResult legacy APIs
3151
3152         Reviewed by Kent Tamura.
3153
3154         Removed unused legacy members.
3155
3156         * public/WebTextCheckingResult.h:
3157         (WebKit::WebTextCheckingResult::WebTextCheckingResult):
3158         (WebTextCheckingResult):
3159         * src/AssertMatchingEnums.cpp:
3160
3161 2012-02-16  Evan Martin  <evan@chromium.org>
3162
3163         [chromium] pull third_party/gold to fix linux build
3164         https://bugs.webkit.org/show_bug.cgi?id=78842
3165
3166         Reviewed by Tony Chang.
3167
3168         The Chrome build now depends on third_party/gold also being checked out.
3169
3170         * DEPS:
3171
3172 2012-02-15  Michael Nordman  <michaeln@google.com>
3173
3174         Fix bugs in the implementation of WebDatabase::closeDatabaseImmediately.
3175         https://bugs.webkit.org/show_bug.cgi?id=78841
3176
3177         WebDatabase now delegates this function entirely to DatabaseTracker.
3178         This is part of resolving http://crbug.com/98939
3179
3180         Reviewed by David Levin.
3181
3182         * src/WebDatabase.cpp:
3183         (WebKit::WebDatabase::closeDatabaseImmediately):
3184
3185 2012-02-16  Dana Jansens  <danakj@chromium.org>
3186
3187         [Chromium] Occlusion tracking with CSS filters
3188         https://bugs.webkit.org/show_bug.cgi?id=77498
3189
3190         Reviewed by James Robinson.
3191
3192         * tests/CCLayerTreeHostTest.cpp:
3193         (CCLayerTreeHostTestLayerOcclusionWithFilters):
3194         (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::CCLayerTreeHostTestLayerOcclusionWithFilters):
3195         (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::beginTest):
3196         (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::afterTest):
3197         (WTF):
3198
3199 2012-02-16  Joshua Bell  <jsbell@chromium.org>
3200
3201         IndexedDB: Chromium WebKit API support for IDBObjectStore.delete(IDBKeyRange)
3202         https://bugs.webkit.org/show_bug.cgi?id=78619
3203
3204         Add an overload to WebIDBObjectStore::deleteFunction(). First part of a two-sided patch.
3205
3206         Reviewed by Darin Fisher.
3207
3208         * public/WebIDBObjectStore.h:
3209         (WebKit::WebIDBObjectStore::deleteFunction):
3210
3211 2012-02-16  Dana Jansens  <danakj@chromium.org>
3212
3213         [chromium] Clipping/Transforms applied in wrong order in opaque paint tracking
3214         https://bugs.webkit.org/show_bug.cgi?id=78775
3215
3216         Reviewed by Stephen White.
3217
3218         * tests/PlatformContextSkiaTest.cpp:
3219         (WebCore::TEST):
3220
3221 2012-02-16  Daniel Cheng  <dcheng@chromium.org>
3222
3223         [chromium] Add WEBKIT_EXPORT to new WebDragData methods.
3224         https://bugs.webkit.org/show_bug.cgi?id=78843
3225
3226         Reviewed by Tony Chang.
3227
3228         * public/platform/WebDragData.h:
3229         (WebDragData):
3230
3231 2012-02-16  Viet-Trung Luu  <viettrungluu@chromium.org>
3232
3233         [chromium] Add method to WebPluginContainer to check if a rectangle is topmost
3234         https://bugs.webkit.org/show_bug.cgi?id=78166
3235
3236         Reviewed by Darin Fisher.
3237
3238         * public/WebPluginContainer.h:
3239         (WebPluginContainer):
3240         * src/WebPluginContainerImpl.cpp:
3241         * src/WebPluginContainerImpl.h:
3242         (WebPluginContainerImpl):
3243
3244 2012-02-16  Yosifumi Inoue  <yosin@chromium.org>
3245
3246         Build Fix: R107894 breaks Chromium Linux Build.
3247         https://bugs.webkit.org/show_bug.cgi?id=78790
3248
3249         WebDragDataPrivate::types, inherited from ChromiumDataObject, returns PassRef<DOMStringList> since r107894. However, WebDragData expected to get old return value type HashSet<String>.
3250
3251         Reviewed by Kent Tamura.
3252
3253         * src/WebDragData.cpp:
3254         (WebKit::WebDragData::items): Use RefPtr<DOMStringList> rather than HashSet<String> for value of m_private->types().
3255
3256 2012-02-15  Sami Kyostila  <skyostil@google.com>
3257
3258         Enable -webkit-overflow-scrolling CSS property
3259         https://bugs.webkit.org/show_bug.cgi?id=78664
3260
3261         Reviewed by Eric Seidel.
3262
3263         * features.gypi:
3264
3265 2012-02-15  Tommy Widenflycht  <tommyw@google.com>
3266
3267         MediaStream API: Removing SecurityContext from the embedder API
3268         https://bugs.webkit.org/show_bug.cgi?id=73816
3269
3270         Reviewed by Darin Fisher.
3271
3272         * bridge/PeerConnectionHandler.cpp:
3273         (WebCore::PeerConnectionHandler::create):
3274         (WebCore::PeerConnectionHandler::PeerConnectionHandler):
3275         * bridge/PeerConnectionHandlerInternal.cpp:
3276         (WebCore::PeerConnectionHandlerInternal::PeerConnectionHandlerInternal):
3277         * bridge/PeerConnectionHandlerInternal.h:
3278         (WebCore):
3279         (PeerConnectionHandlerInternal):
3280         * public/platform/WebPeerConnectionHandler.h:
3281         (WebPeerConnectionHandler):
3282         (WebKit::WebPeerConnectionHandler::initialize):
3283
3284 2012-02-15  Peter Beverloo  <peter@chromium.org>
3285
3286         [Chromium] Roll DEPS to r122122
3287         https://bugs.webkit.org/show_bug.cgi?id=78754
3288
3289         Unreviewed DEPS roll.
3290
3291         * DEPS:
3292
3293 2012-02-01  Daniel Cheng  <dcheng@chromium.org>
3294
3295         [chromium] Add setter/getter to expose drag data as a list of items
3296         https://bugs.webkit.org/show_bug.cgi?id=77125
3297
3298         This change supports the unification of the data store backing ChromiumDataObject and
3299         DataTransferItemListChromium. ChromiumDataObject will represent dragging and clipboard data
3300         as a list of data nodes to make it more straightforward to implement the HTML spec for
3301         DataTransferItemList. Thus, we extend the abstraction to the webkit glue layer to
3302         simplify the serialization/deserialization between platform-specific data and WebDragData.
3303         The other setter/getter methods are deprecated and will be removed once the dependencies in
3304         Chromium code are gone.
3305
3306         Reviewed by Darin Fisher.
3307
3308         * public/platform/WebDragData.h:
3309         (WebKit):
3310         (WebDragData):
3311         * src/WebDragData.cpp:
3312         (WebKit::WebDragData::items):
3313         (WebKit):
3314         (WebKit::WebDragData::setItems):
3315         (WebKit::WebDragData::addItem):
3316
3317 2012-02-15  Sadrul Habib Chowdhury  <sadrul@chromium.org>
3318
3319         Notify ChromeClient when touch-event handlers are installed/removed.
3320         https://bugs.webkit.org/show_bug.cgi?id=77440
3321
3322         Reviewed by Darin Fisher and Ryosuke Niwa.
3323
3324         * public/WebViewClient.h:
3325         (WebKit::WebViewClient::numberOfTouchEventHandlersChanged):
3326         * src/ChromeClientImpl.cpp:
3327         (WebKit::ChromeClientImpl::numTouchEventHandlersChanged):
3328         (WebKit):
3329         * src/ChromeClientImpl.h:
3330         (ChromeClientImpl):
3331         * src/WebViewImpl.cpp:
3332         (WebKit::WebViewImpl::numberOfTouchEventHandlersChanged):
3333         (WebKit):
3334         * src/WebViewImpl.h:
3335         (WebViewImpl):
3336
3337 2012-02-15  Anders Carlsson  <andersca@apple.com>
3338
3339         Remove ScrollableArea::handleGestureEvent
3340         https://bugs.webkit.org/show_bug.cgi?id=78661
3341
3342         Reviewed by Adam Roben.
3343
3344         Update for WebCore changes.
3345
3346         * src/WebPluginContainerImpl.cpp:
3347         * src/WebPluginContainerImpl.h:
3348         (WebPluginContainerImpl):
3349         * src/WebViewImpl.cpp:
3350         (WebKit::WebViewImpl::gestureEvent):
3351
3352 2012-02-14  Takashi Toyoshima  <toyoshim@chromium.org>
3353
3354         Provide SocketStreamHandleInternal::toWebSocketStreamHandle(SocketStreamHandle*).
3355         https://bugs.webkit.org/show_bug.cgi?id=78581
3356
3357         Reviewed by Kent Tamura.
3358
3359         Now, there is no way to convert SocketStreamHandle to
3360         WebSocketStreamHandle. In subsequent changes, I'll use this function
3361         in FrameLoaderClientImpl.
3362
3363         * src/SocketStreamHandle.cpp: Remove SocketStreamHandleInternal class declaration.
3364         * src/SocketStreamHandleInternal.h: Move SocketStreamHandleInternal class declaration from SocketStreamHandle.cpp to expose, and add conversion function to WebSocketStreamHandle from SocketStreamHandle.
3365         (WebKit):
3366         (WebCore):
3367         (SocketStreamHandleInternal):
3368         (WebCore::SocketStreamHandleInternal::create):
3369         (WebCore::SocketStreamHandleInternal::toWebSocketStreamHandle):
3370         * WebKit.gyp: Add SocketStreamHandleInternal.h entry.
3371
3372 2012-02-14  Sheriff Bot  <webkit.review.bot@gmail.com>
3373
3374         Unreviewed, rolling out r107766.
3375         http://trac.webkit.org/changeset/107766
3376         https://bugs.webkit.org/show_bug.cgi?id=78665
3377
3378         Breaks Chromium Win build (Requested by bashi1 on #webkit).
3379
3380         * WebKit.gypi:
3381         * tests/WebSocketDeflaterTest.cpp: Removed.
3382
3383 2012-02-14  Kenichi Ishibashi  <bashi@chromium.org>
3384
3385         [WebSocket] Add extension attribute support
3386         https://bugs.webkit.org/show_bug.cgi?id=78557
3387
3388         Add WebSocketExtensionDispatcher::acceptedExtensions() checks.
3389
3390         Reviewed by Kent Tamura.
3391
3392         * tests/WebSocketExtensionDispatcherTest.cpp:
3393         (WebCore::TEST_F):
3394
3395 2012-02-14  Kenichi Ishibashi  <bashi@chromium.org>
3396
3397         [WebSocket] Add deflater/inflater classes.
3398         https://bugs.webkit.org/show_bug.cgi?id=78449
3399
3400         Add tests which ensure WebSocketDeflater/WebSocketInflater can
3401         compress/decompress data correctly.
3402
3403         Reviewed by Kent Tamura.
3404
3405         * WebKit.gypi:
3406         * tests/WebSocketDeflaterTest.cpp: Added.
3407         (WebCore):
3408         (WebCore::TEST):
3409
3410 2012-02-14  Dana Jansens  <danakj@chromium.org>
3411
3412         [chromium] Compare filters on impl thread when setting them, and test setting in unit tests
3413         https://bugs.webkit.org/show_bug.cgi?id=78643
3414
3415         Reviewed by James Robinson.
3416
3417         * tests/CCLayerImplTest.cpp:
3418         (WebCore::TEST):
3419
3420 2012-02-14  Ramya Chandrasekaran  <cramya@google.com>
3421
3422         Last character display for passwords in Android.
3423         https://bugs.webkit.org/show_bug.cgi?id=78532
3424
3425         Reviewed by Adam Barth.
3426
3427         * public/WebSettings.h:
3428         * src/WebSettingsImpl.cpp:
3429         (WebKit::WebSettingsImpl::setPasswordEchoEnabled):
3430         (WebKit):
3431         (WebKit::WebSettingsImpl::setPasswordEchoDurationInSeconds):
3432         * src/WebSettingsImpl.h:
3433         (WebSettingsImpl):
3434
3435 2012-02-14  David Reveman  <reveman@chromium.org>
3436
3437         [Chromium] Expose perTilePainting setting through WebLayerTreeView::Settings interface.
3438         https://bugs.webkit.org/show_bug.cgi?id=76937
3439
3440         Reviewed by James Robinson.
3441
3442         Add perTilePainting to WebLayerTreeView::Settings.
3443
3444         * public/platform/WebLayerTreeView.h:
3445         (WebKit::WebLayerTreeView::Settings::Settings):
3446         (Settings):
3447         * src/WebLayerTreeView.cpp:
3448         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
3449
3450 2012-02-14  Vsevolod Vlasov  <vsevik@chromium.org>
3451
3452         Web Inspector: Make ScriptsNavigator default file selector.
3453         https://bugs.webkit.org/show_bug.cgi?id=78349
3454
3455         Reviewed by Pavel Feldman.
3456
3457         * src/js/Tests.js:
3458         (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkNoDuplicates):
3459         (.TestSuite.prototype.uiSourceCodesToString_):
3460         (.TestSuite.prototype.nonAnonymousUISourceCodes_):
3461         (.TestSuite.prototype._scriptsAreParsed):
3462         (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts):
3463         (.TestSuite.prototype._waitUntilScriptsAreParsed):
3464
3465 2012-02-14  Hayato Ito  <hayato@chromium.org>
3466
3467         Make ShadowRoot.nodeType return DOCUMENT_FRAGMENT_NODE.
3468         https://bugs.webkit.org/show_bug.cgi?id=77514
3469
3470         Reviewed by Dimitri Glazkov.
3471
3472         NodeType.SHADOW_ROOT_NODE type is finally gone.
3473
3474         * src/WebPageSerializerImpl.cpp:
3475         (WebKit::WebPageSerializerImpl::buildContentForNode):
3476
3477 2012-02-14  David Reveman  <reveman@chromium.org>
3478
3479         [Chromium] Inconsistent initialization of CCSettings in WebLayerTreeView.
3480         https://bugs.webkit.org/show_bug.cgi?id=76927
3481
3482         Reviewed by James Robinson.
3483
3484         Remove unnecessary initialization and include maxPartialTextureUpdates
3485         in FIXME comment.
3486
3487         * src/WebLayerTreeView.cpp:
3488         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
3489
3490 2012-02-14  Sheriff Bot  <webkit.review.bot@gmail.com>
3491
3492         Unreviewed, rolling out r107661.
3493         http://trac.webkit.org/changeset/107661
3494         https://bugs.webkit.org/show_bug.cgi?id=78591
3495
3496         crash on lion/qt bots (Requested by hayato on #webkit).
3497
3498         * src/WebPageSerializerImpl.cpp:
3499         (WebKit::WebPageSerializerImpl::buildContentForNode):
3500
3501 2012-02-14  Yuzhu Shen  <yzshen@chromium.com>
3502
3503         [chromium] Pepper plugins don't receive mouse movement information in
3504         non-mouse-lock mode.
3505         https://bugs.webkit.org/show_bug.cgi?id=78014
3506
3507         This change makes WebMouseEventBuilder pass along mouse movement
3508         information properly.
3509
3510         There isn't test for this change because:
3511         - the movement information added is only used by pepper, and there
3512           isn't any test for pepper at the WebKit side. (WebKit doesn't know
3513           about pepper.)
3514         - this change is trivial. It just copies two newly-added data fields
3515           from MouseEvent to WebMouseEventBuilder during conversion.
3516
3517         Reviewed by Tony Chang.
3518
3519         * src/WebInputEventConversion.cpp:
3520         (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
3521
3522 2012-02-11  Nikolas Zimmermann  <nzimmermann@rim.com>
3523
3524         Convert svg/animations to use SMIL methods for driving the timeline
3525         https://bugs.webkit.org/show_bug.cgi?id=78422
3526
3527         Reviewed by Dirk Schulze.
3528
3529         Remove SVG animation sampling functionality provided for DRT, which no longer uses it.
3530         Instead we switched the svg/animations tests to use SVGSVGElement.setCurrentTime.
3531
3532         * public/WebFrame.h:
3533         (WebFrame):
3534         * src/WebFrameImpl.cpp:
3535         * src/WebFrameImpl.h:
3536         (WebFrameImpl):
3537
3538 2012-02-13  Mihai Parparita  <mihaip@chromium.org>
3539
3540         [Chromium] Remove BoundObject
3541         https://bugs.webkit.org/show_bug.cgi?id=78531
3542
3543         Reviewed by Pavel Feldman.
3544
3545         Remove the BoundObject class, references to it were removed in r56999.
3546
3547         * WebKit.gyp:
3548         * src/BoundObject.cpp: Removed.
3549         * src/BoundObject.h: Removed.
3550         * src/WebDevToolsFrontendImpl.cpp:
3551
3552 2012-02-13  W. James MacLean  <wjmaclean@chromium.org>
3553
3554         [chromium] Remove obsolete zoom animation pathway.
3555         https://bugs.webkit.org/show_bug.cgi?id=78359
3556
3557         Reviewed by James Robinson.
3558
3559         This patch removes dead code from the previous incarnation of zoom animation for chromium.
3560
3561         * src/WebViewImpl.cpp:
3562
3563 2012-02-13  Hayato Ito  <hayato@chromium.org>
3564
3565         Make ShadowRoot.nodeType return DOCUMENT_FRAGMENT_NODE.
3566         https://bugs.webkit.org/show_bug.cgi?id=77514
3567
3568         Reviewed by Dimitri Glazkov.
3569
3570         NodeType.SHADOW_ROOT_NODE type is finally gone.
3571
3572         * src/WebPageSerializerImpl.cpp:
3573         (WebKit::WebPageSerializerImpl::buildContentForNode):
3574
3575 2012-02-13  Nico Weber  <thakis@chromium.org>
3576
3577         [chromium] Let WebKit::initialize call InitWebCoreSystemInterface on mac.
3578         https://bugs.webkit.org/show_bug.cgi?id=78246
3579
3580         This allows removing a bunch of code in chromium land (https://chromiumcodereview.appspot.com/9374020/),
3581         and helps with the component build on mac (InitWebCoreSystemInterface is not an
3582         exported function, and it shouldn't be).
3583
3584         Source/WebKit/mac/WebCoreSupport/WebSystemInterface.mm early-returns when it's
3585         called twice, so it's safe to land this change, and remove the calls in client
3586         code in a later CL.
3587
3588         Reviewed by Darin Fisher.
3589
3590         * src/WebKit.cpp:
3591         (WebKit::initializeWithoutV8):
3592
3593 2012-02-13  Yosifumi Inoue  <yosin@chromium.org>
3594
3595         [Forms] Use enum instead of bool for HTMLInputElement::setValue
3596         https://bugs.webkit.org/show_bug.cgi?id=75217
3597
3598         Reviewed by Kent Tamura.
3599
3600         * src/WebInputElement.cpp:
3601         (WebKit::WebInputElement::setValue): Use enum for HTMLInputElement::setValue
3602
3603 2012-02-12  Hajime Morrita  <morrita@chromium.org>
3604
3605         Page should have less intrusive way to associate API implementation objects.
3606         https://bugs.webkit.org/show_bug.cgi?id=78085
3607
3608         Reviewed by Adam Barth.
3609
3610         * src/WebViewImpl.cpp:
3611         (WebKit::WebViewImpl::WebViewImpl):
3612
3613 2012-02-10  David Grogan  <dgrogan@chromium.org>
3614
3615         Disable IndexedDB permissions check from shared workers
3616         https://bugs.webkit.org/show_bug.cgi?id=78316
3617
3618         We want to temporarily bypass this check because it causes a crash
3619         when called from a shared worker.  We'll have to fix it before
3620         including idb on shared workers in a release but don't want to stop
3621         developers from testing out idb on shared workers.
3622
3623         No new tests because it affects shared workers only, which aren't
3624         testable by DRT.
3625
3626         Reviewed by Tony Chang.
3627
3628         * src/IDBFactoryBackendProxy.cpp:
3629         (WebKit::IDBFactoryBackendProxy::allowIDBFromWorkerThread):
3630
3631 2012-02-10  Sheriff Bot  <webkit.review.bot@gmail.com>
3632
3633         Unreviewed.  Rolled DEPS.
3634
3635         * DEPS:
3636
3637 2012-02-09  Kenichi Ishibashi  <bashi@chromium.org>
3638
3639         Add WebSocket extension support
3640         https://bugs.webkit.org/show_bug.cgi?id=78079
3641
3642         Add some tests which check WebSocketExtensions::processHeaderValue()
3643         parses the given response correctly.
3644
3645         Reviewed by Kent Tamura.
3646
3647         * WebKit.gypi:
3648         * tests/WebSocketExtensionDispatcherTest.cpp: Added.
3649         (WebCore):
3650         (MockWebSocketExtensionProcessor):
3651         (WebCore::MockWebSocketExtensionProcessor::MockWebSocketExtensionProcessor):
3652         (WebSocketExtensionDispatcherTest):
3653         (WebCore::WebSocketExtensionDispatcherTest::WebSocketExtensionDispatcherTest):
3654         (WebCore::WebSocketExtensionDispatcherTest::SetUp):
3655         (WebCore::WebSocketExtensionDispatcherTest::TearDown):
3656         (WebCore::WebSocketExtensionDispatcherTest::addMockProcessor):
3657         (WebCore::WebSocketExtensionDispatcherTest::appendResult):
3658         (WebCore::MockWebSocketExtensionProcessor::processResponse):
3659         (WebCore::TEST_F):
3660
3661 2012-02-09  W. James MacLean  <wjmaclean@chromium.org>
3662
3663         [chromium] Add support for starting page/scale animations on CC impl thread from WebViewImpl
3664         https://bugs.webkit.org/show_bug.cgi?id=77872
3665
3666         Reviewed by James Robinson.
3667
3668         Provides a pathway to invoke CCLayerTreeHostImpl::startPageScaleAnimation() from
3669         WebViewImpl. This is intended to support scale and scroll animations, such as WebInputEvent::GestureDoubleTap.
3670
3671         * src/WebViewImpl.cpp:
3672         (WebKit):
3673         (WebKit::WebViewImpl::startPageScaleAnimation):
3674         * src/WebViewImpl.h:
3675         (WebViewImpl):
3676         * tests/CCLayerTreeHostTest.cpp:
3677         (WTF):
3678         (CCLayerTreeHostTestStartPageScaleAnimation):
3679         (WTF::CCLayerTreeHostTestStartPageScaleAnimation::CCLayerTreeHostTestStartPageScaleAnimation):
3680         (WTF::CCLayerTreeHostTestStartPageScaleAnimation::beginTest):
3681         (WTF::CCLayerTreeHostTestStartPageScaleAnimation::requestStartPageScaleAnimation):
3682         (WTF::CCLayerTreeHostTestStartPageScaleAnimation::drawLayersOnCCThread):
3683         (WTF::CCLayerTreeHostTestStartPageScaleAnimation::applyScrollAndScale):
3684         (WTF::CCLayerTreeHostTestStartPageScaleAnimation::commitCompleteOnCCThread):
3685         (WTF::CCLayerTreeHostTestStartPageScaleAnimation::afterTest):
3686         (WTF::TEST_F):
3687
3688 2012-02-09  John Bates  <jbates@google.com>
3689
3690         [Chromium] Add chromium-style tracing support
3691         https://bugs.webkit.org/show_bug.cgi?id=76885
3692
3693         Reviewed by Darin Fisher.
3694
3695         This code enables WebKit trace events to pass through more data to the
3696         chromium platform tracing API and generally to use the full tracing
3697         API provided by chromium.
3698
3699         * public/platform/WebKitPlatformSupport.h:
3700         (WebKit::WebKitPlatformSupport::getTraceCategoryEnabledFlag):
3701         (WebKit::WebKitPlatformSupport::addTraceEvent):
3702         * src/PlatformSupport.cpp:
3703         (WebCore::PlatformSupport::getTraceCategoryEnabledFlag):
3704         (WebCore::PlatformSupport::addTraceEvent):
3705
3706 2012-02-09  Jonathan Backer  <backer@chromium.org>
3707
3708         [chromium] Plumb setNeedsRedraw.
3709         https://bugs.webkit.org/show_bug.cgi?id=78248
3710
3711         Reviewed by James Robinson.
3712
3713         * public/platform/WebLayerTreeView.h:
3714         (WebLayerTreeView):
3715         * src/WebLayerTreeView.cpp:
3716         (WebKit::WebLayerTreeView::setNeedsRedraw):
3717         (WebKit):
3718
3719 2012-02-09  Jonathan Backer  <backer@chromium.org>
3720
3721         [chromium] Add setNeedsRedraw to WebWidget
3722         https://bugs.webkit.org/show_bug.cgi?id=77555
3723
3724         Reviewed by James Robinson.
3725
3726         * public/WebWidget.h:
3727         (WebWidget):
3728         (WebKit::WebWidget::setNeedsRedraw):
3729         * src/WebViewImpl.cpp:
3730         (WebKit::WebViewImpl::setNeedsRedraw):
3731         (WebKit):
3732         * src/WebViewImpl.h:
3733         (WebViewImpl):
3734
3735 2012-02-08  Raymond Liu  <raymond.liu@intel.com>
3736
3737         Fix a typo for r107125
3738         https://bugs.webkit.org/show_bug.cgi?id=77804
3739
3740         Reviewed by James Robinson.
3741
3742         * tests/WebCompositorInputHandlerImplTest.cpp:
3743
3744 2012-02-08  David Reveman  <reveman@chromium.org>
3745
3746         [Chromium] Avoid unnecessary full tile updates without breaking atomicity of commits.
3747         https://bugs.webkit.org/show_bug.cgi?id=76740
3748
3749         Reviewed by James Robinson.
3750
3751         Add CCLayerTreeHostTestAtomicCommitWithPartialUpdate and
3752         TiledLayerChromiumTest.partialUpdates tests that verifies
3753         atomicity of commits with partial updates.
3754
3755         * tests/CCLayerTreeHostTest.cpp:
3756         (WTF::CCLayerTreeHostTestAtomicCommit::CCLayerTreeHostTestAtomicCommit):
3757         (WTF::CCLayerTreeHostTestAtomicCommit::beginTest):
3758         (WTF::CCLayerTreeHostTestAtomicCommit::commitCompleteOnCCThread):
3759         (WTF::CCLayerTreeHostTestAtomicCommit::layout):
3760         (CCLayerTreeHostTestAtomicCommit):
3761         (CCLayerTreeHostTestAtomicCommitWithPartialUpdate):
3762         (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::CCLayerTreeHostTestAtomicCommitWithPartialUpdate):
3763         (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::beginTest):
3764         (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::commitCompleteOnCCThread):
3765         (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::drawLayersOnCCThread):
3766         (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::layout):
3767         (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::afterTest):
3768         (WTF):
3769         (WTF::TEST_F):
3770         * tests/TiledLayerChromiumTest.cpp:
3771         (WTF::FakeLayerTextureUpdater::Texture::Texture):
3772         (WTF::FakeLayerTextureUpdater::Texture::updateRect):
3773         (Texture):
3774         (WTF::FakeLayerTextureUpdater::FakeLayerTextureUpdater):
3775         (FakeLayerTextureUpdater):
3776         (WTF::FakeLayerTextureUpdater::updateCount):
3777         (WTF::FakeLayerTextureUpdater::clearUpdateCount):
3778         (WTF::FakeLayerTextureUpdater::updateRect):
3779         (WTF::FakeLayerTextureUpdater::createTexture):
3780         (FakeTiledLayerChromium):
3781         (WTF::TEST):
3782         (WTF):
3783
3784 2012-02-07  MORITA Hajime  <morrita@google.com>
3785
3786         Replacement text should be available from the marker.
3787         https://bugs.webkit.org/show_bug.cgi?id=77934
3788
3789         didFinishCheckingText() accidentally dropped the description text
3790         given from the backend. Fixed to copy it on the API-to-Core
3791         convertion. The test won't work without this fix.
3792
3793         Reviewed by Kent Tamura.
3794
3795         * src/WebTextCheckingCompletionImpl.cpp:
3796         (WebKit::toCoreResults):
3797
3798 2012-02-08  Dmitry Lomov  <dslomov@chromium.org>
3799
3800         [V8][Chromium] Race between worker accessing WebDatabase and frame closing down.
3801         https://bugs.webkit.org/show_bug.cgi?id=78150
3802         Handle case when the frame is shut down under us gracefully.
3803
3804         Reviewed by David Levin.
3805
3806         * src/DatabaseObserver.cpp:
3807         (WebCore::DatabaseObserver::canEstablishDatabase): Handle WebWorkerBase::view returning 0.
3808         * src/IDBFactoryBackendProxy.cpp:
3809         (WebKit::IDBFactoryBackendProxy::openFromWorker): Handle WebWorkerBase::view returning 0.
3810         * src/WebWorkerClientImpl.cpp:
3811         (WebKit::WebWorkerClientImpl::allowFileSystem):
3812         (WebKit::WebWorkerClientImpl::allowDatabase):
3813         (WebKit::WebWorkerClientImpl::view):
3814
3815 2012-02-08  Adam Klein  <adamk@chromium.org>
3816
3817         DOM mutations should not be delivered on worker threads
3818         https://bugs.webkit.org/show_bug.cgi?id=77898
3819
3820         Reviewed by Dmitry Titov.
3821
3822         * src/WebDevToolsFrontendImpl.cpp:
3823         (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
3824
3825 2012-02-08  Scott Graham  <scottmg@chromium.org>
3826
3827         Roll Chromium DEPS
3828         https://bugs.webkit.org/show_bug.cgi?id=78152
3829
3830         Reviewed by Adam Barth.
3831
3832         * DEPS:
3833
3834 2012-02-08  Dana Jansens  <danakj@chromium.org>
3835
3836         [Chromium] Fix opaque tracking for box shadows and non-composited child elements
3837         https://bugs.webkit.org/show_bug.cgi?id=78073
3838
3839         Reviewed by Stephen White.
3840
3841         * tests/PlatformContextSkiaTest.cpp:
3842         (WebCore::TEST):
3843         (WebCore):
3844
3845 2012-02-08  Shawn Singh  <shawnsingh@chromium.org>
3846
3847         [chromium] Remove incorrect early exit in CCDamageTracker
3848         https://bugs.webkit.org/show_bug.cgi?id=76924
3849
3850         Reviewed by James Robinson.
3851
3852         * tests/CCDamageTrackerTest.cpp:
3853         (WebKitTests::emulateDrawingOneFrame):
3854         (WebKitTests::TEST_F):
3855         (WebKitTests):
3856
3857 2012-02-08  Sadrul Habib Chowdhury  <sadrul@chromium.org>
3858
3859         Add support for pinch gesture processing in the MT compositor.
3860         https://bugs.webkit.org/show_bug.cgi?id=77804
3861
3862         Reviewed by James Robinson.
3863
3864         * public/WebInputEvent.h:
3865         * src/WebCompositorInputHandlerImpl.cpp:
3866         (WebKit::WebCompositorInputHandlerImpl::WebCompositorInputHandlerImpl):
3867         (WebKit::WebCompositorInputHandlerImpl::handleInputEvent):
3868         * src/WebCompositorInputHandlerImpl.h:
3869         (WebCompositorInputHandlerImpl):
3870         * src/WebInputEventConversion.cpp:
3871         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
3872         * src/WebPopupMenuImpl.cpp:
3873         (WebKit::WebPopupMenuImpl::handleInputEvent):
3874         * src/WebViewImpl.cpp:
3875         (WebKit::WebViewImpl::handleInputEvent):
3876         * tests/WebCompositorInputHandlerImplTest.cpp:
3877
3878 2012-02-08  Nico Weber  <nicolasweber@gmx.de>
3879
3880         [chromium] Make dependency on Accelerate.framework explicit.
3881         https://bugs.webkit.org/show_bug.cgi?id=78131
3882
3883         It's used by platform/audio/mac/FFTFrameMac.cpp. The explicit
3884         dependency is needed to build a libwebkit.dylib.
3885
3886         Reviewed by Tony Chang.
3887
3888         * WebKit.gyp:
3889
3890 2012-02-08  Bernhard Bauer  <bauerb@google.com>
3891
3892         [Chromium] Don't add selection from password fields to context menu.
3893         https://bugs.webkit.org/show_bug.cgi?id=77733
3894
3895         Reviewed by Adam Barth.
3896
3897         * src/ContextMenuClientImpl.cpp:
3898         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
3899
3900 2012-02-08  Nico Weber  <nicolasweber@gmx.de>
3901
3902         [chromium] Let -Wglobal-constructors hack in shared build metastasize to mac
3903         https://bugs.webkit.org/show_bug.cgi?id=78130
3904
3905         Reviewed by Tony Chang.
3906
3907         * WebKit.gyp:
3908
3909 2012-02-08  Alexei Svitkine  <asvitkine@chromium.org>
3910
3911         Chromium: Fix Mac rubber band overhang drawing on composited pages and re-enable tests.
3912         https://bugs.webkit.org/show_bug.cgi?id=78007
3913
3914         This got broken by: http://trac.webkit.org/changeset/105470
3915         And the tests were accidentally(?) disabled in: http://trac.webkit.org/changeset/95191
3916
3917         There is still three tests that fail from the set, but the cause for these is different,
3918         which I'm still investigating.
3919
3920         Reviewed by James Robinson.
3921
3922         * src/NonCompositedContentHost.cpp:
3923         (WebKit::NonCompositedContentHost::NonCompositedContentHost):
3924
3925 2012-02-07  James Robinson  <jamesr@chromium.org>
3926
3927         [chromium] Move geometry headers in Platform API to Platform directory
3928         https://bugs.webkit.org/show_bug.cgi?id=78067
3929
3930         Reviewed by Adam Barth.
3931
3932         Add forwarding headers for several API types moved into Platform.
3933
3934         * public/platform/WebFloatPoint.h:
3935         * public/platform/WebFloatQuad.h:
3936         * public/platform/WebFloatRect.h:
3937         * public/platform/WebPoint.h:
3938         * public/platform/WebRect.h:
3939         * public/platform/WebSize.h:
3940
3941 2012-02-07  MORITA Hajime  <morrita@google.com>
3942
3943         [Chromium] WebTextCheckingResult should have new default constructor
3944         https://bugs.webkit.org/show_bug.cgi?id=78066
3945
3946         Reviewed by Ryosuke Niwa.
3947
3948         Added a new default constructor. ex-default constructor will be removed
3949         in an upcoming change.
3950
3951         * public/WebTextCheckingResult.h:
3952         (WebKit::WebTextCheckingResult::WebTextCheckingResult):
3953         (WebTextCheckingResult):
3954
3955 2012-02-07  Gregg Tavares  <gman@google.com>
3956
3957         Plumb through webGLErrorsToConsoleEnable in WebSettings
3958         https://bugs.webkit.org/show_bug.cgi?id=78061
3959
3960         Reviewed by Kenneth Russell.
3961
3962         * public/WebSettings.h:
3963         * src/WebSettingsImpl.cpp:
3964         (WebKit::WebSettingsImpl::setWebGLErrorsToConsoleEnabled):
3965         (WebKit):
3966         * src/WebSettingsImpl.h:
3967         (WebSettingsImpl):
3968
3969 2012-02-07  Robert Kroeger  <rjkroege@chromium.org>
3970
3971         [chromium] Remove no longer necessary Chromium gesture recognizer code.
3972         https://bugs.webkit.org/show_bug.cgi?id=77492
3973
3974         Reviewed by Adam Barth.
3975
3976         * WebKit.gypi:
3977         * features.gypi:
3978         * src/WebFrameImpl.cpp:
3979         (WebKit::WebFrameImpl::createFrameView):
3980         * src/WebPopupMenuImpl.cpp:
3981         (WebKit::WebPopupMenuImpl::WebPopupMenuImpl):
3982         (WebKit::WebPopupMenuImpl::handleTouchEvent):
3983         * src/WebPopupMenuImpl.h:
3984         * src/WebViewImpl.cpp:
3985         (WebKit::WebViewImpl::WebViewImpl):
3986         (WebKit::WebViewImpl::touchEvent):
3987         * src/WebViewImpl.h:
3988         (WebCore):
3989         (WebViewImpl):
3990         * tests/InnerGestureRecognizerTest.cpp: Removed.
3991
3992 2012-02-07  David Reveman  <reveman@chromium.org>
3993
3994         [Chromium] REGRESSION(r101854): Causing large amounts of unnecessary repainting.
3995         https://bugs.webkit.org/show_bug.cgi?id=78020
3996
3997         Reviewed by James Robinson.
3998
3999         Update TextureManagerTest.requestTextureExceedingPreferredLimit test.
4000
4001         * tests/TextureManagerTest.cpp:
4002         (WTF::TextureManagerTest::requestTexture):
4003         (WTF::TEST_F):
4004
4005 2012-02-07  Dana Jansens  <danakj@chromium.org>
4006
4007         [chromium] Unit test for bug #77996
4008         https://bugs.webkit.org/show_bug.cgi?id=78019
4009
4010         Reviewed by James Robinson.
4011
4012         * tests/CCLayerTreeHostTest.cpp:
4013         (CCLayerTreeHostTestManySurfaces):
4014         (WTF::CCLayerTreeHostTestManySurfaces::CCLayerTreeHostTestManySurfaces):
4015         (WTF::CCLayerTreeHostTestManySurfaces::beginTest):
4016         (WTF::CCLayerTreeHostTestManySurfaces::afterTest):
4017         (WTF):
4018
4019 2012-02-07  Sadrul Habib Chowdhury  <sadrul@chromium.org>
4020
4021         Process Scroll-gesture events from the compositor.
4022         https://bugs.webkit.org/show_bug.cgi?id=77477
4023
4024         Reviewed by James Robinson.
4025
4026         * src/WebCompositorInputHandlerImpl.cpp:
4027         (WebKit::WebCompositorInputHandlerImpl::WebCompositorInputHandlerImpl):
4028         (WebKit::WebCompositorInputHandlerImpl::handleInputEvent):
4029         * src/WebCompositorInputHandlerImpl.h:
4030         (WebCompositorInputHandlerImpl):
4031
4032 2012-02-07  Anders Carlsson  <andersca@apple.com>
4033
4034         ScrollableAreaSet should be moved from Page to FrameView
4035         https://bugs.webkit.org/show_bug.cgi?id=62762
4036
4037         Reviewed by Beth Dakin.
4038
4039         Update for changes to WebCore now that the scrollable area set is kept per frame view.
4040
4041         * src/ScrollbarGroup.cpp:
4042         (WebKit::ScrollbarGroup::ScrollbarGroup):
4043         (WebKit::ScrollbarGroup::~ScrollbarGroup):
4044         * src/ScrollbarGroup.h:
4045         (WebCore):
4046         (ScrollbarGroup):
4047         * src/WebPluginContainerImpl.cpp:
4048         (WebKit::WebPluginContainerImpl::scrollbarGroup):
4049
4050 2012-02-07  Hans Wennborg  <hans@chromium.org>
4051
4052         Chromium: remove WebSpeechInputResult::set
4053         https://bugs.webkit.org/show_bug.cgi?id=77977
4054
4055         Reviewed by Darin Fisher.
4056
4057         It was renamed to assign() in r106475.
4058
4059         * public/WebSpeechInputResult.h:
4060
4061 2012-02-07  Sheriff Bot  <webkit.review.bot@gmail.com>
4062
4063         Unreviewed, rolling out r106935.
4064         http://trac.webkit.org/changeset/106935
4065         https://bugs.webkit.org/show_bug.cgi?id=77994
4066
4067         "Crashes runMultiThread webkit_unit_test" (Requested by tonyg-
4068         cr on #webkit).
4069
4070         * public/WebWidget.h:
4071         (WebWidget):
4072         * src/WebViewImpl.cpp:
4073         * src/WebViewImpl.h:
4074         (WebViewImpl):
4075
4076 2012-02-07  Jonathan Backer  <backer@chromium.org>
4077
4078         [chromium] Add setNeedsRedraw to WebWidget
4079         https://bugs.webkit.org/show_bug.cgi?id=77555
4080
4081         Reviewed by James Robinson.
4082
4083         * public/WebWidget.h:
4084         (WebWidget):
4085         (WebKit::WebWidget::setNeedsRedraw):
4086         * src/WebViewImpl.cpp:
4087         (WebKit::WebViewImpl::setNeedsRedraw):
4088         (WebKit):
4089         * src/WebViewImpl.h:
4090         (WebViewImpl):
4091
4092 2012-02-07  Sheriff Bot  <webkit.review.bot@gmail.com>
4093
4094         Unreviewed.  Rolled DEPS.
4095
4096         * DEPS:
4097
4098 2012-02-06  James Robinson  <jamesr@chromium.org>
4099
4100         [chromium] canvas demo is slow due to unnecessary resource cleanups
4101         https://bugs.webkit.org/show_bug.cgi?id=77135
4102
4103         Reviewed by Kenneth Russell.
4104
4105         * tests/Canvas2DLayerChromiumTest.cpp:
4106         (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
4107         * tests/TextureManagerTest.cpp:
4108         * tests/TiledLayerChromiumTest.cpp:
4109
4110 2012-02-06  Julien Chaffraix  <jchaffraix@webkit.org>
4111
4112         Unreviewed gardening.
4113
4114         * DEPS: Rolling the DEPS to get the apple_webkit update
4115         and fix the Chromium build.
4116
4117 2012-02-06  Emil A Eklund  <eae@chromium.org>
4118
4119 &nbs