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