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