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