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