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