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