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