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