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