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