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