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