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