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