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