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