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