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