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