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