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