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