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