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