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