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