1 2012-03-14 Marja Hölttä <marja@google.com>
3 WebHTTPBody: Keep track of whether the data includes passwords.
4 https://bugs.webkit.org/show_bug.cgi?id=81003
6 Reviewed by Darin Fisher.
8 This change enables Chrome to save HTTP bodies selectively, only
9 if they don't contain passwords.
11 * public/platform/WebHTTPBody.h:
12 (WebHTTPBody): Added containsPasswordData, setContainsPasswordData.
13 * src/WebHTTPBody.cpp:
14 (WebKit::WebHTTPBody::containsPasswordData): Added.
16 (WebKit::WebHTTPBody::setContainsPasswordData): Added.
18 2012-03-14 Sheriff Bot <webkit.review.bot@gmail.com>
20 Unreviewed. Rolled DEPS.
24 2012-03-13 Hajime Morrita <morrita@chromium.org>
26 Unreviewed, mark verifyCullChildLinesUpTopLeft() as failed.
28 * tests/CCQuadCullerTest.cpp:
32 2012-03-13 Shawn Singh <shawnsingh@chromium.org>
34 [chromium] wrong transform causing incorrect culling
35 https://bugs.webkit.org/show_bug.cgi?id=80471
37 Reviewed by James Robinson.
39 * tests/CCRenderSurfaceTest.cpp:
43 2012-03-13 Nat Duca <nduca@chromium.org>
45 [chromium] vsync ticks are needed in invisible tabs when we are still updating resources
46 https://bugs.webkit.org/show_bug.cgi?id=80910
48 Reviewed by James Robinson.
50 * tests/CCSchedulerStateMachineTest.cpp:
54 2012-03-13 Dana Jansens <danakj@chromium.org>
56 Region::contains(IntPoint) is slow
57 https://bugs.webkit.org/show_bug.cgi?id=81008
59 Reviewed by Anders Carlsson.
62 * tests/RegionTest.cpp: Added.
66 2012-03-13 Gavin Peters <gavinp@chromium.org>
68 Implement ApplicationCacheHost::canCacheInPageCache() for chromium.
69 https://bugs.webkit.org/show_bug.cgi?id=80905
71 Reviewed by Eric Seidel.
73 This won't cause chrome to use the PageCache, but it will cause our histogram statistics
74 describing PageCache use to be more accurate.
76 * src/ApplicationCacheHost.cpp:
77 (WebCore::ApplicationCacheHost::canCacheInPageCache):
79 2012-03-13 Dana Jansens <danakj@chromium.org>
81 [chromium] Use CCOcclusionTracker for draw culling
82 https://bugs.webkit.org/show_bug.cgi?id=80743
84 Reviewed by Adrienne Walker.
87 * tests/CCLayerTreeHostImplTest.cpp:
88 (WebKit::BlendStateCheckLayer::appendQuads):
89 * tests/CCQuadCullerTest.cpp:
90 (TestCCOcclusionTrackerImpl):
91 (WebCore::TestCCOcclusionTrackerImpl::TestCCOcclusionTrackerImpl):
92 (WebCore::TestCCOcclusionTrackerImpl::layerScissorRectInTargetSurface):
94 (WebCore::appendQuads):
97 * tests/CCSolidColorLayerImplTest.cpp:
98 (CCLayerTestCommon::TEST):
99 * tests/CCTiledLayerImplTest.cpp:
100 (CCLayerTestCommon::TEST):
101 (CCLayerTestCommon::getQuads):
102 * tests/MockCCQuadCuller.h: Added.
105 (WebCore::MockCCQuadCuller::MockCCQuadCuller):
106 (WebCore::MockCCQuadCuller::append):
107 (WebCore::MockCCQuadCuller::quadList):
109 2012-03-13 Adam Barth <abarth@webkit.org> && Benjamin Poulain <bpoulain@apple.com>
111 Always enable ENABLE(CLIENT_BASED_GEOLOCATION)
112 https://bugs.webkit.org/show_bug.cgi?id=78853
114 Reviewed by Adam Barth.
117 * src/ChromeClientImpl.cpp:
118 * src/ChromeClientImpl.h:
121 2012-03-13 Tommy Widenflycht <tommyw@google.com>
123 MediaStream API: Rename PeerConnection to DeprecatedPeerConnection
124 https://bugs.webkit.org/show_bug.cgi?id=80692
126 Reviewed by Adam Barth.
128 First patch in a series of patches to change the PeerConnection from ROAP to JSEP,
129 see bug 80589 for more information.
132 * bridge/DeprecatedPeerConnectionHandler.cpp: Renamed from Source/WebKit/chromium/bridge/PeerConnectionHandler.cpp.
134 (WebCore::DeprecatedPeerConnectionHandler::create):
135 (WebCore::DeprecatedPeerConnectionHandler::DeprecatedPeerConnectionHandler):
136 (WebCore::DeprecatedPeerConnectionHandler::~DeprecatedPeerConnectionHandler):
137 (WebCore::DeprecatedPeerConnectionHandler::produceInitialOffer):
138 (WebCore::DeprecatedPeerConnectionHandler::handleInitialOffer):
139 (WebCore::DeprecatedPeerConnectionHandler::processSDP):
140 (WebCore::DeprecatedPeerConnectionHandler::processPendingStreams):
141 (WebCore::DeprecatedPeerConnectionHandler::sendDataStreamMessage):
142 (WebCore::DeprecatedPeerConnectionHandler::stop):
143 * bridge/DeprecatedPeerConnectionHandlerInternal.cpp: Renamed from Source/WebKit/chromium/bridge/PeerConnectionHandlerInternal.cpp.
145 (WebCore::DeprecatedPeerConnectionHandlerInternal::DeprecatedPeerConnectionHandlerInternal):
146 (WebCore::DeprecatedPeerConnectionHandlerInternal::~DeprecatedPeerConnectionHandlerInternal):
147 (WebCore::DeprecatedPeerConnectionHandlerInternal::produceInitialOffer):
148 (WebCore::DeprecatedPeerConnectionHandlerInternal::handleInitialOffer):
149 (WebCore::DeprecatedPeerConnectionHandlerInternal::processSDP):
150 (WebCore::DeprecatedPeerConnectionHandlerInternal::processPendingStreams):
151 (WebCore::DeprecatedPeerConnectionHandlerInternal::sendDataStreamMessage):
152 (WebCore::DeprecatedPeerConnectionHandlerInternal::stop):
153 (WebCore::DeprecatedPeerConnectionHandlerInternal::didCompleteICEProcessing):
154 (WebCore::DeprecatedPeerConnectionHandlerInternal::didGenerateSDP):
155 (WebCore::DeprecatedPeerConnectionHandlerInternal::didReceiveDataStreamMessage):
156 (WebCore::DeprecatedPeerConnectionHandlerInternal::didAddRemoteStream):
157 (WebCore::DeprecatedPeerConnectionHandlerInternal::didRemoveRemoteStream):
158 * bridge/DeprecatedPeerConnectionHandlerInternal.h: Renamed from Source/WebKit/chromium/bridge/PeerConnectionHandlerInternal.h.
161 (DeprecatedPeerConnectionHandlerInternal):
163 2012-03-13 Dana Jansens <danakj@chromium.org>
165 [chromium] Use projectQuad to apply inverse mapRect
166 https://bugs.webkit.org/show_bug.cgi?id=80741
168 Reviewed by Adrienne Walker.
170 * tests/CCOcclusionTrackerTest.cpp:
172 (CCOcclusionTrackerTest3dTransform):
173 (WebCore::CCOcclusionTrackerTest3dTransform::runMyTest):
174 (CCOcclusionTrackerTestPerspectiveTransform):
175 (WebCore::CCOcclusionTrackerTestPerspectiveTransform::runMyTest):
176 (CCOcclusionTrackerTestPerspectiveTransformBehindCamera):
177 (WebCore::CCOcclusionTrackerTestPerspectiveTransformBehindCamera::runMyTest):
179 2012-03-13 Gavin Peters <gavinp@chromium.org>
181 Make ApplicationCacheHost::canCacheInPageCache() non-const.
182 https://bugs.webkit.org/show_bug.cgi?id=80904
184 Reviewed by Alexey Proskuryakov.
186 A const pointer to a large object like ApplicationCacheHost is not our standard
187 practice; so remove this (implicit) one. See also https://bugs.webkit.org/show_bug.cgi?id=80898
189 * src/ApplicationCacheHost.cpp:
190 (WebCore::ApplicationCacheHost::canCacheInPageCache):
192 2012-03-13 Kinuko Yasuda <kinuko@chromium.org>
194 Allow WebFileChooser to return extra file info (like displayName) in addition to mere file paths
195 https://bugs.webkit.org/show_bug.cgi?id=80719
197 Reviewed by Kent Tamura.
199 * public/WebFileChooserCompletion.h:
200 (SelectedFileInfo): Added.
201 (WebFileChooserCompletion):
202 (WebKit::WebFileChooserCompletion::didChooseFile): Added an overloaded
203 method that takes SelectedFileInfo.
204 * src/WebFileChooserCompletionImpl.cpp:
205 (WebKit::WebFileChooserCompletionImpl::didChooseFile): Ditto.
207 * src/WebFileChooserCompletionImpl.h:
208 (WebFileChooserCompletionImpl):
210 2012-03-12 Sheriff Bot <webkit.review.bot@gmail.com>
212 Unreviewed, rolling out r110529.
213 http://trac.webkit.org/changeset/110529
214 https://bugs.webkit.org/show_bug.cgi?id=80969
216 breaks mac build (Requested by morrita on #webkit).
218 * tests/CCOcclusionTrackerTest.cpp:
221 2012-03-12 Hajime Morrita <morrita@chromium.org>
223 Unreviewed Windows build fix.
225 * src/WebViewImpl.cpp:
227 2012-03-12 Dana Jansens <danakj@chromium.org>
229 [chromium] Use projectQuad to apply inverse mapRect
230 https://bugs.webkit.org/show_bug.cgi?id=80741
232 Reviewed by Adrienne Walker.
234 * tests/CCOcclusionTrackerTest.cpp:
236 (CCOcclusionTrackerTest3dTransform):
237 (WebCore::CCOcclusionTrackerTest3dTransform::runMyTest):
238 (CCOcclusionTrackerTestPerspectiveTransform):
239 (WebCore::CCOcclusionTrackerTestPerspectiveTransform::runMyTest):
240 (CCOcclusionTrackerTestPerspectiveTransformBehindCamera):
241 (WebCore::CCOcclusionTrackerTestPerspectiveTransformBehindCamera::runMyTest):
243 2012-03-12 Dana Jansens <danakj@chromium.org>
245 [chromium] Fix clang build for CCOcclusionTracker tests
246 https://bugs.webkit.org/show_bug.cgi?id=80891
248 Reviewed by Adam Barth.
250 * tests/CCOcclusionTrackerTest.cpp:
251 (WebCore::CCOcclusionTrackerTest::createRoot):
252 (WebCore::CCOcclusionTrackerTest::createLayer):
253 (WebCore::CCOcclusionTrackerTest::createDrawingLayer):
255 2012-03-12 Stephen White <senorblanco@chromium.org>
257 [chromium] Restore canvas2D acceleration after context loss.
258 https://bugs.webkit.org/show_bug.cgi?id=80629
260 Reviewed by James Robinson.
262 Covered by existing canvas tests, and manual testing (killing the GPU
265 * src/WebViewImpl.cpp:
266 (WebKit::WebViewImpl::sharedGraphicsContext3D):
268 2012-03-12 Nat Duca <nduca@chromium.org>
270 [Chromium] Force compositeAndReadback through regular scheduling flow
271 https://bugs.webkit.org/show_bug.cgi?id=77049
273 Reviewed by James Robinson.
275 * tests/CCFrameRateControllerTest.cpp:
276 (WebKitTests::FakeCCFrameRateControllerClient::reset):
277 (WebKitTests::FakeCCFrameRateControllerClient::vsyncTicked):
278 (WebKitTests::FakeCCFrameRateControllerClient::vsyncTick):
279 (FakeCCFrameRateControllerClient):
281 * tests/CCLayerTreeHostTest.cpp:
283 (CCLayerTreeHostTestCompositeAndReadbackWhileInvisible):
284 (WTF::CCLayerTreeHostTestCompositeAndReadbackWhileInvisible::CCLayerTreeHostTestCompositeAndReadbackWhileInvisible):
285 (WTF::CCLayerTreeHostTestCompositeAndReadbackWhileInvisible::beginTest):
286 (WTF::CCLayerTreeHostTestCompositeAndReadbackWhileInvisible::didCommitAndDrawFrame):
287 (WTF::CCLayerTreeHostTestCompositeAndReadbackWhileInvisible::afterTest):
289 * tests/CCSchedulerStateMachineTest.cpp:
290 (WebCore::StateMachine::setNeedsForcedCommit):
291 (WebCore::StateMachine::needsForcedCommit):
296 2012-03-12 Joshua Bell <jsbell@chromium.org>
298 IndexedDB: Handle LevelDB database corruption
299 https://bugs.webkit.org/show_bug.cgi?id=79413
301 Reviewed by Tony Chang.
303 * WebKit.gyp: Skip LevelDBTest.cpp in shared component builds due to webkit_support dependency
304 * WebKit.gypi: Add LevelDBTest.cpp
305 * tests/LevelDBTest.cpp: Added.
308 (WebCore::SimpleComparator::compare):
309 (WebCore::SimpleComparator::name):
310 (WebCore::encodeString):
313 2012-03-12 Dana Jansens <danakj@chromium.org>
315 [chromium] Clean up culling tests and templatize to test impl constructs
316 https://bugs.webkit.org/show_bug.cgi?id=80613
318 Reviewed by Adrienne Walker.
320 * tests/CCOcclusionTrackerTest.cpp:
321 (WebCore::TestContentLayerChromium::TestContentLayerChromium):
322 (WebCore::TestContentLayerChromium::opaqueContentsRegion):
323 (WebCore::TestContentLayerChromium::setOpaqueContentsRect):
324 (TestContentLayerChromium):
325 (TestContentLayerImpl):
326 (WebCore::TestContentLayerImpl::TestContentLayerImpl):
327 (WebCore::TestContentLayerImpl::opaqueContentsRegion):
328 (WebCore::TestContentLayerImpl::setOpaqueContentsRect):
330 (WebCore::TestCCOcclusionTrackerBase::TestCCOcclusionTrackerBase):
331 (WebCore::TestCCOcclusionTrackerBase::occlusionInScreenSpace):
332 (WebCore::TestCCOcclusionTrackerBase::occlusionInTargetSurface):
333 (WebCore::TestCCOcclusionTrackerBase::setOcclusionInScreenSpace):
334 (WebCore::TestCCOcclusionTrackerBase::setOcclusionInTargetSurface):
335 (WebCore::TestCCOcclusionTrackerBase::layerScissorRectInTargetSurface):
336 (WebCore::TestDamageClient::damageRect):
337 (CCOcclusionTrackerTestMainThreadTypes):
338 (WebCore::CCOcclusionTrackerTestMainThreadTypes::createLayer):
339 (WebCore::CCOcclusionTrackerTestMainThreadTypes::createContentLayer):
340 (CCOcclusionTrackerTestImplThreadTypes):
341 (WebCore::CCOcclusionTrackerTestImplThreadTypes::createLayer):
342 (WebCore::CCOcclusionTrackerTestImplThreadTypes::createContentLayer):
343 (CCOcclusionTrackerTest):
344 (WebCore::CCOcclusionTrackerTest::TearDown):
345 (WebCore::CCOcclusionTrackerTest::createRoot):
346 (WebCore::CCOcclusionTrackerTest::createLayer):
347 (WebCore::CCOcclusionTrackerTest::createSurface):
348 (WebCore::CCOcclusionTrackerTest::createDrawingLayer):
349 (WebCore::CCOcclusionTrackerTest::createDrawingSurface):
350 (WebCore::CCOcclusionTrackerTest::calcDrawEtc):
351 (WebCore::CCOcclusionTrackerTest::setBaseProperties):
352 (WebCore::CCOcclusionTrackerTest::setProperties):
353 (CCOcclusionTrackerTestIdentityTransforms):
354 (WebCore::CCOcclusionTrackerTestIdentityTransforms::runMyTest):
355 (CCOcclusionTrackerTestRotatedChild):
356 (WebCore::CCOcclusionTrackerTestRotatedChild::runMyTest):
357 (CCOcclusionTrackerTestTranslatedChild):
358 (WebCore::CCOcclusionTrackerTestTranslatedChild::runMyTest):
359 (CCOcclusionTrackerTestChildInRotatedChild):
360 (WebCore::CCOcclusionTrackerTestChildInRotatedChild::runMyTest):
361 (CCOcclusionTrackerTestVisitTargetTwoTimes):
362 (WebCore::CCOcclusionTrackerTestVisitTargetTwoTimes::runMyTest):
363 (CCOcclusionTrackerTestSurfaceRotatedOffAxis):
364 (WebCore::CCOcclusionTrackerTestSurfaceRotatedOffAxis::runMyTest):
365 (CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren):
366 (WebCore::CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren::runMyTest):
367 (CCOcclusionTrackerTestOverlappingSurfaceSiblings):
368 (WebCore::CCOcclusionTrackerTestOverlappingSurfaceSiblings::runMyTest):
369 (CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms):
370 (WebCore::CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms::runMyTest):
371 (CCOcclusionTrackerTestFilters):
372 (WebCore::CCOcclusionTrackerTestFilters::runMyTest):
373 (CCOcclusionTrackerTestLayerScissorRectOutsideChild):
374 (WebCore::CCOcclusionTrackerTestLayerScissorRectOutsideChild::runMyTest):
375 (CCOcclusionTrackerTestScreenScissorRectOutsideChild):
376 (WebCore::CCOcclusionTrackerTestScreenScissorRectOutsideChild::runMyTest):
377 (CCOcclusionTrackerTestDamageRectOutsideChild):
378 (WebCore::CCOcclusionTrackerTestDamageRectOutsideChild::runMyTest):
379 (CCOcclusionTrackerTestLayerScissorRectOverChild):
380 (WebCore::CCOcclusionTrackerTestLayerScissorRectOverChild::runMyTest):
381 (CCOcclusionTrackerTestScreenScissorRectOverChild):
382 (WebCore::CCOcclusionTrackerTestScreenScissorRectOverChild::runMyTest):
383 (CCOcclusionTrackerTestDamageRectOverChild):
384 (WebCore::CCOcclusionTrackerTestDamageRectOverChild::runMyTest):
385 (CCOcclusionTrackerTestLayerScissorRectPartlyOverChild):
386 (WebCore::CCOcclusionTrackerTestLayerScissorRectPartlyOverChild::runMyTest):
387 (CCOcclusionTrackerTestScreenScissorRectPartlyOverChild):
388 (WebCore::CCOcclusionTrackerTestScreenScissorRectPartlyOverChild::runMyTest):
389 (CCOcclusionTrackerTestDamageRectPartlyOverChild):
390 (WebCore::CCOcclusionTrackerTestDamageRectPartlyOverChild::runMyTest):
391 (CCOcclusionTrackerTestLayerScissorRectOverNothing):
392 (WebCore::CCOcclusionTrackerTestLayerScissorRectOverNothing::runMyTest):
393 (CCOcclusionTrackerTestScreenScissorRectOverNothing):
394 (WebCore::CCOcclusionTrackerTestScreenScissorRectOverNothing::runMyTest):
395 (CCOcclusionTrackerTestDamageRectOverNothing):
396 (WebCore::CCOcclusionTrackerTestDamageRectOverNothing::runMyTest):
397 (CCOcclusionTrackerTestLayerScissorRectForLayerOffOrigin):
398 (WebCore::CCOcclusionTrackerTestLayerScissorRectForLayerOffOrigin::runMyTest):
399 (CCOcclusionTrackerTestOpaqueContentsRegionEmpty):
400 (WebCore::CCOcclusionTrackerTestOpaqueContentsRegionEmpty::runMyTest):
401 (CCOcclusionTrackerTestOpaqueContentsRegionNonEmpty):
402 (WebCore::CCOcclusionTrackerTestOpaqueContentsRegionNonEmpty::runMyTest):
404 2012-03-11 Sheriff Bot <webkit.review.bot@gmail.com>
406 Unreviewed, rolling out r110359.
407 http://trac.webkit.org/changeset/110359
408 https://bugs.webkit.org/show_bug.cgi?id=80799
410 SelectPopupMenuTest.ClickItem failure (Requested by ukai on
413 * src/WebViewImpl.cpp:
414 (WebKit::WebViewImpl::gestureEvent):
415 (WebKit::WebViewImpl::applyAutofillSuggestions):
417 2012-03-11 Pavel Feldman <pfeldman@chromium.org>
419 Web Inspector: [chromium] add provisional test for the downstream sanity test.
420 https://bugs.webkit.org/show_bug.cgi?id=80784
422 Reviewed by Yury Semikhatsky.
425 (.TestSuite.prototype.checkLogAndErrorMessages.validMessage):
426 (.TestSuite.prototype.checkLogAndErrorMessages.onConsoleMessage):
427 (.TestSuite.prototype.checkLogAndErrorMessages):
429 2012-03-10 Sheriff Bot <webkit.review.bot@gmail.com>
431 Unreviewed, rolling out r110384.
432 http://trac.webkit.org/changeset/110384
433 https://bugs.webkit.org/show_bug.cgi?id=80774
435 compile failed on Chromium Win Release (Requested by ukai_home
438 * tests/CCOcclusionTrackerTest.cpp:
439 (WebCore::LayerChromiumWithForcedDrawsContent::LayerChromiumWithForcedDrawsContent):
440 (WebCore::LayerChromiumWithForcedDrawsContent::opaqueContentsRegion):
441 (WebCore::LayerChromiumWithForcedDrawsContent::setOpaquePaintRect):
442 (LayerChromiumWithForcedDrawsContent):
443 (WebCore::setLayerPropertiesForTesting):
445 (WebCore::TestCCOcclusionTracker::TestCCOcclusionTracker):
446 (WebCore::TestCCOcclusionTracker::occlusionInScreenSpace):
447 (WebCore::TestCCOcclusionTracker::occlusionInTargetSurface):
448 (WebCore::TestCCOcclusionTracker::setOcclusionInScreenSpace):
449 (WebCore::TestCCOcclusionTracker::setOcclusionInTargetSurface):
450 (WebCore::TestCCOcclusionTracker::layerScissorRectInTargetSurface):
451 (WebCore::TestDamageClient::damageRect):
452 (WebCore::layerAddedToOccludedRegion):
453 (WebCore::layerAddedToOccludedRegionWithRotation):
454 (WebCore::layerAddedToOccludedRegionWithTranslation):
455 (WebCore::layerAddedToOccludedRegionWithRotatedSurface):
456 (WebCore::layerAddedToOccludedRegionWithSurfaceAlreadyOnStack):
457 (WebCore::layerAddedToOccludedRegionWithRotatedOffAxisSurface):
458 (WebCore::layerAddedToOccludedRegionWithMultipleOpaqueLayers):
459 (WebCore::surfaceOcclusionWithOverlappingSiblingSurfaces):
460 (WebCore::surfaceOcclusionInScreenSpace):
461 (WebCore::surfaceOcclusionInScreenSpaceDifferentTransforms):
462 (WebCore::occlusionInteractionWithFilters):
463 (WebCore::layerScissorRectOverTile):
464 (WebCore::screenScissorRectOverTile):
465 (WebCore::layerScissorRectOverCulledTile):
466 (WebCore::screenScissorRectOverCulledTile):
467 (WebCore::layerScissorRectOverPartialTiles):
468 (WebCore::screenScissorRectOverPartialTiles):
469 (WebCore::layerScissorRectOverNoTiles):
470 (WebCore::screenScissorRectOverNoTiles):
471 (WebCore::layerScissorRectForLayerOffOrigin):
472 (WebCore::damageRectOverTile):
473 (WebCore::damageRectOverCulledTile):
474 (WebCore::damageRectOverPartialTiles):
475 (WebCore::damageRectOverNoTiles):
478 2012-03-10 Dana Jansens <danakj@chromium.org>
480 [chromium] Clean up culling tests and templatize to test impl constructs
481 https://bugs.webkit.org/show_bug.cgi?id=80613
483 Reviewed by Adrienne Walker.
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):
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):
569 2012-03-09 Jon Lee <jonlee@apple.com>
571 Rename NotificationPresenter to NotificationClient
572 https://bugs.webkit.org/show_bug.cgi?id=80488
573 <rdar://problem/10965558>
575 Reviewed by Kentaro Hara.
577 Refactor to use renamed WebCore::NotificationClient.
578 * src/AssertMatchingEnums.cpp:
579 * src/NotificationPresenterImpl.cpp:
580 (WebKit::NotificationPresenterImpl::checkPermission):
581 * src/NotificationPresenterImpl.h:
582 (NotificationPresenterImpl):
584 2012-03-10 Sheriff Bot <webkit.review.bot@gmail.com>
586 Unreviewed, rolling out r110363.
587 http://trac.webkit.org/changeset/110363
588 https://bugs.webkit.org/show_bug.cgi?id=80757
590 link error in chromium: unresolved external symbol
591 webkit_support::CreateScopedTempDirectory(void) (Requested by
592 ukai_home on #webkit).
595 * tests/LevelDBTest.cpp: Removed.
597 2012-03-10 Sheriff Bot <webkit.review.bot@gmail.com>
599 Unreviewed, rolling out r110353.
600 http://trac.webkit.org/changeset/110353
601 https://bugs.webkit.org/show_bug.cgi?id=80752
603 copmile failed on Chromium (Requested by ukai_home on
606 * tests/CCOcclusionTrackerTest.cpp:
607 (WebCore::LayerChromiumWithForcedDrawsContent::LayerChromiumWithForcedDrawsContent):
608 (WebCore::LayerChromiumWithForcedDrawsContent::opaqueContentsRegion):
609 (WebCore::LayerChromiumWithForcedDrawsContent::setOpaquePaintRect):
610 (LayerChromiumWithForcedDrawsContent):
611 (WebCore::setLayerPropertiesForTesting):
613 (WebCore::TestCCOcclusionTracker::TestCCOcclusionTracker):
614 (WebCore::TestCCOcclusionTracker::occlusionInScreenSpace):
615 (WebCore::TestCCOcclusionTracker::occlusionInTargetSurface):
616 (WebCore::TestCCOcclusionTracker::setOcclusionInScreenSpace):
617 (WebCore::TestCCOcclusionTracker::setOcclusionInTargetSurface):
618 (WebCore::TestCCOcclusionTracker::layerScissorRectInTargetSurface):
619 (WebCore::TestDamageClient::damageRect):
620 (WebCore::layerAddedToOccludedRegion):
621 (WebCore::layerAddedToOccludedRegionWithRotation):
622 (WebCore::layerAddedToOccludedRegionWithTranslation):
623 (WebCore::layerAddedToOccludedRegionWithRotatedSurface):
624 (WebCore::layerAddedToOccludedRegionWithSurfaceAlreadyOnStack):
625 (WebCore::layerAddedToOccludedRegionWithRotatedOffAxisSurface):
626 (WebCore::layerAddedToOccludedRegionWithMultipleOpaqueLayers):
627 (WebCore::surfaceOcclusionWithOverlappingSiblingSurfaces):
628 (WebCore::surfaceOcclusionInScreenSpace):
629 (WebCore::surfaceOcclusionInScreenSpaceDifferentTransforms):
630 (WebCore::occlusionInteractionWithFilters):
631 (WebCore::layerScissorRectOverTile):
632 (WebCore::screenScissorRectOverTile):
633 (WebCore::layerScissorRectOverCulledTile):
634 (WebCore::screenScissorRectOverCulledTile):
635 (WebCore::layerScissorRectOverPartialTiles):
636 (WebCore::screenScissorRectOverPartialTiles):
637 (WebCore::layerScissorRectOverNoTiles):
638 (WebCore::screenScissorRectOverNoTiles):
639 (WebCore::layerScissorRectForLayerOffOrigin):
640 (WebCore::damageRectOverTile):
641 (WebCore::damageRectOverCulledTile):
642 (WebCore::damageRectOverPartialTiles):
643 (WebCore::damageRectOverNoTiles):
646 2012-03-09 Robert Kroeger <rjkroege@chromium.org>
648 Handle more Gesture* events by performing scrolls on the correct target ScrollableArea
649 https://bugs.webkit.org/show_bug.cgi?id=80311
651 Added a unit test for the changes to ScrollAnimatorNone to make sure that the two-call
652 transport of fling parameters is correctly delivered.
654 Reviewed by James Robinson.
656 * tests/ScrollAnimatorNoneTest.cpp:
657 (MockScrollAnimatorNone):
658 (MockScrollAnimatorNone::reset):
659 (MockScrollAnimatorNone::fireUpAnAnimation):
662 2012-03-07 James Robinson <jamesr@chromium.org>
664 [chromium] Deprecate renderDirectlyToWebView parameter of WebViewClient::createGraphicsContext3D()
665 https://bugs.webkit.org/show_bug.cgi?id=80523
667 Reviewed by Darin Fisher.
669 * public/WebViewClient.h:
671 (WebKit::WebViewClient::createGraphicsContext3D):
672 * public/platform/WebKitPlatformSupport.h:
674 * src/WebViewImpl.cpp:
675 (WebKit::WebViewImpl::createCompositorGraphicsContext3D):
677 2012-03-09 Joshua Bell <jsbell@chromium.org>
679 IndexedDB: Handle LevelDB database corruption
680 https://bugs.webkit.org/show_bug.cgi?id=79413
682 Reviewed by Tony Chang.
685 * tests/LevelDBTest.cpp: Added.
688 (WebCore::SimpleComparator::compare):
689 (WebCore::SimpleComparator::name):
690 (WebCore::encodeString):
693 2012-03-09 Tim Dresser <tdresser@chromium.org>
695 [chromium] Increase size of Combo Box Options for touch and high DPI devices
696 https://bugs.webkit.org/show_bug.cgi?id=80027
698 Reviewed by Darin Fisher.
700 * src/WebViewImpl.cpp:
701 (WebKit::WebViewImpl::gestureEvent):
702 (WebKit::WebViewImpl::applyAutofillSuggestions):
704 2012-03-09 James Robinson <jamesr@chromium.org>
706 [chromium] Roll chromium DEPS to r125600
707 https://bugs.webkit.org/show_bug.cgi?id=80722
713 2012-03-09 Dana Jansens <danakj@chromium.org>
715 [chromium] Clean up culling tests and templatize to test impl constructs
716 https://bugs.webkit.org/show_bug.cgi?id=80613
718 Reviewed by Adrienne Walker.
720 * tests/CCOcclusionTrackerTest.cpp:
721 (WebCore::TestContentLayerChromium::TestContentLayerChromium):
722 (WebCore::TestContentLayerChromium::opaqueContentsRegion):
723 (WebCore::TestContentLayerChromium::setOpaqueContentsRect):
724 (TestContentLayerChromium):
725 (TestContentLayerImpl):
726 (WebCore::TestContentLayerImpl::TestContentLayerImpl):
727 (WebCore::TestContentLayerImpl::opaqueContentsRegion):
728 (WebCore::TestContentLayerImpl::setOpaqueContentsRect):
730 (WebCore::TestCCOcclusionTrackerBase::TestCCOcclusionTrackerBase):
731 (WebCore::TestCCOcclusionTrackerBase::occlusionInScreenSpace):
732 (WebCore::TestCCOcclusionTrackerBase::occlusionInTargetSurface):
733 (WebCore::TestCCOcclusionTrackerBase::setOcclusionInScreenSpace):
734 (WebCore::TestCCOcclusionTrackerBase::setOcclusionInTargetSurface):
735 (WebCore::TestCCOcclusionTrackerBase::layerScissorRectInTargetSurface):
736 (WebCore::TestDamageClient::damageRect):
737 (CCOcclusionTrackerTestMainThreadTypes):
738 (WebCore::CCOcclusionTrackerTestMainThreadTypes::createLayer):
739 (WebCore::CCOcclusionTrackerTestMainThreadTypes::createContentLayer):
740 (CCOcclusionTrackerTestImplThreadTypes):
741 (WebCore::CCOcclusionTrackerTestImplThreadTypes::createLayer):
742 (WebCore::CCOcclusionTrackerTestImplThreadTypes::createContentLayer):
743 (CCOcclusionTrackerTest):
744 (WebCore::CCOcclusionTrackerTest::TearDown):
745 (WebCore::CCOcclusionTrackerTest::createRoot):
746 (WebCore::CCOcclusionTrackerTest::createLayer):
747 (WebCore::CCOcclusionTrackerTest::createSurface):
748 (WebCore::CCOcclusionTrackerTest::createDrawingLayer):
749 (WebCore::CCOcclusionTrackerTest::createDrawingSurface):
750 (WebCore::CCOcclusionTrackerTest::calcDrawEtc):
751 (WebCore::CCOcclusionTrackerTest::setBaseProperties):
752 (WebCore::CCOcclusionTrackerTest::setProperties):
753 (CCOcclusionTrackerTestIdentityTransforms):
754 (WebCore::CCOcclusionTrackerTestIdentityTransforms::runMyTest):
755 (CCOcclusionTrackerTestRotatedChild):
756 (WebCore::CCOcclusionTrackerTestRotatedChild::runMyTest):
757 (CCOcclusionTrackerTestTranslatedChild):
758 (WebCore::CCOcclusionTrackerTestTranslatedChild::runMyTest):
759 (CCOcclusionTrackerTestChildInRotatedChild):
760 (WebCore::CCOcclusionTrackerTestChildInRotatedChild::runMyTest):
761 (CCOcclusionTrackerTestVisitTargetTwoTimes):
762 (WebCore::CCOcclusionTrackerTestVisitTargetTwoTimes::runMyTest):
763 (CCOcclusionTrackerTestSurfaceRotatedOffAxis):
764 (WebCore::CCOcclusionTrackerTestSurfaceRotatedOffAxis::runMyTest):
765 (CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren):
766 (WebCore::CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren::runMyTest):
767 (CCOcclusionTrackerTestOverlappingSurfaceSiblings):
768 (WebCore::CCOcclusionTrackerTestOverlappingSurfaceSiblings::runMyTest):
769 (CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms):
770 (WebCore::CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms::runMyTest):
771 (CCOcclusionTrackerTestFilters):
772 (WebCore::CCOcclusionTrackerTestFilters::runMyTest):
773 (CCOcclusionTrackerTestLayerScissorRectOutsideChild):
774 (WebCore::CCOcclusionTrackerTestLayerScissorRectOutsideChild::runMyTest):
775 (CCOcclusionTrackerTestScreenScissorRectOutsideChild):
776 (WebCore::CCOcclusionTrackerTestScreenScissorRectOutsideChild::runMyTest):
777 (CCOcclusionTrackerTestDamageRectOutsideChild):
778 (WebCore::CCOcclusionTrackerTestDamageRectOutsideChild::runMyTest):
779 (CCOcclusionTrackerTestLayerScissorRectOverChild):
780 (WebCore::CCOcclusionTrackerTestLayerScissorRectOverChild::runMyTest):
781 (CCOcclusionTrackerTestScreenScissorRectOverChild):
782 (WebCore::CCOcclusionTrackerTestScreenScissorRectOverChild::runMyTest):
783 (CCOcclusionTrackerTestDamageRectOverChild):
784 (WebCore::CCOcclusionTrackerTestDamageRectOverChild::runMyTest):
785 (CCOcclusionTrackerTestLayerScissorRectPartlyOverChild):
786 (WebCore::CCOcclusionTrackerTestLayerScissorRectPartlyOverChild::runMyTest):
787 (CCOcclusionTrackerTestScreenScissorRectPartlyOverChild):
788 (WebCore::CCOcclusionTrackerTestScreenScissorRectPartlyOverChild::runMyTest):
789 (CCOcclusionTrackerTestDamageRectPartlyOverChild):
790 (WebCore::CCOcclusionTrackerTestDamageRectPartlyOverChild::runMyTest):
791 (CCOcclusionTrackerTestLayerScissorRectOverNothing):
792 (WebCore::CCOcclusionTrackerTestLayerScissorRectOverNothing::runMyTest):
793 (CCOcclusionTrackerTestScreenScissorRectOverNothing):
794 (WebCore::CCOcclusionTrackerTestScreenScissorRectOverNothing::runMyTest):
795 (CCOcclusionTrackerTestDamageRectOverNothing):
796 (WebCore::CCOcclusionTrackerTestDamageRectOverNothing::runMyTest):
797 (CCOcclusionTrackerTestLayerScissorRectForLayerOffOrigin):
798 (WebCore::CCOcclusionTrackerTestLayerScissorRectForLayerOffOrigin::runMyTest):
799 (CCOcclusionTrackerTestOpaqueContentsRegionEmpty):
800 (WebCore::CCOcclusionTrackerTestOpaqueContentsRegionEmpty::runMyTest):
801 (CCOcclusionTrackerTestOpaqueContentsRegionNonEmpty):
802 (WebCore::CCOcclusionTrackerTestOpaqueContentsRegionNonEmpty::runMyTest):
804 2012-03-09 Emil A Eklund <eae@chromium.org>
806 Add roundedPoint to HitTestResult and change platform code to use it
807 https://bugs.webkit.org/show_bug.cgi?id=80715
809 Reviewed by James Robinson.
811 Change ports to use roundedPoint to avoid exposing subpixel types to
814 * src/ChromeClientImpl.cpp:
815 (WebKit::ChromeClientImpl::mouseDidMoveOverElement):
816 * src/ContextMenuClientImpl.cpp:
817 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
819 2012-03-09 W. James MacLean <wjmaclean@chromium.org>
821 [chromium] Implement scroll physics architecture for impl/main thread
822 https://bugs.webkit.org/show_bug.cgi?id=79827
824 Reviewed by James Robinson.
827 * tests/PlatformGestureCurveTest.cpp: Added.
829 2012-03-09 Tien-Ren Chen <trchen@chromium.org>
831 [chromium] ScrollbarLayerChromium/CCScrollbarLayerImpl for CC-side scrollbar painting
832 https://bugs.webkit.org/show_bug.cgi?id=78872
834 Reviewed by James Robinson.
837 * tests/ScrollbarLayerChromiumTest.cpp: Added.
840 (WebCore::MockScrollbar::x):
841 (WebCore::MockScrollbar::y):
842 (WebCore::MockScrollbar::width):
843 (WebCore::MockScrollbar::height):
844 (WebCore::MockScrollbar::size):
845 (WebCore::MockScrollbar::location):
846 (WebCore::MockScrollbar::parent):
847 (WebCore::MockScrollbar::root):
848 (WebCore::MockScrollbar::setFrameRect):
849 (WebCore::MockScrollbar::frameRect):
850 (WebCore::MockScrollbar::invalidate):
851 (WebCore::MockScrollbar::invalidateRect):
852 (WebCore::MockScrollbar::scrollbarOverlayStyle):
853 (WebCore::MockScrollbar::getTickmarks):
854 (WebCore::MockScrollbar::isScrollableAreaActive):
855 (WebCore::MockScrollbar::isScrollViewScrollbar):
856 (WebCore::MockScrollbar::convertFromContainingWindow):
857 (WebCore::MockScrollbar::isCustomScrollbar):
858 (WebCore::MockScrollbar::orientation):
859 (WebCore::MockScrollbar::value):
860 (WebCore::MockScrollbar::currentPos):
861 (WebCore::MockScrollbar::visibleSize):
862 (WebCore::MockScrollbar::totalSize):
863 (WebCore::MockScrollbar::maximum):
864 (WebCore::MockScrollbar::controlSize):
865 (WebCore::MockScrollbar::lineStep):
866 (WebCore::MockScrollbar::pageStep):
867 (WebCore::MockScrollbar::pressedPart):
868 (WebCore::MockScrollbar::hoveredPart):
869 (WebCore::MockScrollbar::styleChanged):
870 (WebCore::MockScrollbar::enabled):
871 (WebCore::MockScrollbar::setEnabled):
872 (WebCore::MockScrollbar::MockScrollbar):
873 (WebCore::MockScrollbar::~MockScrollbar):
876 2012-03-08 James Robinson <jamesr@chromium.org>
878 [chromium] Expose the shared graphics context on WebView so callers can allocate resources on the main thread for the compositor to use
879 https://bugs.webkit.org/show_bug.cgi?id=80670
881 Reviewed by Stephen White.
883 This exposes a context on WebView that is in the compositor's share group and can be used directly from the main
884 thread. This is useful for content that needs to allocate resources for the compositor to use, but cannot
885 directly use the compositor's context either because it cannot access the correct thread or because it needs to
886 initialize in situations where we cannot initialize a compositor (view) context - for instance before the native
891 * src/WebViewImpl.cpp:
892 (WebKit::WebViewImpl::sharedGraphicsContext3D):
897 2012-03-09 Dana Jansens <danakj@chromium.org>
899 [chromium] Use opaque paints in CCOcclusionTracker
900 https://bugs.webkit.org/show_bug.cgi?id=80173
902 Reviewed by Adrienne Walker.
904 * tests/CCOcclusionTrackerTest.cpp:
905 (WebCore::LayerChromiumWithForcedDrawsContent::opaqueContentsRegion):
906 (LayerChromiumWithForcedDrawsContent):
907 (WebCore::LayerChromiumWithForcedDrawsContent::setOpaquePaintRect):
908 (WebCore::setLayerPropertiesForTesting):
910 (WebCore::layerAddedToOccludedRegion):
911 (WebCore::layerAddedToOccludedRegionWithRotation):
912 (WebCore::layerAddedToOccludedRegionWithTranslation):
913 (WebCore::layerAddedToOccludedRegionWithRotatedSurface):
914 (WebCore::layerAddedToOccludedRegionWithSurfaceAlreadyOnStack):
915 (WebCore::layerAddedToOccludedRegionWithRotatedOffAxisSurface):
916 (WebCore::layerAddedToOccludedRegionWithMultipleOpaqueLayers):
917 (WebCore::surfaceOcclusionWithOverlappingSiblingSurfaces):
918 (WebCore::surfaceOcclusionInScreenSpace):
919 (WebCore::surfaceOcclusionInScreenSpaceDifferentTransforms):
920 (WebCore::occlusionInteractionWithFilters):
921 (WebCore::layerScissorRectOverTile):
922 (WebCore::screenScissorRectOverTile):
923 (WebCore::layerScissorRectOverCulledTile):
924 (WebCore::screenScissorRectOverCulledTile):
925 (WebCore::layerScissorRectOverPartialTiles):
926 (WebCore::screenScissorRectOverPartialTiles):
927 (WebCore::layerScissorRectOverNoTiles):
928 (WebCore::screenScissorRectOverNoTiles):
929 (WebCore::layerScissorRectForLayerOffOrigin):
930 (WebCore::damageRectOverTile):
931 (WebCore::damageRectOverCulledTile):
932 (WebCore::damageRectOverPartialTiles):
933 (WebCore::damageRectOverNoTiles):
935 * tests/TiledLayerChromiumTest.cpp:
939 2012-03-09 Jon Lee <jonlee@apple.com>
941 Add support for ENABLE(LEGACY_NOTIFICATIONS)
942 https://bugs.webkit.org/show_bug.cgi?id=80497
944 Reviewed by Adam Barth.
946 Prep for b80472: Update API for Web Notifications
949 2012-03-09 Ian Vollick <vollick@chromium.org>
951 [chromium] Ensure we use the correct time when notifying animation started
952 https://bugs.webkit.org/show_bug.cgi?id=79537
954 Reviewed by James Robinson
956 * src/WebCompositorInputHandlerImpl.cpp:
957 (WebKit::WebCompositorInputHandlerImpl::willDraw):
958 * src/WebCompositorInputHandlerImpl.h:
959 (WebCompositorInputHandlerImpl):
960 * tests/CCLayerTreeHostImplTest.cpp:
961 (WebKit::CCLayerTreeHostImplTest::postAnimationEventsToMainThreadOnImplThread):
963 * tests/CCLayerTreeHostTest.cpp:
964 (WTF::TestHooks::animateLayers):
965 (WTF::TestHooks::updateAnimations):
966 (WTF::MockLayerTreeHostImpl::animateLayers):
967 (WTF::MockLayerTreeHostClient::updateAnimations):
968 (WTF::CCLayerTreeHostTestAddAnimation::CCLayerTreeHostTestAddAnimation):
969 (WTF::CCLayerTreeHostTestAddAnimation::animateLayers):
970 (WTF::CCLayerTreeHostTestAddAnimation::notifyAnimationStarted):
971 (CCLayerTreeHostTestAddAnimation):
973 2012-03-09 Sheriff Bot <webkit.review.bot@gmail.com>
975 Unreviewed, rolling out r110191, r110202, and r110279.
976 http://trac.webkit.org/changeset/110191
977 http://trac.webkit.org/changeset/110202
978 http://trac.webkit.org/changeset/110279
979 https://bugs.webkit.org/show_bug.cgi?id=80694
981 They broke !ENABLE(INSPECTOR) builds (Requested by Ossy on
986 2012-03-09 Alexander Pavlov <apavlov@chromium.org>
988 [chromium] Unreviewed, build fix after r110191
992 2012-03-08 Ian Vollick <vollick@chromium.org>
994 [chromium] Ensure that the cc thread animation framework continues to tick when the tab is backgrounded
995 https://bugs.webkit.org/show_bug.cgi?id=77668
997 Reviewed by James Robinson.
999 * tests/CCLayerTreeHostTest.cpp:
1000 (WTF::CCLayerTreeHostTest::postAddInstantAnimationToMainThread):
1001 (CCLayerTreeHostTest):
1002 (WTF::CCLayerTreeHostTest::dispatchAddInstantAnimation):
1003 (WTF::CCLayerTreeHostTest::dispatchAddAnimation):
1004 (WTF::CCLayerTreeHostTestAddAnimation::beginTest):
1006 (CCLayerTreeHostTestTickAnimationWhileBackgrounded):
1007 (WTF::CCLayerTreeHostTestTickAnimationWhileBackgrounded::CCLayerTreeHostTestTickAnimationWhileBackgrounded):
1008 (WTF::CCLayerTreeHostTestTickAnimationWhileBackgrounded::beginTest):
1009 (WTF::CCLayerTreeHostTestTickAnimationWhileBackgrounded::animateLayers):
1010 (WTF::CCLayerTreeHostTestTickAnimationWhileBackgrounded::afterTest):
1013 2012-03-08 Jeff Timanus <twiz@chromium.org>
1015 [chromium] Force the Canvas2D GPU texture cache to 0 bytes for backgrounded tabs.
1016 https://bugs.webkit.org/show_bug.cgi?id=79948
1018 Reviewed by Stephen White.
1020 * src/GraphicsContext3DChromium.cpp:
1021 (WebCore::GrMemoryAllocationChangedCallback::onGpuMemoryAllocationChanged):
1022 (WebCore::GraphicsContext3DPrivate::grContext):
1023 (WebCore::GraphicsContext3DPrivate::setVisibilityCHROMIUM):
1025 2012-03-08 Dana Jansens <danakj@chromium.org>
1027 [chromium] Replace completelyContains with Region::contains()
1028 https://bugs.webkit.org/show_bug.cgi?id=80617
1030 Reviewed by James Robinson.
1032 * tests/CCLayerTestCommon.cpp:
1033 (CCLayerTestCommon):
1034 (CCLayerTestCommon::verifyQuadsExactlyCoverRect):
1035 * tests/CCLayerTestCommon.h:
1036 (CCLayerTestCommon):
1038 2012-03-08 James Robinson <jamesr@chromium.org>
1040 Use an explicit attribute to signal that a context prefers to use a discrete GPU
1041 https://bugs.webkit.org/show_bug.cgi?id=80639
1043 Reviewed by Stephen White.
1045 * src/GraphicsContext3DChromium.cpp:
1046 (WebCore::GraphicsContext3DPrivate::getContextAttributes):
1047 (WebCore::GraphicsContext3D::create):
1048 * src/WebViewImpl.cpp:
1049 (WebKit::WebViewImpl::createCompositorGraphicsContext3D):
1051 2012-03-08 Scott Byer <scottbyer@chromium.org>
1053 Have ScrollAnimatorNone use requestAnimationFrame
1054 https://bugs.webkit.org/show_bug.cgi?id=78938
1056 Reviewed by James Robinson.
1058 * src/ScrollbarGroup.h:
1060 (WebKit::ScrollbarGroup::hostWindow):
1062 * tests/ScrollAnimatorNoneTest.cpp:
1063 (MockScrollableArea::hostWindow):
1065 2012-03-08 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
1067 Make elements with attributes smaller by eliminating the m_element back pointer in NamedNodeMap
1068 https://bugs.webkit.org/show_bug.cgi?id=75069
1070 Reviewed by Ryosuke Niwa.
1072 * src/WebElement.cpp: Include NamedNodeMap.h since Element.h doesn't include it anymore.
1074 2012-03-07 Kent Tamura <tkent@chromium.org>
1076 Remove meaningless code in RenderTextControlSingleLine::preferredContentWidth()
1077 https://bugs.webkit.org/show_bug.cgi?id=80493
1079 Reviewed by Hajime Morita.
1081 * src/WebInputElement.cpp:
1082 RenderTextControlSingleLine::speechButtonElement() is removed. The
1083 following functions get it from HTMLInputElement.
1084 (WebKit::WebInputElement::getSpeechInputState):
1085 (WebKit::WebInputElement::startSpeechInput):
1086 (WebKit::WebInputElement::stopSpeechInput):
1088 2012-03-07 Adam Barth <abarth@webkit.org>
1090 Remove #define private public from WebCache.cpp
1091 https://bugs.webkit.org/show_bug.cgi?id=80520
1093 Reviewed by Eric Seidel.
1095 This patch removes a hack we added long ago when Chromium used a forked
1096 copy of WebKit and editing WebCore caused merge pain. Now that we're
1097 on trunk, we can unwind this hack.
1100 (WebKit::WebCache::getUsageStats):
1102 2012-03-07 Joshua Bell <jsbell@chromium.org>
1104 [Chromium] IndexedDB: V8LocalContext creation in IDBKey extraction/injection is slow
1105 https://bugs.webkit.org/show_bug.cgi?id=80358
1107 Reviewed by Tony Chang.
1109 * tests/IDBBindingUtilitiesTest.cpp:
1112 2012-03-07 Scott Byer <scottbyer@chromium.org>
1114 Get ScrollAnimatorNone to handle the stop and reverse cases.
1115 https://bugs.webkit.org/show_bug.cgi?id=80455
1117 Reviewed by James Robinson.
1119 * tests/ScrollAnimatorNoneTest.cpp:
1120 (ScrollAnimatorNoneTest::updateDataFromParameters):
1123 2012-03-07 Dana Jansens <danakj@chromium.org>
1125 [chromium] Cull occluded tiles during paint
1126 https://bugs.webkit.org/show_bug.cgi?id=76838
1128 Reviewed by Adrienne Walker.
1130 * tests/CCLayerTreeHostTest.cpp:
1131 (WTF::ContentLayerChromiumWithUpdateTracking::idlePaintContentsIfDirty):
1132 * tests/TiledLayerChromiumTest.cpp:
1133 (WTF::FakeLayerTextureUpdater::Texture::prepareRect):
1134 (WTF::FakeLayerTextureUpdater::FakeLayerTextureUpdater):
1135 (FakeLayerTextureUpdater):
1136 (WTF::FakeLayerTextureUpdater::prepareRectCount):
1137 (WTF::FakeLayerTextureUpdater::clearPrepareRectCount):
1138 (WTF::FakeLayerTextureUpdater::prepareRect):
1139 (WTF::FakeTiledLayerChromium::prepareToUpdate):
1140 (WTF::FakeTiledLayerChromium::prepareToUpdateIdle):
1141 (WTF::FakeTiledLayerChromium::paintContentsIfDirty):
1145 2012-03-07 Elliot Poger <epoger@google.com>
1147 [Chromium] Remove use_skia option from GYP
1148 https://bugs.webkit.org/show_bug.cgi?id=75811
1150 Reviewed by Tony Chang.
1156 2012-03-06 Dana Jansens <danakj@chromium.org>
1158 [chromium] Add clipping to scissor rect to CCOcclusionTracker
1159 https://bugs.webkit.org/show_bug.cgi?id=79927
1161 Reviewed by Adrienne Walker.
1163 * tests/CCOcclusionTrackerTest.cpp:
1164 (WebCore::TestCCOcclusionTracker::TestCCOcclusionTracker):
1165 (TestCCOcclusionTracker):
1166 (WebCore::TestCCOcclusionTracker::setLayerScissorRect):
1167 (WebCore::TestCCOcclusionTracker::useDefaultLayerScissorRect):
1168 (WebCore::TestCCOcclusionTracker::layerScissorRect):
1171 (WebCore::TestDamageClient::damageRect):
1172 (WebCore::TestDamageClient::TestDamageClient):
1173 (WebCore::TestDamageClient::setDamageRect):
1176 2012-03-06 Kenichi Ishibashi <bashi@chromium.org>
1178 [WebSocket] Introduce ThreadableWebSocketChannel::SendResult
1179 https://bugs.webkit.org/show_bug.cgi?id=80356
1181 Reviewed by Kent Tamura.
1183 * src/WebSocketImpl.cpp:
1184 (WebKit::WebSocketImpl::sendText): Checks whether the return value of send() is ThreadableWebSocketChannel::SendSuccess.
1185 (WebKit::WebSocketImpl::sendArrayBuffer): Ditto.
1187 2012-03-06 Nat Duca <nduca@chromium.org>
1189 [chromium] CCThreadProxy context lost support
1190 https://bugs.webkit.org/show_bug.cgi?id=80100
1192 Reviewed by James Robinson.
1194 * tests/CCSchedulerStateMachineTest.cpp:
1195 * tests/CCSchedulerTest.cpp:
1196 (WebKitTests::FakeCCSchedulerClient::scheduledActionBeginContextRecreation):
1197 (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::scheduledActionBeginContextRecreation):
1198 (WebKitTests::SchedulerClientThatSetNeedsCommitInsideDraw::scheduledActionBeginContextRecreation):
1200 2012-03-06 James Robinson <jamesr@chromium.org>
1202 [chromium] Null-check m_layerRenderer in CCLayerTreeHostImpl::finishAllRendering()
1203 https://bugs.webkit.org/show_bug.cgi?id=80445
1205 Reviewed by Adrienne Walker.
1207 * tests/CCLayerTreeHostImplTest.cpp:
1208 (FakeWebGraphicsContext3DMakeCurrentFails):
1209 (WebKit::FakeWebGraphicsContext3DMakeCurrentFails::makeContextCurrent):
1213 2012-03-06 David Grogan <dgrogan@chromium.org>
1215 [Chromium] Add OVERRIDEs to WebWorkerClientImpl.h
1216 https://bugs.webkit.org/show_bug.cgi?id=80434
1218 Reviewed by Tony Chang.
1220 Tests: just that it compiles.
1222 * src/WebWorkerClientImpl.h:
1223 (WebWorkerClientImpl):
1225 2012-03-06 David Grogan <dgrogan@chromium.org>
1227 IndexedDB: Check WebCommonWorkerClient::allowIndexedDB before proceeding from a shared worker
1228 https://bugs.webkit.org/show_bug.cgi?id=79954
1230 Tests: The 'allow' case will be tested once the patch at
1231 http://webkit.org/b/80189 and
1232 https://chromiumcodereview.appspot.com/9585031/ both land. Bug for
1233 testing the 'deny' case is http://crbug.com/113738.
1235 Reviewed by Tony Chang.
1237 * public/WebCommonWorkerClient.h:
1238 (WebKit::WebCommonWorkerClient::allowDatabase):
1239 (WebKit::WebCommonWorkerClient::allowFileSystem):
1240 (WebKit::WebCommonWorkerClient::openFileSystem):
1241 (WebCommonWorkerClient):
1242 (WebKit::WebCommonWorkerClient::allowIndexedDB):
1243 * public/WebSharedWorkerClient.h:
1244 (WebSharedWorkerClient):
1245 * src/IDBFactoryBackendProxy.cpp:
1246 (WebKit::AllowIndexedDBMainThreadBridge::create):
1247 (WebKit::AllowIndexedDBMainThreadBridge::cancel):
1248 (WebKit::AllowIndexedDBMainThreadBridge::signalCompleted):
1249 (WebKit::AllowIndexedDBMainThreadBridge::AllowIndexedDBMainThreadBridge):
1250 (WebKit::AllowIndexedDBMainThreadBridge::allowIndexedDBTask):
1251 (AllowIndexedDBMainThreadBridge):
1252 (WebKit::IDBFactoryBackendProxy::allowIDBFromWorkerThread):
1253 * src/WebWorkerClientImpl.cpp:
1255 (WebKit::WebWorkerClientImpl::allowIndexedDB):
1256 * src/WebWorkerClientImpl.h:
1257 (WebWorkerClientImpl):
1259 2012-03-06 Stephen White <senorblanco@chromium.org>
1261 Unreviewed, rolling out r109825.
1262 http://trac.webkit.org/changeset/109825
1263 https://bugs.webkit.org/show_bug.cgi?id=79413
1265 Broke webkit_unit_tests on Chromium Win
1268 * tests/LevelDBTest.cpp: Removed.
1270 2012-03-06 Takashi Toyoshima <toyoshim@chromium.org>
1272 [Chromium] [WebSocket] Add WebSocket extensions query WebKit API
1273 https://bugs.webkit.org/show_bug.cgi?id=80190
1275 Reviewed by Darin Fisher.
1277 * public/WebSocket.h: Add extensions() declaration.
1279 * src/WebSocketImpl.cpp: Implement extensions() bridge.
1280 (WebKit::WebSocketImpl::extensions):
1282 * src/WebSocketImpl.h: Add extensions() declaration.
1285 2012-03-05 Kent Tamura <tkent@chromium.org>
1287 Do not reformat strings in <input type=number> on platforms using LocalizedNumberICU.
1288 https://bugs.webkit.org/show_bug.cgi?id=78326
1290 Reviewed by Hajime Morita.
1292 Add a test for WebCore/platform/text/LocalizedNumberICU.
1294 * WebKit.gypi: Added LocalizedNumberICUTest.cpp
1295 * tests/LocalizedNumberICUTest.cpp: Added.
1297 2012-03-05 Kenneth Russell <kbr@google.com>
1299 [chromium] Notify CCLayerImpl tree of context loss and restoration
1300 https://bugs.webkit.org/show_bug.cgi?id=80339
1302 Reviewed by James Robinson.
1304 Unit test for notification of context loss and restoration.
1306 * tests/CCLayerTreeHostImplTest.cpp:
1308 (ContextLostNotificationCheckLayer):
1309 (WebKit::ContextLostNotificationCheckLayer::create):
1310 (WebKit::ContextLostNotificationCheckLayer::didLoseAndRecreateGraphicsContext):
1311 (WebKit::ContextLostNotificationCheckLayer::didLoseAndRecreateGraphicsContextCalled):
1312 (WebKit::ContextLostNotificationCheckLayer::ContextLostNotificationCheckLayer):
1315 2012-03-05 Changhun Kang <temoochin@company100.net>
1317 Change the argument orders to match OpenGL's in GraphicsContext3D functions
1318 https://bugs.webkit.org/show_bug.cgi?id=80120
1320 Reviewed by Kenneth Russell.
1322 No new tests because this patch just change the order of arguments.
1324 * src/GraphicsContext3DChromium.cpp:
1325 (WebCore::GraphicsContext3DPrivate::uniform1fv):
1326 (WebCore::GraphicsContext3DPrivate::uniform1iv):
1327 (WebCore::GraphicsContext3DPrivate::uniform2fv):
1328 (WebCore::GraphicsContext3DPrivate::uniform2iv):
1329 (WebCore::GraphicsContext3DPrivate::uniform3fv):
1330 (WebCore::GraphicsContext3DPrivate::uniform3iv):
1331 (WebCore::GraphicsContext3DPrivate::uniform4fv):
1332 (WebCore::GraphicsContext3DPrivate::uniform4iv):
1333 (WebCore::GraphicsContext3DPrivate::uniformMatrix2fv):
1334 (WebCore::GraphicsContext3DPrivate::uniformMatrix3fv):
1335 (WebCore::GraphicsContext3DPrivate::uniformMatrix4fv):
1337 * src/GraphicsContext3DPrivate.h:
1338 (GraphicsContext3DPrivate):
1340 2012-03-05 Yoshifumi Inoue <yosin@chromium.org>
1342 [Chromium] WebOptionElement should inherit WebElement instead of WebFormControlElement
1343 https://bugs.webkit.org/show_bug.cgi?id=80089
1345 Change class hierarchy of WebOptionElement to match with specification.
1347 Reviewed by Darin Fisher.
1349 * public/WebOptionElement.h: Replace to WebElement from WebFormControlElement
1350 (WebKit::WebOptionElement::WebOptionElement):
1351 (WebKit::WebOptionElement::operator=):
1352 (WebKit::WebOptionElement::assign):
1353 * src/WebOptionElement.cpp:
1354 (WebKit::WebOptionElement::WebOptionElement):
1356 2012-03-05 Joshua Bell <jsbell@chromium.org>
1358 IndexedDB: Handle LevelDB database corruption
1359 https://bugs.webkit.org/show_bug.cgi?id=79413
1361 Reviewed by Tony Chang.
1364 * tests/LevelDBTest.cpp: Added.
1367 (WebCore::SimpleComparator::compare):
1368 (WebCore::SimpleComparator::name):
1369 (WebCore::encodeString):
1372 2012-03-05 Min Qin <qinmin@google.com>
1374 Enable context menu on android
1376 For android, long press is converted into a right mouse down event
1377 So we will use that to invoke the context menu
1378 https://bugs.webkit.org/show_bug.cgi?id=80332
1380 Reviewed by Adam Barth.
1382 * src/WebViewImpl.cpp:
1383 (WebKit::WebViewImpl::mouseDown):
1385 2012-03-05 Kent Tamura <tkent@chromium.org>
1387 [Chromium] Add new popup type: PagePopup
1388 https://bugs.webkit.org/show_bug.cgi?id=80106
1390 Reviewed by Darin Fisher.
1392 This is a preparation of implementing ChromeClient::openPagePopup and
1395 * WebKit.gyp: Add WebPagePopup.h and WebPagePopupImpl.cpp.
1396 * public/WebPagePopup.h:
1397 (WebPagePopup): Add WebPagePopup interface.
1398 * public/WebPopupType.h: Add WebPopupTypePage.
1399 * src/WebPagePopupImpl.cpp:
1400 (WebKit::WebPagePopup::create): Temprary implementation which just returns 0.
1402 2012-03-05 Charlie Reis <creis@chromium.org>
1404 [chromium] Pass WebNavigationPolicy to WebViewClient::createView
1405 https://bugs.webkit.org/show_bug.cgi?id=80057
1407 Reviewed by Darin Fisher.
1409 * public/WebViewClient.h:
1411 (WebKit::WebViewClient::createView):
1412 * src/ChromeClientImpl.cpp:
1413 (WebKit::ChromeClientImpl::ChromeClientImpl):
1414 (WebKit::ChromeClientImpl::createWindow):
1415 (WebKit::ChromeClientImpl::getNavigationPolicy):
1417 (WebKit::ChromeClientImpl::show):
1418 (WebKit::ChromeClientImpl::setNewWindowNavigationPolicy):
1419 * src/ChromeClientImpl.h:
1421 * src/FrameLoaderClientImpl.cpp:
1422 (WebKit::FrameLoaderClientImpl::dispatchCreatePage):
1423 (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNewWindowAction):
1425 2012-03-05 James Robinson <jamesr@chromium.org>
1427 [chromium] Initialize CCOverdrawCounts struct to zero
1428 https://bugs.webkit.org/show_bug.cgi?id=80204
1430 Reviewed by Adrienne Walker.
1432 Update test to use c'tor instead of {} struct initialization.
1434 * tests/CCQuadCullerTest.cpp:
1437 2012-03-05 Takashi Toyoshima <toyoshim@chromium.org>
1439 [Chromium] [WebSocket] use OVERRIDE in WebSocketImpl.h
1440 https://bugs.webkit.org/show_bug.cgi?id=80192
1442 Reviewed by Kent Tamura.
1444 * src/WebSocketImpl.h: use OVERRIDE macro.
1447 2012-03-05 Adam Barth <abarth@webkit.org>
1449 Geolocation should use a ScriptExecutionContext as its context object
1450 https://bugs.webkit.org/show_bug.cgi?id=80248
1452 Reviewed by Kentaro Hara.
1454 Rather than indirecting through the Frame to get the SecurityOrigin, we
1455 should get the SecurityOrigin directly from ScriptExecutionContext.
1457 * src/WebGeolocationPermissionRequest.cpp:
1458 (WebKit::WebGeolocationPermissionRequest::securityOrigin):
1460 2012-03-02 Andrey Kosyakov <caseq@chromium.org>
1462 Add instrumentation for frame start/end on timeline.
1464 Web Inspector: add timeline instrumentation for frame events
1465 https://bugs.webkit.org/show_bug.cgi?id=80127
1467 Reviewed by Pavel Feldman.
1469 - expose an instrumentation method from WebWidget to mark frame update start
1471 * public/WebWidget.h:
1473 (WebKit::WebWidget::instrumentBeginFrame):
1474 * src/WebViewImpl.cpp:
1475 (WebKit::WebViewImpl::instrumentBeginFrame):
1477 * src/WebViewImpl.h:
1480 2012-03-03 Benjamin Poulain <benjamin@webkit.org>
1482 Remove the redundant method KURL::protocolInHTTPFamily()
1483 https://bugs.webkit.org/show_bug.cgi?id=80216
1485 Reviewed by Anders Carlsson.
1487 * src/FrameLoaderClientImpl.cpp:
1488 (WebKit::FrameLoaderClientImpl::dispatchWillPerformClientRedirect):
1489 * src/WebPageSerializer.cpp:
1490 (WebCore::retrieveResourcesForElement):
1492 2012-03-03 Hans Wennborg <hans@chromium.org>
1494 Implement Speech JavaScript API
1495 https://bugs.webkit.org/show_bug.cgi?id=80019
1497 Reviewed by Adam Barth.
1499 Add ENABLE_SCRIPTED_SPEECH and runtime flag.
1502 * public/WebRuntimeFeatures.h:
1503 (WebRuntimeFeatures):
1504 * src/WebRuntimeFeatures.cpp:
1505 (WebKit::WebRuntimeFeatures::enableScriptedSpeech):
1507 (WebKit::WebRuntimeFeatures::isScriptedSpeechEnabled):
1509 2012-03-03 Bill Budge <bbudge@chromium.org>
1511 Fixes AssociatedURLLoader support for Access-Control-Expose-Headers field in response.
1512 https://bugs.webkit.org/show_bug.cgi?id=80198
1514 Reviewed by Adam Barth.
1516 * src/AssociatedURLLoader.cpp:
1517 * tests/AssociatedURLLoaderTest.cpp:
1519 2012-03-02 Dana Jansens <danakj@chromium.org>
1521 [Chromium] Allow plugins to set opaque() on their platform layer
1522 https://bugs.webkit.org/show_bug.cgi?id=80171
1524 Reviewed by James Robinson.
1526 * public/WebPluginContainer.h:
1527 (WebPluginContainer):
1528 * src/WebPluginContainerImpl.cpp:
1529 (WebKit::WebPluginContainerImpl::setOpaque):
1531 * src/WebPluginContainerImpl.h:
1532 (WebPluginContainerImpl):
1534 2012-03-01 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
1536 Make parser code not depend on NamedNodeMap
1537 https://bugs.webkit.org/show_bug.cgi?id=79963
1539 Reviewed by Adam Barth.
1541 * src/WebNamedNodeMap.cpp:
1542 (WebKit::WebNamedNodeMap::attributeItem):
1544 2012-03-01 Dana Jansens <danakj@chromium.org>
1546 [chromium] Make opaque paint tracker aware of SkCanvas layers
1547 https://bugs.webkit.org/show_bug.cgi?id=79145
1549 Reviewed by Stephen White.
1551 * tests/PlatformContextSkiaTest.cpp:
1555 2012-03-01 Hironori Bono <hbono@chromium.org>
1557 Render overflow controls of an RTL element to its left-side.
1558 https://bugs.webkit.org/show_bug.cgi?id=54623
1560 This change adds a new flag WTF_USE_RTL_SCROLLBAR and render the
1561 vertical scrollbars and resizers of RTL elements to their left side if
1562 this new flag is enabled.
1564 Reviewed by Ryosuke Niwa.
1566 * features.gypi: Set WTF_USE_RTL_SCROLLBAR to 1 on Chromium.
1568 2012-03-01 James Robinson <jamesr@chromium.org>
1570 [chromium] Rename LayerChromium::name to debugName to be more consistent with other debug properties, make threadsafe
1571 https://bugs.webkit.org/show_bug.cgi?id=79723
1573 Reviewed by Adrienne Walker.
1575 * tests/LayerChromiumTest.cpp:
1577 2012-03-01 Dale Curtis <dalecurtis@chromium.org>
1579 Remove deprecated FFmpeg build directories.
1580 https://bugs.webkit.org/show_bug.cgi?id=79282
1582 We've switched the layout of the FFmpeg repo in Chrome and these paths
1583 are no longer needed or valid.
1585 Reviewed by Dirk Pranke.
1589 2012-03-01 Dirk Pranke <dpranke@chromium.org>
1591 Roll chromium DEPS to 124511
1593 Unreviewed, DEPS change.
1597 2012-02-29 Nat Duca <nduca@chromium.org>
1599 [chromium] Move context lost control code from CCSingleThreadProxy to CCLayerTreeHost
1600 https://bugs.webkit.org/show_bug.cgi?id=79964
1602 Reviewed by James Robinson.
1604 * src/WebLayerTreeView.cpp:
1605 (WebKit::WebLayerTreeView::loseCompositorContext):
1606 * src/WebLayerTreeViewImpl.cpp:
1607 (WebKit::WebLayerTreeViewImpl::createContext):
1608 (WebKit::WebLayerTreeViewImpl::didRecreateContext):
1609 * src/WebLayerTreeViewImpl.h:
1610 (WebLayerTreeViewImpl):
1611 * tests/CCLayerTreeHostTest.cpp:
1612 (WTF::MockLayerTreeHostClient::createContext):
1613 (WTF::MockLayerTreeHostClient::didRecreateContext):
1614 * tests/FakeCCLayerTreeHostClient.h:
1615 (WebCore::FakeCCLayerTreeHostClient::createContext):
1616 (WebCore::FakeCCLayerTreeHostClient::didRecreateContext):
1618 2012-03-01 Kentaro Hara <haraken@chromium.org>
1620 REGRESSION(r109288): WebViewImpl::enableAutoResizeMode loops infinitely
1621 https://bugs.webkit.org/show_bug.cgi?id=77452
1623 Reviewed by Hajime Morita.
1625 WebViewImpl::enableAutoResizeMode loops infinitely.
1626 This patch fixes the following line:
1628 enableAutoResizeMode(enable, minSize, maxSize);
1631 enableAutoResizeMode(minSize, maxSize);
1633 to avoid the infinite loop. I guess this is the change originally intended.
1635 Test: webkit_unit_tests.WebViewTest.AutoResizeMinimumSize
1637 * src/WebViewImpl.cpp:
1638 (WebKit::WebViewImpl::enableAutoResizeMode):
1640 2012-02-29 Kinuko Yasuda <kinuko@chromium.org>
1642 Use the new createSnapshotFileAndReadMetadata API for FileEntry.file()
1643 https://bugs.webkit.org/show_bug.cgi?id=79928
1645 Reviewed by David Levin.
1647 In the new flow we first create an internal Blob URL for the
1648 snapshot file and call the new createSnapshotFileAndReadMetadata()
1649 WebKit API with the Blob URL.
1651 The implementor of createSnapshotFileAndReadMetadata() (i.e. chromium)
1652 registers the created snapshot file with the given internal Blob URL.
1654 In the callback chain we call File::createWithName() to create a
1655 new File using the returned platform path, and then call
1656 unregisterBlobURL() to clean up the internal Blob URL.
1658 * src/AsyncFileSystemChromium.cpp:
1659 (WebCore::AsyncFileSystemChromium::createSnapshotFileAndReadMetadata): Added.
1660 (WebCore::AsyncFileSystemChromium::createSnapshotFileCallback): Added.
1661 * src/AsyncFileSystemChromium.h:
1662 * src/WorkerAsyncFileSystemChromium.cpp:
1663 (WebCore::WorkerAsyncFileSystemChromium::createSnapshotFileAndReadMetadata): Added.
1664 * src/WorkerAsyncFileSystemChromium.h:
1665 * src/WorkerFileSystemCallbacksBridge.cpp:
1666 (WebKit::WorkerFileSystemCallbacksBridge::postCreateSnapshotFileToMainThread): Added.
1667 (WebKit::WorkerFileSystemCallbacksBridge::createSnapshotFileOnMainThread): Added.
1668 * src/WorkerFileSystemCallbacksBridge.h:
1669 (WorkerFileSystemCallbacksBridge):
1671 2012-02-29 Kinuko Yasuda <kinuko@chromium.org>
1673 Unreviewed. Rolled DEPS.
1677 2012-02-29 W. James MacLean <wjmaclean@chromium.org>
1679 [chromium] Estimate pixel count for frame rate control
1680 https://bugs.webkit.org/show_bug.cgi?id=74982
1682 Reviewed by James Robinson.
1684 Adds mechanism to compute and collect statistics on pixel overdraw for selected frames.
1686 * tests/CCQuadCullerTest.cpp:
1690 2012-02-29 James Simonsen <simonjam@chromium.org>
1692 [chromium] Fix navigation start time on cross-renderer navigation
1693 https://bugs.webkit.org/show_bug.cgi?id=75922
1695 Reviewed by Darin Fisher.
1697 * public/WebDataSource.h:
1698 * src/WebDataSource.cpp:
1699 (WebKit::WebDataSource::setNavigationStartTime): Added.
1700 * src/WebDataSource.h:
1702 2012-02-29 Ian Vollick <vollick@chromium.org>
1704 [chromium] Add impl-thread support for animation-timing-function
1705 https://bugs.webkit.org/show_bug.cgi?id=79819
1707 Reviewed by James Robinson.
1709 * tests/CCKeyframedAnimationCurveTest.cpp:
1713 2012-02-29 David Levin <levin@chromium.org>
1715 [chromium] Add the ability to turn off autoresize.
1716 https://bugs.webkit.org/show_bug.cgi?id=77452
1718 Reviewed by Darin Fisher.
1721 (WebKit::WebViewImpl::enableAutoResizeMode): Cleaned up the api.
1722 (WebKit::WebViewImpl::disableAutoResizeMode): Added the ability to disable auto-resize.
1723 (WebKit::WebViewImpl::enableAutoResizeMode): Deprecated it.
1724 * src/WebViewImpl.cpp:
1725 (WebKit::WebViewImpl::enableAutoResizeMode): Adjust for new api.
1726 (WebKit::WebViewImpl::disableAutoResizeMode): Allow turning off autoresize.
1727 (WebKit::WebViewImpl::enableAutoResizeMode): Call the other two apis, but
1728 this api will be deleted shortly.
1729 (WebKit::WebViewImpl::configureAutoResizeMode): Common code.
1730 * src/WebViewImpl.h:
1731 (WebViewImpl): Adjust to new public api.
1733 2012-02-29 Sheriff Bot <webkit.review.bot@gmail.com>
1735 Unreviewed. Rolled DEPS.
1739 2012-02-29 Dana Jansens <danakj@chromium.org>
1741 [chromium] Don't let invalidation for next frame prevent tile upload
1742 https://bugs.webkit.org/show_bug.cgi?id=79841
1744 Reviewed by James Robinson.
1746 * tests/TiledLayerChromiumTest.cpp:
1749 2012-02-28 Sheriff Bot <webkit.review.bot@gmail.com>
1751 Unreviewed, rolling out r107917 and r109188.
1752 http://trac.webkit.org/changeset/107917
1753 http://trac.webkit.org/changeset/109188
1754 https://bugs.webkit.org/show_bug.cgi?id=79865
1756 Fix the chromium build. (Requested by dcheng on #webkit).
1758 * src/WebDragData.cpp:
1759 (WebKit::WebDragData::items):
1761 2012-02-28 Ryosuke Niwa <rniwa@webkit.org>
1763 Chromium build fix attempt.
1765 * src/WebDragData.cpp:
1767 2012-02-28 Jonathan Backer <backer@chromium.org>
1769 [chromium] Reset damage tracker on visibility change.
1770 https://bugs.webkit.org/show_bug.cgi?id=79267
1772 Reviewed by James Robinson.
1774 * tests/CCLayerTreeHostImplTest.cpp:
1775 (WebKit::PartialSwapTrackerContext::getString):
1779 2012-02-28 Tim Dresser <tdresser@chromium.org>
1781 Provide DefaultDeviceScaleFactor though WebSettings
1782 https://bugs.webkit.org/show_bug.cgi?id=79534
1784 Reviewed by Darin Fisher.
1786 * public/WebSettings.h:
1787 * src/WebSettingsImpl.cpp:
1788 (WebKit::WebSettingsImpl::setDefaultDeviceScaleFactor):
1790 * src/WebSettingsImpl.h:
1793 2012-02-28 Gary Kacmarcik <garykac@chromium.org>
1795 [chromium] Set nativeKeyCode to include Windows scan code
1796 https://bugs.webkit.org/show_bug.cgi?id=79289
1798 Reviewed by Ryosuke Niwa.
1800 Set the key event's nativeKeyCode on Windows Chromium so that it
1801 actually includes the native scancode and other context bits.
1802 Currently on Windows, the nativeKeyCode is set to be the same value as
1803 the windowsKeyCode, which is redundant.
1805 The actual native key information is required so that components (like
1806 plugins) can reconstruct the original key event. The value stored in
1807 the windowsKeyCode is a Windows virtual key code which does not provide
1808 sufficient info to disambiguate the actual key being pressed (for
1809 example, it cannot distinguish between the left and right shift keys).
1811 All platforms except Windows currently send native key event info, so
1812 this change will bring Windows in line with other platforms.
1814 This change is part of our effort to send enhanced keycode information
1815 to Pepper plugins in Chromium.
1817 * src/win/WebInputEventFactory.cpp:
1818 (WebKit::WebInputEventFactory::keyboardEvent):
1820 2012-02-28 Adam Klein <adamk@chromium.org>
1822 Unreviewed, speculative test fix after r109016.
1824 * tests/TransparencyWinTest.cpp:
1825 (WebCore::TEST): Update all ImageBuffer::create calls to include a scale of 1.
1827 2012-02-28 Sheriff Bot <webkit.review.bot@gmail.com>
1829 Unreviewed. Rolled DEPS.
1833 2012-02-27 James Kozianski <koz@chromium.org>
1835 Add missing parameter to didCreateScriptContext() so it overrides base class again.
1836 https://bugs.webkit.org/show_bug.cgi?id=79742
1838 Reviewed by Kent Tamura.
1840 * tests/WebFrameTest.cpp:
1842 2012-02-27 Kenichi Ishibashi <bashi@chromium.org>
1844 [Chromium] Unreviewed gardening, Disable TransparencyWin.OpaqueCompositeLayerPixel
1846 * tests/TransparencyWinTest.cpp:
1849 2012-02-27 Kinuko Yasuda <kinuko@chromium.org>
1851 [chromium] Add createSnapshotFile API to WebFileSystem to create File snapshots for filesystem files
1852 https://bugs.webkit.org/show_bug.cgi?id=79394
1854 Reviewed by Darin Fisher.
1856 * public/platform/WebFileSystem.h:
1857 (WebKit::WebFileSystem::createSnapshotFileAndReadMetadata): Added.
1859 2012-02-27 James Kozianski <koz@chromium.org>
1861 [chromium] Plumb extensionGroup into didCreateScriptContext().
1862 https://bugs.webkit.org/show_bug.cgi?id=79072
1864 Reviewed by Darin Fisher.
1866 * public/WebFrameClient.h:
1867 (WebKit::WebFrameClient::didCreateScriptContext):
1868 * src/FrameLoaderClientImpl.cpp:
1869 (WebKit::FrameLoaderClientImpl::didCreateScriptContext):
1870 * src/FrameLoaderClientImpl.h:
1871 (FrameLoaderClientImpl):
1873 2012-02-27 Adrienne Walker <enne@google.com>
1875 [chromium] Unreviewed gardening, disable TransparencyWinTest unit tests
1876 https://bugs.webkit.org/show_bug.cgi?id=79718
1878 * tests/TransparencyWinTest.cpp:
1880 2012-02-26 Hajime Morrita <morrita@chromium.org>
1882 Move ChromeClient::showContextMenu() to ContextMenuClient
1883 https://bugs.webkit.org/show_bug.cgi?id=79427
1885 Reviewed by Adam Barth.
1887 * src/ChromeClientImpl.h:
1890 2012-02-26 James Robinson <jamesr@chromium.org>
1894 * tests/CCLayerTreeHostImplTest.cpp:
1897 2012-02-26 James Robinson <jamesr@chromium.org>
1899 Compile fix for CCLayerTreeHostImpl test.
1901 * tests/CCLayerTreeHostImplTest.cpp:
1904 2012-02-26 James Robinson <jamesr@chromium.org>
1906 [chromium] Wire up shouldUpdateScrollPositionOnMainThread and nonFastScrollableRegion to compositor
1907 https://bugs.webkit.org/show_bug.cgi?id=79155
1909 Reviewed by Adam Barth.
1911 Add new tests for shouldScrollOnMainThread and nonFastScrollableRegion properties.
1913 * tests/CCLayerTreeHostImplTest.cpp:
1916 * tests/LayerChromiumTest.cpp:
1918 2012-02-25 Adrienne Walker <enne@google.com>
1920 [chromium] Unreviewed gardening, fix Linux Clang OwnPtr breakage
1921 https://bugs.webkit.org/show_bug.cgi?id=78404
1923 r108886 doesn't compile on Linux Clang due to OwnPtr's public copy
1924 constructor (i.e. "has internal linkage but is not defined"). Fixed
1925 locally by changing copy initialization to direct initialization.
1927 * tests/TiledLayerChromiumTest.cpp:
1930 2012-02-24 Tien-Ren Chen <trchen@chromium.org>
1932 [chromium] Replace RefPtr with OwnPtr for CCLayerImpl tree structure
1933 https://bugs.webkit.org/show_bug.cgi?id=78404
1935 Reviewed by James Robinson.
1937 * tests/CCDamageTrackerTest.cpp:
1938 (WebKitTests::executeCalculateDrawTransformsAndVisibility):
1939 (WebKitTests::emulateDrawingOneFrame):
1940 (WebKitTests::createTestTreeWithOneSurface):
1941 (WebKitTests::createTestTreeWithTwoSurfaces):
1942 (WebKitTests::createAndSetUpTestTreeWithOneSurface):
1943 (WebKitTests::createAndSetUpTestTreeWithTwoSurfaces):
1944 (WebKitTests::TEST_F):
1945 * tests/CCLayerImplTest.cpp:
1947 * tests/CCLayerIteratorTest.cpp:
1948 * tests/CCLayerSorterTest.cpp:
1950 * tests/CCLayerTreeHostCommonTest.cpp:
1952 * tests/CCLayerTreeHostImplTest.cpp:
1953 (WebKit::CCLayerTreeHostImplTest::setupScrollAndContentsLayers):
1955 (WebKit::DidDrawCheckLayer::create):
1956 (WebKit::BlendStateCheckLayer::create):
1957 * tests/CCRenderSurfaceTest.cpp:
1959 * tests/CCSolidColorLayerImplTest.cpp:
1960 (CCLayerTestCommon::TEST):
1961 * tests/CCTiledLayerImplTest.cpp:
1962 (CCLayerTestCommon::createLayer):
1963 (CCLayerTestCommon::TEST):
1964 (CCLayerTestCommon::getQuads):
1965 * tests/Canvas2DLayerChromiumTest.cpp:
1966 (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
1967 * tests/TiledLayerChromiumTest.cpp:
1969 * tests/TreeSynchronizerTest.cpp:
1970 (WebKitTests::MockCCLayerImpl::create):
1971 (WebKitTests::MockLayerChromium::createCCLayerImpl):
1972 (WebKitTests::expectTreesAreIdentical):
1973 (WebKitTests::TEST):
1975 2012-02-08 James Robinson <jamesr@chromium.org>
1977 [chromium] Make WebViewImpl depend on WebLayerTreeView instead of CCLayerTreeHost
1978 https://bugs.webkit.org/show_bug.cgi?id=75591
1980 Reviewed by Kenneth Russell.
1982 This converts WebViewImpl from depending on CCLayerTreeHost to WebLayerTreeView in order to provide better
1983 isolation and allow for future refactorings. The changes to WebViewImpl are mostly mechanical. The
1984 WebLayerTreeView and WebLayerTreeViewClient interfaces have both grown and changed slightly:
1986 - Setup path for WebLayerTreeView changed to expose an initialize() function instead of a create() factory
1987 function. The new model is that a WebLayerTreeView when constructed is in a null state. Calling initialize()
1988 attempts to re-initialize the WLTV, which can either fail or succeed. All other functions must be called on a
1989 successfully initialized view.
1991 - WebLayerTreeView expanded to include functionality that CCLayerTreeHost exposes but WebLayerTreeView did not.
1992 Some of this is only valid for the single thread case and will be removed when we invert the scheduling control
1993 logic, these bits are commented.
1995 - WebLayerTreeViewClient expanded with some flow-control related APIs.
1997 Refactor only, no change in behavior.
1999 * public/platform/WebLayerTreeView.h:
2000 (WebKit::WebLayerTreeView::Settings::Settings):
2001 (WebKit::WebLayerTreeView::isNull):
2002 * public/platform/WebLayerTreeViewClient.h:
2003 * src/ChromeClientImpl.cpp:
2004 (WebKit::ChromeClientImpl::scheduleCompositingLayerSync):
2005 * src/WebLayerTreeView.cpp:
2006 (WebKit::WebLayerTreeView::initialize):
2007 (WebKit::WebLayerTreeView::compositorIdentifier):
2008 (WebKit::WebLayerTreeView::setVisible):
2009 (WebKit::WebLayerTreeView::setNeedsAnimate):
2010 (WebKit::WebLayerTreeView::updateAnimations):
2011 (WebKit::WebLayerTreeView::setNeedsRedraw):
2012 (WebKit::WebLayerTreeView::setPageScaleFactorAndLimits):
2013 (WebKit::WebLayerTreeView::startPageScaleAnimation):
2014 (WebKit::WebLayerTreeView::finishAllRendering):
2015 (WebKit::WebLayerTreeView::context):
2016 (WebKit::WebLayerTreeView::loseCompositorContext):
2017 * src/WebLayerTreeViewImpl.cpp:
2018 (WebKit::WebLayerTreeViewImpl::didRecreateGraphicsContext):
2019 (WebKit::WebLayerTreeViewImpl::didCommitAndDrawFrame):
2020 (WebKit::WebLayerTreeViewImpl::didCompleteSwapBuffers):
2021 * src/WebViewImpl.cpp:
2022 (WebKit::WebViewImpl::animate):
2023 (WebKit::WebViewImpl::doPixelReadbackToCanvas):
2024 (WebKit::WebViewImpl::paint):
2025 (WebKit::WebViewImpl::composite):
2026 (WebKit::WebViewImpl::loseCompositorContext):
2027 (WebKit::WebViewImpl::computePageScaleFactorLimits):
2028 (WebKit::WebViewImpl::addPageOverlay):
2029 (WebKit::WebViewImpl::removePageOverlay):
2030 (WebKit::WebViewImpl::setRootGraphicsLayer):
2031 (WebKit::WebViewImpl::scheduleCompositingLayerSync):
2032 (WebKit::WebViewImpl::scrollRootLayerRect):
2033 (WebKit::WebViewImpl::invalidateRootLayerRect):
2034 (WebKit::WebViewImpl::scheduleAnimation):
2035 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2036 (WebKit::WebViewImpl::createContext3D):
2037 (WebKit::WebViewImpl::applyScrollAndScale):
2038 (WebKit::WebViewImpl::didRebindGraphicsContext):
2039 (WebKit::WebViewImpl::updateLayerTreeViewport):
2040 (WebKit::WebViewImpl::graphicsContext3D):
2041 (WebKit::WebViewImpl::setVisibilityState):
2042 * src/WebViewImpl.h:
2043 * tests/WebLayerTest.cpp:
2045 2012-02-24 Ian Vollick <vollick@chromium.org>
2047 [chromium] Plumb animation started notifications from CCLayerTreeHost to GraphicsLayerChromium
2048 https://bugs.webkit.org/show_bug.cgi?id=77646
2050 Reviewed by James Robinson.
2052 * tests/CCLayerTreeHostTest.cpp:
2054 (WTF::TestHooks::notifyAnimationStarted):
2055 (WTF::TestHooks::notifyAnimationFinished):
2056 (WTF::MockLayerTreeHost::create):
2057 (WTF::CCLayerTreeHostTestAddAnimation::CCLayerTreeHostTestAddAnimation):
2058 (WTF::CCLayerTreeHostTestAddAnimation::animateLayers):
2059 (WTF::CCLayerTreeHostTestAddAnimation::notifyAnimationStarted):
2060 (CCLayerTreeHostTestAddAnimation):
2061 (WTF::CCLayerTreeHostTestAddAnimation::notifyAnimationFinished):
2063 2012-02-24 James Robinson <jamesr@chromium.org>
2065 [chromium] WebKit::setColorNames is a client API
2066 https://bugs.webkit.org/show_bug.cgi?id=79539
2068 Reviewed by Darin Fisher.
2071 * public/WebColorName.h: Renamed from Source/Platform/chromium/public/WebColorName.h.
2073 * public/platform/WebColorName.h:
2076 2012-02-24 Sheriff Bot <webkit.review.bot@gmail.com>
2078 Unreviewed, rolling out r108860.
2079 http://trac.webkit.org/changeset/108860
2080 https://bugs.webkit.org/show_bug.cgi?id=79544
2082 "Breaks Linux compile" (Requested by enne on #webkit).
2085 * public/platform/WebColorName.h:
2086 * src/WebColor.cpp: Renamed from Source/WebKit/chromium/src/WebColorName.cpp.
2088 (WebKit::toCSSValueKeyword):
2089 (WebKit::setNamedColors):
2091 2012-02-24 James Robinson <jamesr@chromium.org>
2093 [chromium] WebKit::setColorNames is a client API
2094 https://bugs.webkit.org/show_bug.cgi?id=79539
2096 Reviewed by Darin Fisher.
2099 * public/WebColorName.h: Renamed from Source/Platform/chromium/public/WebColorName.h.
2101 * public/platform/WebColorName.h:
2104 2012-02-22 James Robinson <jamesr@chromium.org>
2106 [chromium] Move WebGraphicsContext3D header into the Platform directory
2107 https://bugs.webkit.org/show_bug.cgi?id=79301
2109 Reviewed by Adam Barth.
2111 Moves WebGraphicsContext3D and WebNonCopyable (which WGC3D depends on).
2113 * public/platform/WebGraphicsContext3D.h:
2114 * public/platform/WebNonCopyable.h:
2116 2012-02-24 Michal Mocny <mmocny@google.com>
2118 [chromium] Purge Skia's GPU texture cache using GL_CHROMIUM_gpu_memory_manager
2119 https://bugs.webkit.org/show_bug.cgi?id=78265
2121 Reviewed by Stephen White.
2123 * src/GraphicsContext3DChromium.cpp:
2124 (GrMemoryAllocationChangedCallback):
2125 (WebCore::GrMemoryAllocationChangedCallback::GrMemoryAllocationChangedCallback):
2126 (WebCore::GrMemoryAllocationChangedCallback::onGpuMemoryAllocationChanged):
2128 (WebCore::GraphicsContext3DPrivate::grContext):
2130 2012-02-24 James Robinson <jamesr@chromium.org>
2132 [chromium] Remove deprecated and unused WebGraphicsContext3D::initialize call
2133 https://bugs.webkit.org/show_bug.cgi?id=79296
2135 Reviewed by Kenneth Russell.
2137 The old way to initialize a WebGraphicsContext3D from inside WebKit was to call initialize() on it with a
2138 WebView*. The new way to do this is via the WebViewClient interface. This deletes the old, unused path.
2140 * public/platform/WebGraphicsContext3D.h:
2142 * tests/CCLayerTreeHostImplTest.cpp:
2143 * tests/FakeWebGraphicsContext3D.h:
2145 2012-02-23 James Robinson <jamesr@chromium.org>
2147 [chromium] Move Web*Layer* headers into Platform
2148 https://bugs.webkit.org/show_bug.cgi?id=79425
2150 Reviewed by Adam Barth.
2152 Adds forwarding headers for Web*Layer* APIs and their dependencies. The forwarding headers for the Web*Layer*
2153 APIs are temporary since Web*Layer* is not exposed in the client interface. The other headers (such as
2154 WebColor) are exposed in both the client and platform APIs, so the forwarding headers are permanent, although we
2155 might move them back down to public/ at some point.
2157 * public/platform/WebCanvas.h:
2158 * public/platform/WebColor.h:
2159 * public/platform/WebColorName.h:
2160 * public/platform/WebContentLayer.h:
2161 * public/platform/WebContentLayerClient.h:
2162 * public/platform/WebExternalTextureLayer.h:
2163 * public/platform/WebLayer.h:
2164 * public/platform/WebLayerTreeView.h:
2165 * public/platform/WebLayerTreeViewClient.h:
2166 * public/platform/WebPrivatePtr.h:
2167 * public/platform/WebSolidColorLayer.h:
2169 2012-02-24 Peter Collingbourne <peter@pcc.me.uk>
2171 [chromium] Have WebFrameImpl::selectionAsMarkup create interchange markup.
2172 https://bugs.webkit.org/show_bug.cgi?id=77307
2174 Reviewed by Tony Chang.
2176 This function is currently used to build markup in order to
2177 print the selection, and will also be used to build markup for
2178 the clipboard. Without this change, the markup will refer to
2179 (for example) nonexistent CSS classes and invalid relative
2180 paths and therefore will not be interpreted correctly.
2182 Chromium bug: http://crbug.com/23329
2184 * src/WebFrameImpl.cpp:
2185 (WebKit::WebFrameImpl::selectionAsMarkup):
2187 2012-02-24 Pavel Feldman <pfeldman@chromium.org>
2189 Not reviewed: chromium image for inspector status bar button updated.
2191 * src/js/Images/segmentSelectedEndChromium.png:
2193 2012-02-24 Shinya Kawanaka <shinyak@chromium.org>
2195 SpellCheckRequest needs to know the context where the spellcheck happened.
2196 https://bugs.webkit.org/show_bug.cgi?id=79320
2198 Reviewed by Hajime Morita.
2200 * src/EditorClientImpl.cpp:
2201 (WebKit::EditorClientImpl::requestCheckingOfString):
2202 * src/EditorClientImpl.h:
2204 * src/WebFrameImpl.cpp:
2205 (WebKit::WebFrameImpl::requestTextChecking):
2207 2012-02-23 Sheriff Bot <webkit.review.bot@gmail.com>
2209 Unreviewed. Rolled DEPS.
2213 2012-02-23 Ian Vollick <vollick@chromium.org>
2215 [chromium] Implement keyframed animations for the cc thread.
2216 https://bugs.webkit.org/show_bug.cgi?id=77229
2218 Reviewed by James Robinson.
2221 * tests/CCAnimationTestCommon.cpp:
2223 (WebCore::addOpacityTransition):
2224 (WebKitTests::addOpacityTransitionToController):
2225 (WebKitTests::addOpacityTransitionToLayer):
2226 * tests/CCAnimationTestCommon.h:
2229 * tests/CCKeyframedAnimationCurveTest.cpp: Added.
2231 (WebCore::expectTranslateX):
2233 * tests/CCLayerAnimationControllerTest.cpp:
2234 (WebKitTests::expectTranslateX):
2236 (WebKitTests::TEST):
2237 * tests/CCLayerTreeHostTest.cpp:
2238 (WTF::CCLayerTreeHostTest::dispatchAddAnimation):
2239 (WTF::CCLayerTreeHostTest::doBeginTest):
2241 2012-02-23 James Robinson <jamesr@chromium.org>
2243 [chromium] Clean up GraphicsContext3D initialization paths
2244 https://bugs.webkit.org/show_bug.cgi?id=79321
2246 Reviewed by Kenneth Russell.
2248 This simplifies the GraphicsContext3D initialization paths down to two simple codepaths, one for offscreen
2249 contexts initialized from WebCore and one for onscreen (compositor) contexts initialized by WebViewImpl or
2250 WebLayerTreeViewImpl.
2252 Offscreen initialization path:
2253 1) WebCore code calls WebCore::GraphicsContext3D::create(), implemented in GraphicsContext3DChromium.cpp
2254 2) GraphicsContext3D::create() instantiates a WebGraphicsContext3D via the static WebKitPlatformSupport interface
2255 3) GraphicsContext3DPrivate::createGraphicsContextFromWebContext() wraps the WebGraphicsContext3D in a
2256 GraphicsContext3D's m_private pointer.
2258 Onscreen initialization path:
2259 1) WebViewImpl or WebLayerTreeViewImpl request an onscreen WebGraphicsContext3D from either their WebViewClient
2260 or WebLayerTreeViewClient, respectively
2261 2) GraphicsContext3DPrivate::createGraphicsContextFromWebContext() wraps the WebGraphicsContext3D in a
2262 GraphicsContext3D's m_private pointer.
2264 There are no other initialization paths. Specifically, we do not support instantiating onscreen contexts from
2267 * src/GraphicsContext3DChromium.cpp:
2268 (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
2269 (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
2271 (WebCore::GraphicsContext3DPrivate::platformTexture):
2272 (WebCore::GraphicsContext3D::create):
2273 * src/GraphicsContext3DPrivate.h:
2274 (GraphicsContext3DPrivate):
2275 * src/WebLayerTreeViewImpl.cpp:
2276 (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
2277 * src/WebViewImpl.cpp:
2278 (std::getCompositorContextAttributes):
2279 (WebKit::WebViewImpl::createCompositorGraphicsContext3D):
2281 (WebKit::WebViewImpl::createLayerTreeHostContext3D):
2282 (WebKit::WebViewImpl::graphicsContext3D):
2283 * src/WebViewImpl.h:
2285 * tests/CCLayerTreeHostImplTest.cpp:
2286 (WebKit::CCLayerTreeHostImplTest::createContext):
2287 (CCLayerTreeHostImplTest):
2289 * tests/CCLayerTreeHostTest.cpp:
2290 (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
2291 * tests/Canvas2DLayerChromiumTest.cpp:
2292 (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
2293 * tests/CompositorFakeGraphicsContext3D.h:
2294 (WebCore::createCompositorMockGraphicsContext3D):
2295 * tests/FakeGraphicsContext3DTest.cpp:
2298 2012-02-23 Jonathan Backer <backer@chromium.org>
2300 [chromium] Plumb video damage to the damage tracker.
2301 https://bugs.webkit.org/show_bug.cgi?id=79373
2303 Reviewed by James Robinson.
2305 * src/WebMediaPlayerClientImpl.cpp:
2306 (WebKit::WebMediaPlayerClientImpl::repaint):
2308 2012-02-21 James Robinson <jamesr@chromium.org>
2310 [chromium] Notify compositor of wheel event registration via ScrollingCoordinator
2311 https://bugs.webkit.org/show_bug.cgi?id=79133
2313 Reviewed by Dimitri Glazkov.
2315 Rips out old wheel event notification and adds unit tests for new LayerChromium property.
2317 * src/NonCompositedContentHost.cpp:
2318 (WebKit::NonCompositedContentHost::setViewport):
2319 * src/WebCompositorInputHandlerImpl.cpp:
2320 (WebKit::WebCompositorInputHandlerImpl::handleInputEvent):
2321 * src/WebViewImpl.cpp:
2322 (WebKit::WebViewImpl::numberOfWheelEventHandlersChanged):
2323 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2324 * src/WebViewImpl.h:
2325 * tests/CCLayerTreeHostImplTest.cpp:
2328 * tests/LayerChromiumTest.cpp:
2329 * tests/WebCompositorInputHandlerImplTest.cpp:
2331 2012-02-23 Adrienne Walker <enne@google.com>
2333 Unreviewed, rolling out r108666.
2334 http://trac.webkit.org/changeset/108666
2335 https://bugs.webkit.org/show_bug.cgi?id=79321
2337 Breaks webplugin tests: http://goo.gl/CoHIi
2339 * src/GraphicsContext3DChromium.cpp:
2340 (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
2342 (WebCore::GraphicsContext3DPrivate::create):
2343 (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
2344 (WebCore::GraphicsContext3DPrivate::createGraphicsContextForAnotherThread):
2345 (WebCore::GraphicsContext3DPrivate::platformTexture):
2346 (WebCore::GraphicsContext3D::create):
2347 * src/GraphicsContext3DPrivate.h:
2349 (GraphicsContext3DPrivate):
2350 * src/WebLayerTreeViewImpl.cpp:
2351 (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
2352 * src/WebViewImpl.cpp:
2353 (std::getCompositorContextAttributes):
2354 (WebKit::WebViewImpl::createLayerTreeHostContext3D):
2355 (WebKit::WebViewImpl::graphicsContext3D):
2356 * tests/CCLayerTreeHostImplTest.cpp:
2357 (CCLayerTreeHostImplTest):
2359 * tests/CCLayerTreeHostTest.cpp:
2360 (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
2361 * tests/Canvas2DLayerChromiumTest.cpp:
2362 (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
2363 * tests/CompositorFakeGraphicsContext3D.h:
2364 (WebCore::createCompositorMockGraphicsContext3D):
2365 * tests/FakeGraphicsContext3DTest.cpp:
2368 2012-02-23 Daniel Sievers <sievers@chromium.org>
2370 [Chromium] Add video stream texture support
2371 https://bugs.webkit.org/show_bug.cgi?id=78398
2373 This upstreams the abstraction used on Android for
2374 hardware video decoding with the compositor.
2376 Most of the interfaces are kept generic and the core
2377 of this change is to allow texturing from an external
2378 texture while receiving notifications (on the compositor
2379 thread if we are running it) when there are new frames to
2382 Reviewed by James Robinson.
2385 * public/WebMediaPlayer.h:
2387 (WebKit::WebMediaPlayer::setStreamTextureClient):
2389 * public/WebStreamTextureClient.h: Copied from Source/WebKit/chromium/public/WebVideoFrame.h.
2391 (WebStreamTextureClient):
2392 (WebKit::WebStreamTextureClient::~WebStreamTextureClient):
2393 * public/WebVideoFrame.h:
2394 * src/WebMediaPlayerClientImpl.cpp:
2395 (WebKit::WebMediaPlayerClientImpl::~WebMediaPlayerClientImpl):
2396 (WebKit::WebMediaPlayerClientImpl::setVideoFrameProviderClient):
2397 (WebKit::WebMediaPlayerClientImpl::didReceiveFrame):
2399 (WebKit::WebMediaPlayerClientImpl::didUpdateMatrix):
2400 * src/WebMediaPlayerClientImpl.h:
2401 (WebMediaPlayerClientImpl):
2403 2012-02-22 James Robinson <jamesr@chromium.org>
2405 [chromium] Clean up GraphicsContext3D initialization paths
2406 https://bugs.webkit.org/show_bug.cgi?id=79321
2408 Reviewed by Kenneth Russell.
2410 This simplifies the GraphicsContext3D initialization paths down to two simple codepaths, one for offscreen
2411 contexts initialized from WebCore and one for onscreen (compositor) contexts initialized by WebViewImpl or
2412 WebLayerTreeViewImpl.
2414 Offscreen initialization path:
2415 1) WebCore code calls WebCore::GraphicsContext3D::create(), implemented in GraphicsContext3DChromium.cpp
2416 2) GraphicsContext3D::create() instantiates a WebGraphicsContext3D via the static WebKitPlatformSupport interface
2417 3) GraphicsContext3DPrivate::createGraphicsContextFromWebContext() wraps the WebGraphicsContext3D in a
2418 GraphicsContext3D's m_private pointer.
2420 Onscreen initialization path:
2421 1) WebViewImpl or WebLayerTreeViewImpl request an onscreen WebGraphicsContext3D from either their WebViewClient
2422 or WebLayerTreeViewClient, respectively
2423 2) GraphicsContext3DPrivate::createGraphicsContextFromWebContext() wraps the WebGraphicsContext3D in a
2424 GraphicsContext3D's m_private pointer.
2426 There are no other initialization paths. Specifically, we do not support instantiating onscreen contexts from
2429 * src/GraphicsContext3DChromium.cpp:
2430 (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
2431 (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
2433 (WebCore::GraphicsContext3DPrivate::platformTexture):
2434 (WebCore::GraphicsContext3D::create):
2435 * src/GraphicsContext3DPrivate.h:
2436 (GraphicsContext3DPrivate):
2437 * src/WebLayerTreeViewImpl.cpp:
2438 (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
2439 * src/WebViewImpl.cpp:
2440 (std::getCompositorContextAttributes):
2441 (WebKit::WebViewImpl::createLayerTreeHostContext3D):
2442 (WebKit::WebViewImpl::graphicsContext3D):
2443 * tests/CCLayerTreeHostImplTest.cpp:
2444 (WebKit::CCLayerTreeHostImplTest::createContext):
2445 (CCLayerTreeHostImplTest):
2447 * tests/CCLayerTreeHostTest.cpp:
2448 (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
2449 * tests/Canvas2DLayerChromiumTest.cpp:
2450 (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
2451 * tests/CompositorFakeGraphicsContext3D.h:
2452 (WebCore::createCompositorMockGraphicsContext3D):
2453 * tests/FakeGraphicsContext3DTest.cpp:
2456 2012-02-23 Greg Billock <gbillock@google.com>
2458 Add UserGestureIndicator capability to Chromium API.
2459 https://bugs.webkit.org/show_bug.cgi?id=77690
2461 Reviewed by Darin Fisher.
2464 * public/WebScopedUserGesture.h: Added.
2465 * src/WebScopedUserGesture.cpp: Added.
2467 2012-02-23 Peter Beverloo <peter@chromium.org>
2469 Unreviewed, rolling out r108627 and r108630.
2470 https://bugs.webkit.org/show_bug.cgi?id=79367
2472 ffmpeg is creating issues and was just reverted upstream as well.
2476 2012-02-23 Peter Beverloo <peter@chromium.org>
2478 Unreviewed build fix. Remove the ffmpeg binary directory from the
2479 Chromium-Windows DEPS file, following the commit done in the
2480 Chromium repository:
2481 http://src.chromium.org/viewvc/chrome?view=rev&revision=123123
2485 2012-02-23 Peter Beverloo <peter@chromium.org>
2487 Unreviewed. Rolled DEPS.
2491 2012-02-22 Hajime Morrita <morrita@chromium.org>
2493 NOTIFICATIONS should be implemented as PageSupplement
2494 https://bugs.webkit.org/show_bug.cgi?id=79052
2496 Reviewed by Adam Barth.
2498 * src/WebViewImpl.cpp:
2499 (WebKit::WebViewImpl::WebViewImpl):
2501 2012-02-22 Dana Jansens <danakj@chromium.org>
2503 [chromium] Add unit test for surface occlusion
2504 https://bugs.webkit.org/show_bug.cgi?id=79302
2506 Reviewed by James Robinson.
2508 * tests/CCOcclusionTrackerTest.cpp:
2512 2012-02-22 James Robinson <jamesr@chromium.org>
2514 Remove GraphicsContext3D::paintsIntoCanvasBuffer and unify WebGL and canvas 2d logic
2515 https://bugs.webkit.org/show_bug.cgi?id=79317
2517 Reviewed by Kenneth Russell.
2519 Remove paintsIntoCanvasBuffer() implementations.
2521 * src/GraphicsContext3DChromium.cpp:
2523 * src/GraphicsContext3DPrivate.h:
2525 2012-02-22 Yuta Kitamura <yutak@chromium.org>
2527 Unreviewed, rolling out r108590.
2528 http://trac.webkit.org/changeset/108590
2530 I mistakenly disabled tests even though the fix was already
2533 * tests/CCOcclusionTrackerTest.cpp:
2536 2012-02-22 Yuta Kitamura <yutak@chromium.org>
2538 [Chromium] Unreviewed. Disable two tests from CCOcclusionTrackerTest
2539 which cause assertion failures.
2541 * tests/CCOcclusionTrackerTest.cpp:
2545 2012-02-22 Dana Jansens <danakj@chromium.org>
2547 [chromium] Fix CCOcclusionTracker unit test assertion
2548 https://bugs.webkit.org/show_bug.cgi?id=79275
2550 Reviewed by James Robinson.
2552 * tests/CCOcclusionTrackerTest.cpp:
2555 2012-02-22 Ian Vollick <vollick@chromium.org>
2557 [chromium] Plumb from GraphicsLayer to the cc thread animation code
2558 https://bugs.webkit.org/show_bug.cgi?id=75874
2560 Reviewed by James Robinson.
2563 * public/WebSettings.h:
2564 * public/platform/WebLayerTreeView.h:
2565 (WebKit::WebLayerTreeView::Settings::Settings):
2567 * src/WebLayerTreeView.cpp:
2568 (WebKit::WebLayerTreeView::Settings::operator CCSettings):
2569 * src/WebSettingsImpl.cpp:
2570 (WebKit::WebSettingsImpl::setThreadedAnimationEnabled):
2572 * src/WebSettingsImpl.h:
2574 * src/WebViewImpl.cpp:
2575 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2576 * tests/CCActiveAnimationTest.cpp:
2577 (WebCore::createActiveAnimation):
2578 * tests/CCAnimationTestCommon.cpp: Added.
2580 (WebKitTests::FakeFloatAnimationCurve::FakeFloatAnimationCurve):
2581 (WebKitTests::FakeFloatAnimationCurve::~FakeFloatAnimationCurve):
2582 (WebKitTests::FakeFloatAnimationCurve::clone):
2583 (WebKitTests::FakeTransformTransition::FakeTransformTransition):
2584 (WebKitTests::FakeTransformTransition::~FakeTransformTransition):
2585 (WebKitTests::FakeTransformTransition::getValue):
2586 (WebKitTests::FakeTransformTransition::clone):
2587 (WebKitTests::FakeFloatTransition::FakeFloatTransition):
2588 (WebKitTests::FakeFloatTransition::~FakeFloatTransition):
2589 (WebKitTests::FakeFloatTransition::getValue):
2590 (WebKitTests::FakeLayerAnimationControllerImplClient::FakeLayerAnimationControllerImplClient):
2591 (WebKitTests::FakeLayerAnimationControllerImplClient::~FakeLayerAnimationControllerImplClient):
2592 (WebKitTests::FakeFloatTransition::clone):
2593 (WebKitTests::addOpacityTransition):
2594 * tests/CCAnimationTestCommon.h: Added.
2597 (FakeFloatAnimationCurve):
2598 (WebKitTests::FakeFloatAnimationCurve::duration):
2599 (WebKitTests::FakeFloatAnimationCurve::getValue):
2600 (FakeTransformTransition):
2601 (WebKitTests::FakeTransformTransition::duration):
2602 (FakeFloatTransition):
2603 (WebKitTests::FakeFloatTransition::duration):
2604 (FakeLayerAnimationControllerImplClient):
2605 (WebKitTests::FakeLayerAnimationControllerImplClient::id):
2606 (WebKitTests::FakeLayerAnimationControllerImplClient::opacity):
2607 (WebKitTests::FakeLayerAnimationControllerImplClient::setOpacity):
2608 (WebKitTests::FakeLayerAnimationControllerImplClient::transform):
2609 (WebKitTests::FakeLayerAnimationControllerImplClient::setTransform):
2610 (WebKitTests::FakeLayerAnimationControllerImplClient::bounds):
2611 * tests/CCLayerAnimationControllerImplTest.cpp:
2612 (WebKitTests::createActiveAnimation):
2613 (WebKitTests::TEST):
2614 * tests/CCLayerAnimationControllerTest.cpp: Added.
2616 (WebKitTests::createActiveAnimation):
2617 (WebKitTests::TEST):
2618 * tests/CCLayerTreeHostImplTest.cpp:
2619 (WebKit::CCLayerTreeHostImplTest::postAnimationEventsToMainThreadOnImplThread):
2620 * tests/CCLayerTreeHostTest.cpp:
2621 (WTF::TestHooks::animateLayers):
2622 (MockLayerTreeHostImpl):
2623 (WTF::MockLayerTreeHostImpl::animateLayers):
2624 (WTF::MockLayerTreeHost::create):
2625 (WTF::MockLayerTreeHost::createLayerTreeHostImpl):
2627 (MockLayerAnimationController):
2628 (WTF::MockLayerAnimationController::create):
2629 (WTF::MockLayerAnimationController::addAnimation):
2630 (WTF::MockLayerTreeHostClient::scheduleComposite):
2631 (WTF::CCLayerTreeHostTest::postAddAnimationToMainThread):
2632 (CCLayerTreeHostTest):
2633 (WTF::CCLayerTreeHostTest::dispatchAddAnimation):
2634 (WTF::CCLayerTreeHostTest::doBeginTest):
2635 (CCLayerTreeHostTestAddAnimation):
2636 (WTF::CCLayerTreeHostTestAddAnimation::CCLayerTreeHostTestAddAnimation):
2637 (WTF::CCLayerTreeHostTestAddAnimation::beginTest):
2638 (WTF::CCLayerTreeHostTestAddAnimation::animateLayers):
2639 (WTF::CCLayerTreeHostTestAddAnimation::afterTest):
2641 * tests/TreeSynchronizerTest.cpp:
2642 (FakeLayerAnimationController):
2643 (WebKitTests::FakeLayerAnimationController::create):
2644 (WebKitTests::FakeLayerAnimationController::synchronizedAnimations):
2645 (WebKitTests::FakeLayerAnimationController::FakeLayerAnimationController):
2646 (WebKitTests::FakeLayerAnimationController::synchronizeAnimations):
2648 (WebKitTests::TEST):
2650 2012-02-21 Ryosuke Niwa <rniwa@webkit.org>
2652 Remove the remaining uses of CSSStyleDeclaration in Editor
2653 https://bugs.webkit.org/show_bug.cgi?id=78939
2655 Reviewed by Enrica Casucci.
2657 * src/EditorClientImpl.cpp:
2658 (WebKit::EditorClientImpl::shouldApplyStyle):
2659 * src/EditorClientImpl.h:
2662 2012-02-22 Daniel Cheng <dcheng@chromium.org>
2664 [chromium] Cleanup unused WebDragData methods after r107846
2665 https://bugs.webkit.org/show_bug.cgi?id=78837
2667 Reviewed by Tony Chang.
2669 The deleted methods have been replaced by items() and setItems().
2671 * public/platform/WebDragData.h:
2673 * src/WebDragData.cpp:
2674 (WebKit::WebDragData::addItem): Add ensureMutable() call to verify preconditions for
2675 mutating the item store.
2677 2012-02-22 Tim Dresser <tdresser@chromium.org>
2679 CCLayerTreeHostImpl calls didDraw more frequently than willDraw
2680 https://bugs.webkit.org/show_bug.cgi?id=79139
2682 Reviewed by James Robinson.
2684 * tests/CCLayerTreeHostImplTest.cpp:
2685 (WebKit::DidDrawCheckLayer::willDraw):
2686 (DidDrawCheckLayer):
2687 (WebKit::DidDrawCheckLayer::willDrawCalled):
2688 (WebKit::DidDrawCheckLayer::DidDrawCheckLayer):
2692 2012-02-22 Dana Jansens <danakj@chromium.org>
2694 [Chromium] New CCOcclusionTracker class with tests
2695 https://bugs.webkit.org/show_bug.cgi?id=78549
2697 Reviewed by James Robinson.
2700 * tests/CCLayerTreeHostCommonTest.cpp:
2702 * tests/CCOcclusionTrackerTest.cpp: Added.
2704 (WebCore::setLayerPropertiesForTesting):
2705 (LayerChromiumWithForcedDrawsContent):
2706 (WebCore::LayerChromiumWithForcedDrawsContent::LayerChromiumWithForcedDrawsContent):
2707 (WebCore::LayerChromiumWithForcedDrawsContent::drawsContent):
2708 (TestCCOcclusionTracker):
2709 (WebCore::TestCCOcclusionTracker::occlusionInScreenSpace):
2710 (WebCore::TestCCOcclusionTracker::occlusionInTargetSurface):
2711 (WebCore::TestCCOcclusionTracker::setOcclusionInScreenSpace):
2712 (WebCore::TestCCOcclusionTracker::setOcclusionInTargetSurface):
2715 2012-02-22 Hao Zheng <zhenghao@chromium.org>
2717 [chromium] Build WebKit with MEDIA_STREAM disabled.
2718 https://bugs.webkit.org/show_bug.cgi?id=79214
2720 Reviewed by Kent Tamura.
2722 * src/UserMediaClientImpl.h:
2724 2012-02-20 Roland Steiner <rolandsteiner@chromium.org>
2726 <style scoped>: Add runtime-flag
2727 https://bugs.webkit.org/show_bug.cgi?id=79074
2729 Added a runtime-flag.
2730 Enable default STYLE_SCOPED compile-time flag for Chromium.
2732 Reviewed by Dimitri Glazkov.
2734 * features.gypi: enable STYLE_SCOPED
2735 * public/WebRuntimeFeatures.h:
2736 (WebRuntimeFeatures):
2737 * src/WebRuntimeFeatures.cpp:
2738 (WebKit::WebRuntimeFeatures::enableStyleScoped):
2740 (WebKit::WebRuntimeFeatures::isStyleScopedEnabled):
2742 2012-02-22 Yuta Kitamura <yutak@chromium.org>
2744 Unreviewed, rolling out r108453.
2745 http://trac.webkit.org/changeset/108453
2746 https://bugs.webkit.org/show_bug.cgi?id=78549
2748 Broke Chromium's webkit_unit_tests.
2751 * tests/CCLayerTreeHostCommonTest.cpp:
2754 * tests/CCOcclusionTrackerTest.cpp: Removed.
2756 2012-02-22 Ryosuke Niwa <rniwa@webkit.org>
2758 Remove the remaining uses of CSSStyleDeclaration in Editor
2759 https://bugs.webkit.org/show_bug.cgi?id=78939
2761 Reviewed by Enrica Casucci.
2763 * src/EditorClientImpl.cpp:
2764 (WebKit::EditorClientImpl::shouldApplyStyle):
2765 * src/EditorClientImpl.h:
2768 2012-02-22 Dana Jansens <danakj@chromium.org>
2770 [chromium] Cull quads outside of the scissoring damage rect
2771 https://bugs.webkit.org/show_bug.cgi?id=79181
2773 Reviewed by James Robinson.
2775 * tests/CCQuadCullerTest.cpp:
2779 2012-02-21 Dana Jansens <danakj@chromium.org>
2781 [Chromium] New CCOcclusionTracker class with tests
2782 https://bugs.webkit.org/show_bug.cgi?id=78549
2784 Reviewed by James Robinson.
2787 * tests/CCLayerTreeHostCommonTest.cpp:
2789 * tests/CCOcclusionTrackerTest.cpp: Added.
2791 (WebCore::setLayerPropertiesForTesting):
2792 (LayerChromiumWithForcedDrawsContent):
2793 (WebCore::LayerChromiumWithForcedDrawsContent::LayerChromiumWithForcedDrawsContent):
2794 (WebCore::LayerChromiumWithForcedDrawsContent::drawsContent):
2795 (TestCCOcclusionTracker):
2796 (WebCore::TestCCOcclusionTracker::occlusionInScreenSpace):
2797 (WebCore::TestCCOcclusionTracker::occlusionInTargetSurface):
2798 (WebCore::TestCCOcclusionTracker::setOcclusionInScreenSpace):
2799 (WebCore::TestCCOcclusionTracker::setOcclusionInTargetSurface):
2802 2012-02-21 MORITA Hajime <morrita@google.com>
2804 INPUT_SPEECH should be implemented as a PageSupplement.
2805 https://bugs.webkit.org/show_bug.cgi?id=79051
2807 Reviewed by Adam Barth.
2809 * src/WebViewImpl.cpp:
2810 (WebKit::WebViewImpl::WebViewImpl):
2812 2012-02-20 MORITA Hajime <morrita@google.com>
2814 MEDIA_STREAM should be implemented as a PageSupplement.
2815 https://bugs.webkit.org/show_bug.cgi?id=79050
2817 Reviewed by Adam Barth.
2819 * src/WebViewImpl.cpp:
2820 (WebKit::WebViewImpl::WebViewImpl):
2822 2012-02-21 Dana Jansens <danakj@chromium.org>
2824 [chromium] Painting a layer clears opaque rect in untouched tiles
2825 https://bugs.webkit.org/show_bug.cgi?id=79157
2827 Reviewed by James Robinson.
2829 * tests/TiledLayerChromiumTest.cpp:
2832 2012-02-21 James Robinson <jamesr@chromium.org>
2834 Enable ScrollingCoordinator in chromium whenever compositing is enabled
2835 https://bugs.webkit.org/show_bug.cgi?id=79165
2837 Reviewed by Adam Barth.
2839 * src/NonCompositedContentHost.cpp:
2840 (WebKit::NonCompositedContentHost::setViewport):
2841 Whenever the ScrollingCoordinator is enabled the scroll layer's position is expected to be updated
2842 externally to RenderLayerCompositor, so set it here.
2843 * src/WebSettingsImpl.cpp:
2844 (WebKit::WebSettingsImpl::setAcceleratedCompositingEnabled):
2846 2012-02-21 Daniel Cheng <dcheng@chromium.org>
2848 [chromium] Fix image drag out on Chromium
2849 https://bugs.webkit.org/show_bug.cgi?id=79158
2851 Reviewed by Tony Chang.
2853 We constructed the WebDragData::Item for dragging out an image but never added it to the
2854 item list. This is normally covered by the fast/events/drag-image-filename.html layout test,
2855 but the bug wasn't caught in the original patch since the implementations in Chrome and DRT
2858 * src/WebDragData.cpp:
2859 (WebKit::WebDragData::items):
2861 2012-02-21 David Grogan <dgrogan@chromium.org>
2863 IndexedDB: webFrame isn't threadsafe, don't use it from a worker thread
2864 https://bugs.webkit.org/show_bug.cgi?id=78659
2866 After crrev.com/121669, indexed db doesn't use the web frame for
2867 anything if called from a web worker.
2869 No new tests - this check was defensive and possibly not ever
2872 Reviewed by Tony Chang.
2874 * src/IDBFactoryBackendProxy.cpp:
2875 (WebKit::IDBFactoryBackendProxy::openFromWorker):
2877 2012-02-21 Yury Semikhatsky <yurys@chromium.org>
2879 [V8] Web Inspector: set breakpoint/pause doesn't work when worker is in a tight loop
2880 https://bugs.webkit.org/show_bug.cgi?id=79097
2882 Worker script execution will be interrupted for dispatching inspector commands.
2884 Reviewed by Pavel Feldman.
2886 * src/WebSharedWorkerImpl.cpp:
2887 (WebKit::WebSharedWorkerImpl::dispatchDevToolsMessage):
2889 2012-02-20 Peter Beverloo <peter@chromium.org>
2891 Unreviewed. Rolled DEPS.
2895 2012-02-20 Kenichi Ishibashi <bashi@chromium.org>
2897 [WebSocket] Add deflater/inflater classes
2898 https://bugs.webkit.org/show_bug.cgi?id=78449
2900 Add tests which ensure WebSocketDeflater/WebSocketInflater can
2901 compress/decompress data correctly.
2903 Reviewed by Kent Tamura.
2905 * WebKit.gypi: Added zlib dependency.
2906 * WebKitUnitTests.gyp: Ditto.
2907 * tests/WebSocketDeflaterTest.cpp: Added.
2911 2012-02-17 Yury Semikhatsky <yurys@chromium.org>
2913 [Chromium] Web Inspector: terminated workers are not removed from dedicated worker list
2914 https://bugs.webkit.org/show_bug.cgi?id=78899
2916 Pass original WorkerContextProxy object to the inspector instrumentation instead
2917 of Chromium-specific one for consistency with WorkerMessagingProxy implementation
2920 Reviewed by Pavel Feldman.
2922 * src/WebWorkerClientImpl.cpp:
2923 (WebKit::WebWorkerClientImpl::startWorkerContext):
2925 2012-02-18 raman Tenneti <rtenneti@chromium.org>
2927 Track the NPN protocol version negotiated with the server
2928 https://bugs.webkit.org/show_bug.cgi?id=77349
2930 Reviewed by Darin Fisher.
2932 [chromium] Added ExtraData to WebURLResponse.
2935 * public/platform/WebURLResponse.h:
2937 (WebKit::WebURLResponse::ExtraData::~ExtraData):
2939 * src/WebURLResponse.cpp:
2940 (WebKit::WebURLResponse::extraData):
2942 (WebKit::WebURLResponse::setExtraData):
2943 * tests/WebURLResponseTest.cpp: Added.
2946 (WebKit::TestExtraData::TestExtraData):
2947 (WebKit::TestExtraData::~TestExtraData):
2950 2012-02-17 Joshua Bell <jsbell@chromium.org>
2952 IndexedDB: Support overloaded methods that take IDBKey or IDBKeyRange
2953 https://bugs.webkit.org/show_bug.cgi?id=78399
2955 Implements the WebKit API for IDBObjectStore.delete(IDBKeyRange),
2956 to exercise the overload capability.
2958 Reviewed by Tony Chang.
2960 * src/IDBObjectStoreBackendProxy.cpp:
2961 (WebKit::IDBObjectStoreBackendProxy::deleteFunction):
2963 * src/IDBObjectStoreBackendProxy.h:
2964 (IDBObjectStoreBackendProxy):
2965 * src/WebIDBObjectStoreImpl.cpp:
2966 (WebKit::WebIDBObjectStoreImpl::deleteFunction):
2968 * src/WebIDBObjectStoreImpl.h:
2969 (WebIDBObjectStoreImpl):
2971 2012-02-17 Michal Mocny <mmocny@google.com>
2973 [chromium] GL_CHROMIUM_gpu_memory_manager extension
2974 https://bugs.webkit.org/show_bug.cgi?id=77155
2976 Reviewed by James Robinson.
2978 * public/platform/WebGraphicsContext3D.h:
2979 (WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
2980 (WebKit::WebGraphicsContext3D::WebGraphicsMemoryAllocationChangedCallbackCHROMIUM::~WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
2981 (WebGraphicsContext3D):
2982 (WebKit::WebGraphicsContext3D::setMemoryAllocationChangedCallbackCHROMIUM):
2983 * src/Extensions3DChromium.cpp:
2984 (WebCore::Extensions3DChromium::setGpuMemoryAllocationChangedCallbackCHROMIUM):
2986 * src/GraphicsContext3DChromium.cpp:
2987 (WebCore::GraphicsContext3D::~GraphicsContext3D):
2988 (GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
2989 (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
2990 (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::~GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
2991 (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::onMemoryAllocationChanged):
2993 (WebCore::GraphicsContext3DPrivate::setGpuMemoryAllocationChangedCallbackCHROMIUM):
2994 * src/GraphicsContext3DPrivate.h:
2996 * tests/FakeWebGraphicsContext3D.h:
2997 (WebKit::FakeWebGraphicsContext3D::setMemoryAllocationChangedCallbackCHROMIUM):
2998 (FakeWebGraphicsContext3D):
3000 2012-02-17 Mihnea Ovidenie <mihnea@adobe.com>
3002 CSS regions enabled by default
3003 https://bugs.webkit.org/show_bug.cgi?id=78525
3005 Reviewed by David Hyatt.
3007 Add a runtime preference to enable/disable regions functionality at runtime(WebKitCSSRegionsEnabled).
3008 CSSRegions are still enabled by default.
3009 In DRT, use layoutTestController.overridePreference("WebKitCSSRegionsEnabled", "0") to disable the css regions functionality.
3011 * public/WebSettings.h:
3012 * src/WebSettingsImpl.cpp:
3013 (WebKit::WebSettingsImpl::setExperimentalCSSRegionsEnabled):
3015 * src/WebSettingsImpl.h:
3018 2012-02-17 Scott Graham <scottmg@chromium.org>
3020 [Chromium] pack Gamepad shared memory structure
3021 https://bugs.webkit.org/show_bug.cgi?id=78022
3023 Reviewed by Darin Fisher.
3025 Add #pragma pack around definition of shared memory structures to
3026 avoid differences across compilers and platforms. Add COMPILE_ASSERT
3027 to verify expected size.
3029 * public/platform/WebGamepad.h:
3031 * public/platform/WebGamepads.h:
3034 2012-02-17 Tim Dresser <tdresser@chromium.org>
3036 [chromium] Refactor video drawing to be more data driven
3037 https://bugs.webkit.org/show_bug.cgi?id=76720
3039 Reviewed by James Robinson.
3041 CCLayerTreeHostImplTest.didDrawCalledOnAllLayers ensures that
3042 CCLayerImpl::didDraw() is called on all layers, including layers
3043 on different render surfaces.
3045 * tests/CCLayerTreeHostImplTest.cpp:
3046 (DidDrawCheckLayer):
3047 (WebKit::DidDrawCheckLayer::create):
3048 (WebKit::DidDrawCheckLayer::didDraw):
3049 (WebKit::DidDrawCheckLayer::didDrawCalled):
3050 (WebKit::DidDrawCheckLayer::DidDrawCheckLayer):
3054 2012-02-17 Ilya Tikhonovsky <loislo@chromium.org>
3056 Unreviewed, rolling out r108071.
3057 http://trac.webkit.org/changeset/108071
3058 https://bugs.webkit.org/show_bug.cgi?id=77155
3060 chromium-mac compilation failed
3062 * public/platform/WebGraphicsContext3D.h:
3063 (WebGraphicsContext3D):
3064 * src/Extensions3DChromium.cpp:
3065 * src/GraphicsContext3DChromium.cpp:
3066 (WebCore::GraphicsContext3D::~GraphicsContext3D):
3067 * src/GraphicsContext3DPrivate.h:
3069 * tests/FakeWebGraphicsContext3D.h:
3071 2012-02-17 Michal Mocny <mmocny@google.com>
3073 [chromium] GL_CHROMIUM_gpu_memory_manager extension
3074 https://bugs.webkit.org/show_bug.cgi?id=77155
3076 Reviewed by James Robinson.
3078 * public/platform/WebGraphicsContext3D.h:
3079 (WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
3080 (WebKit::WebGraphicsContext3D::WebGraphicsMemoryAllocationChangedCallbackCHROMIUM::~WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
3081 (WebGraphicsContext3D):
3082 (WebKit::WebGraphicsContext3D::setMemoryAllocationChangedCallbackCHROMIUM):
3083 * src/Extensions3DChromium.cpp:
3084 (WebCore::Extensions3DChromium::setGpuMemoryAllocationChangedCallbackCHROMIUM):
3086 * src/GraphicsContext3DChromium.cpp:
3087 (WebCore::GraphicsContext3D::~GraphicsContext3D):
3088 (GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
3089 (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
3090 (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::~GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
3091 (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::onMemoryAllocationChanged):
3093 (WebCore::GraphicsContext3DPrivate::setGpuMemoryAllocationChangedCallbackCHROMIUM):
3094 * src/GraphicsContext3DPrivate.h:
3096 * tests/FakeWebGraphicsContext3D.h:
3097 (WebKit::FakeWebGraphicsContext3D::setMemoryAllocationChangedCallbackCHROMIUM):
3098 (FakeWebGraphicsContext3D):
3100 2012-02-17 Ilya Tikhonovsky <loislo@chromium.org>
3102 Unreviewed. Chromium DEPS roll
3104 * DEPS: from 122122 to 122498
3106 2012-02-16 Alexandre Elias <aelias@google.com>
3108 [chromium] Bundle page scale factor and limits in CCLayerTreeHost
3109 https://bugs.webkit.org/show_bug.cgi?id=78762
3111 Setting page scale factor and its limits in separate methods
3112 may cause clamping bugs if one of them makes it to the
3113 impl thread before the other. Change the API to bundle them together,
3114 which matches the existing impl-side interface.
3116 Reviewed by James Robinson.
3118 * src/WebViewImpl.cpp:
3119 (WebKit::WebViewImpl::computePageScaleFactorLimits):
3120 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3121 (WebKit::WebViewImpl::updateLayerTreeViewport):
3122 * tests/CCLayerTreeHostTest.cpp:
3123 (WTF::CCLayerTreeHostTestStartPageScaleAnimation::applyScrollAndScale):
3125 2012-02-16 Varun Jain <varunjain@google.com>
3127 [Chromium] Add method to WebViewImpl to extract zoom/scroll params for gesture events on touch devices
3128 https://bugs.webkit.org/show_bug.cgi?id=72909
3130 Reviewed by James Robinson.
3132 * src/WebViewImpl.cpp:
3135 (WebKit::WebViewImpl::computeBlockBounds):
3136 (WebKit::WebViewImpl::widenRectWithinPageBounds):
3137 (WebKit::WebViewImpl::computeScaleAndScrollForHitRect):
3138 * src/WebViewImpl.h:
3140 * tests/WebFrameTest.cpp:
3143 * tests/data/get_scale_for_auto_zoom_into_div_test.html: Added.
3145 2012-02-16 Sami Kyostila <skyostil@chromium.org>
3147 [chromium] LayerChromium::setNeedsDisplay does not apply contents scale correctly
3148 https://bugs.webkit.org/show_bug.cgi?id=77464
3150 Added a new unit test for TiledLayerChromium to verify its invalidation behavior when
3151 the contents scale changes. Also enhance and existing unit test for LayerChromium to
3152 verify the paint rectangle dimensions instead just checking that it is not empty.
3154 Reviewed by James Robinson.
3156 * tests/LayerChromiumTest.cpp:
3157 * tests/TiledLayerChromiumTest.cpp:
3158 (WTF::FakeTiledLayerChromium::setNeedsDisplayRect):
3159 (FakeTiledLayerChromium):
3160 (WTF::FakeTiledLayerChromium::lastNeedsDisplayRect):
3164 2012-02-16 MORITA Hajime <morrita@google.com>
3166 https://bugs.webkit.org/show_bug.cgi?id=78065
3167 [Chromium] Should eliminate WebTextCheckingResult legacy APIs
3169 Reviewed by Kent Tamura.
3171 Removed unused legacy members.
3173 * public/WebTextCheckingResult.h:
3174 (WebKit::WebTextCheckingResult::WebTextCheckingResult):
3175 (WebTextCheckingResult):
3176 * src/AssertMatchingEnums.cpp:
3178 2012-02-16 Evan Martin <evan@chromium.org>
3180 [chromium] pull third_party/gold to fix linux build
3181 https://bugs.webkit.org/show_bug.cgi?id=78842
3183 Reviewed by Tony Chang.
3185 The Chrome build now depends on third_party/gold also being checked out.
3189 2012-02-15 Michael Nordman <michaeln@google.com>
3191 Fix bugs in the implementation of WebDatabase::closeDatabaseImmediately.
3192 https://bugs.webkit.org/show_bug.cgi?id=78841
3194 WebDatabase now delegates this function entirely to DatabaseTracker.
3195 This is part of resolving http://crbug.com/98939
3197 Reviewed by David Levin.
3199 * src/WebDatabase.cpp:
3200 (WebKit::WebDatabase::closeDatabaseImmediately):
3202 2012-02-16 Dana Jansens <danakj@chromium.org>
3204 [Chromium] Occlusion tracking with CSS filters
3205 https://bugs.webkit.org/show_bug.cgi?id=77498
3207 Reviewed by James Robinson.
3209 * tests/CCLayerTreeHostTest.cpp:
3210 (CCLayerTreeHostTestLayerOcclusionWithFilters):
3211 (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::CCLayerTreeHostTestLayerOcclusionWithFilters):
3212 (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::beginTest):
3213 (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::afterTest):
3216 2012-02-16 Joshua Bell <jsbell@chromium.org>
3218 IndexedDB: Chromium WebKit API support for IDBObjectStore.delete(IDBKeyRange)
3219 https://bugs.webkit.org/show_bug.cgi?id=78619
3221 Add an overload to WebIDBObjectStore::deleteFunction(). First part of a two-sided patch.
3223 Reviewed by Darin Fisher.
3225 * public/WebIDBObjectStore.h:
3226 (WebKit::WebIDBObjectStore::deleteFunction):
3228 2012-02-16 Dana Jansens <danakj@chromium.org>
3230 [chromium] Clipping/Transforms applied in wrong order in opaque paint tracking
3231 https://bugs.webkit.org/show_bug.cgi?id=78775
3233 Reviewed by Stephen White.
3235 * tests/PlatformContextSkiaTest.cpp:
3238 2012-02-16 Daniel Cheng <dcheng@chromium.org>
3240 [chromium] Add WEBKIT_EXPORT to new WebDragData methods.
3241 https://bugs.webkit.org/show_bug.cgi?id=78843
3243 Reviewed by Tony Chang.
3245 * public/platform/WebDragData.h:
3248 2012-02-16 Viet-Trung Luu <viettrungluu@chromium.org>
3250 [chromium] Add method to WebPluginContainer to check if a rectangle is topmost
3251 https://bugs.webkit.org/show_bug.cgi?id=78166
3253 Reviewed by Darin Fisher.
3255 * public/WebPluginContainer.h:
3256 (WebPluginContainer):
3257 * src/WebPluginContainerImpl.cpp:
3258 * src/WebPluginContainerImpl.h:
3259 (WebPluginContainerImpl):
3261 2012-02-16 Yosifumi Inoue <yosin@chromium.org>
3263 Build Fix: R107894 breaks Chromium Linux Build.
3264 https://bugs.webkit.org/show_bug.cgi?id=78790
3266 WebDragDataPrivate::types, inherited from ChromiumDataObject, returns PassRef<DOMStringList> since r107894. However, WebDragData expected to get old return value type HashSet<String>.
3268 Reviewed by Kent Tamura.
3270 * src/WebDragData.cpp:
3271 (WebKit::WebDragData::items): Use RefPtr<DOMStringList> rather than HashSet<String> for value of m_private->types().
3273 2012-02-15 Sami Kyostila <skyostil@google.com>
3275 Enable -webkit-overflow-scrolling CSS property
3276 https://bugs.webkit.org/show_bug.cgi?id=78664
3278 Reviewed by Eric Seidel.
3282 2012-02-15 Tommy Widenflycht <tommyw@google.com>
3284 MediaStream API: Removing SecurityContext from the embedder API
3285 https://bugs.webkit.org/show_bug.cgi?id=73816
3287 Reviewed by Darin Fisher.
3289 * bridge/PeerConnectionHandler.cpp:
3290 (WebCore::PeerConnectionHandler::create):
3291 (WebCore::PeerConnectionHandler::PeerConnectionHandler):
3292 * bridge/PeerConnectionHandlerInternal.cpp:
3293 (WebCore::PeerConnectionHandlerInternal::PeerConnectionHandlerInternal):
3294 * bridge/PeerConnectionHandlerInternal.h:
3296 (PeerConnectionHandlerInternal):
3297 * public/platform/WebPeerConnectionHandler.h:
3298 (WebPeerConnectionHandler):
3299 (WebKit::WebPeerConnectionHandler::initialize):
3301 2012-02-15 Peter Beverloo <peter@chromium.org>
3303 [Chromium] Roll DEPS to r122122
3304 https://bugs.webkit.org/show_bug.cgi?id=78754
3306 Unreviewed DEPS roll.
3310 2012-02-01 Daniel Cheng <dcheng@chromium.org>
3312 [chromium] Add setter/getter to expose drag data as a list of items
3313 https://bugs.webkit.org/show_bug.cgi?id=77125
3315 This change supports the unification of the data store backing ChromiumDataObject and
3316 DataTransferItemListChromium. ChromiumDataObject will represent dragging and clipboard data
3317 as a list of data nodes to make it more straightforward to implement the HTML spec for
3318 DataTransferItemList. Thus, we extend the abstraction to the webkit glue layer to
3319 simplify the serialization/deserialization between platform-specific data and WebDragData.
3320 The other setter/getter methods are deprecated and will be removed once the dependencies in
3321 Chromium code are gone.
3323 Reviewed by Darin Fisher.
3325 * public/platform/WebDragData.h:
3328 * src/WebDragData.cpp:
3329 (WebKit::WebDragData::items):
3331 (WebKit::WebDragData::setItems):
3332 (WebKit::WebDragData::addItem):
3334 2012-02-15 Sadrul Habib Chowdhury <sadrul@chromium.org>
3336 Notify ChromeClient when touch-event handlers are installed/removed.
3337 https://bugs.webkit.org/show_bug.cgi?id=77440
3339 Reviewed by Darin Fisher and Ryosuke Niwa.
3341 * public/WebViewClient.h:
3342 (WebKit::WebViewClient::numberOfTouchEventHandlersChanged):
3343 * src/ChromeClientImpl.cpp:
3344 (WebKit::ChromeClientImpl::numTouchEventHandlersChanged):
3346 * src/ChromeClientImpl.h:
3348 * src/WebViewImpl.cpp:
3349 (WebKit::WebViewImpl::numberOfTouchEventHandlersChanged):
3351 * src/WebViewImpl.h:
3354 2012-02-15 Anders Carlsson <andersca@apple.com>
3356 Remove ScrollableArea::handleGestureEvent
3357 https://bugs.webkit.org/show_bug.cgi?id=78661
3359 Reviewed by Adam Roben.
3361 Update for WebCore changes.
3363 * src/WebPluginContainerImpl.cpp:
3364 * src/WebPluginContainerImpl.h:
3365 (WebPluginContainerImpl):
3366 * src/WebViewImpl.cpp:
3367 (WebKit::WebViewImpl::gestureEvent):
3369 2012-02-14 Takashi Toyoshima <toyoshim@chromium.org>
3371 Provide SocketStreamHandleInternal::toWebSocketStreamHandle(SocketStreamHandle*).
3372 https://bugs.webkit.org/show_bug.cgi?id=78581
3374 Reviewed by Kent Tamura.
3376 Now, there is no way to convert SocketStreamHandle to
3377 WebSocketStreamHandle. In subsequent changes, I'll use this function
3378 in FrameLoaderClientImpl.
3380 * src/SocketStreamHandle.cpp: Remove SocketStreamHandleInternal class declaration.
3381 * src/SocketStreamHandleInternal.h: Move SocketStreamHandleInternal class declaration from SocketStreamHandle.cpp to expose, and add conversion function to WebSocketStreamHandle from SocketStreamHandle.
3384 (SocketStreamHandleInternal):
3385 (WebCore::SocketStreamHandleInternal::create):
3386 (WebCore::SocketStreamHandleInternal::toWebSocketStreamHandle):
3387 * WebKit.gyp: Add SocketStreamHandleInternal.h entry.
3389 2012-02-14 Sheriff Bot <webkit.review.bot@gmail.com>
3391 Unreviewed, rolling out r107766.
3392 http://trac.webkit.org/changeset/107766
3393 https://bugs.webkit.org/show_bug.cgi?id=78665
3395 Breaks Chromium Win build (Requested by bashi1 on #webkit).
3398 * tests/WebSocketDeflaterTest.cpp: Removed.
3400 2012-02-14 Kenichi Ishibashi <bashi@chromium.org>
3402 [WebSocket] Add extension attribute support
3403 https://bugs.webkit.org/show_bug.cgi?id=78557
3405 Add WebSocketExtensionDispatcher::acceptedExtensions() checks.
3407 Reviewed by Kent Tamura.
3409 * tests/WebSocketExtensionDispatcherTest.cpp:
3412 2012-02-14 Kenichi Ishibashi <bashi@chromium.org>
3414 [WebSocket] Add deflater/inflater classes.
3415 https://bugs.webkit.org/show_bug.cgi?id=78449
3417 Add tests which ensure WebSocketDeflater/WebSocketInflater can
3418 compress/decompress data correctly.
3420 Reviewed by Kent Tamura.
3423 * tests/WebSocketDeflaterTest.cpp: Added.
3427 2012-02-14 Dana Jansens <danakj@chromium.org>
3429 [chromium] Compare filters on impl thread when setting them, and test setting in unit tests
3430 https://bugs.webkit.org/show_bug.cgi?id=78643
3432 Reviewed by James Robinson.
3434 * tests/CCLayerImplTest.cpp:
3437 2012-02-14 Ramya Chandrasekaran <cramya@google.com>
3439 Last character display for passwords in Android.
3440 https://bugs.webkit.org/show_bug.cgi?id=78532
3442 Reviewed by Adam Barth.
3444 * public/WebSettings.h:
3445 * src/WebSettingsImpl.cpp:
3446 (WebKit::WebSettingsImpl::setPasswordEchoEnabled):
3448 (WebKit::WebSettingsImpl::setPasswordEchoDurationInSeconds):
3449 * src/WebSettingsImpl.h:
3452 2012-02-14 David Reveman <reveman@chromium.org>
3454 [Chromium] Expose perTilePainting setting through WebLayerTreeView::Settings interface.
3455 https://bugs.webkit.org/show_bug.cgi?id=76937
3457 Reviewed by James Robinson.
3459 Add perTilePainting to WebLayerTreeView::Settings.
3461 * public/platform/WebLayerTreeView.h:
3462 (WebKit::WebLayerTreeView::Settings::Settings):
3464 * src/WebLayerTreeView.cpp:
3465 (WebKit::WebLayerTreeView::Settings::operator CCSettings):
3467 2012-02-14 Vsevolod Vlasov <vsevik@chromium.org>
3469 Web Inspector: Make ScriptsNavigator default file selector.
3470 https://bugs.webkit.org/show_bug.cgi?id=78349
3472 Reviewed by Pavel Feldman.
3475 (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkNoDuplicates):
3476 (.TestSuite.prototype.uiSourceCodesToString_):
3477 (.TestSuite.prototype.nonAnonymousUISourceCodes_):
3478 (.TestSuite.prototype._scriptsAreParsed):
3479 (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts):
3480 (.TestSuite.prototype._waitUntilScriptsAreParsed):
3482 2012-02-14 Hayato Ito <hayato@chromium.org>
3484 Make ShadowRoot.nodeType return DOCUMENT_FRAGMENT_NODE.
3485 https://bugs.webkit.org/show_bug.cgi?id=77514
3487 Reviewed by Dimitri Glazkov.
3489 NodeType.SHADOW_ROOT_NODE type is finally gone.
3491 * src/WebPageSerializerImpl.cpp:
3492 (WebKit::WebPageSerializerImpl::buildContentForNode):
3494 2012-02-14 David Reveman <reveman@chromium.org>
3496 [Chromium] Inconsistent initialization of CCSettings in WebLayerTreeView.