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