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