a5a9f1918952ef3b084611ab9f4c8fcd90174d7d
[WebKit-https.git] / Source / WebKit / chromium / ChangeLog
1 2012-02-22  James Robinson  <jamesr@chromium.org>
2
3         [chromium] Move WebGraphicsContext3D header into the Platform directory
4         https://bugs.webkit.org/show_bug.cgi?id=79301
5
6         Reviewed by Adam Barth.
7
8         Moves WebGraphicsContext3D and WebNonCopyable (which WGC3D depends on).
9
10         * public/platform/WebGraphicsContext3D.h:
11         * public/platform/WebNonCopyable.h:
12
13 2012-02-24  Michal Mocny  <mmocny@google.com>
14
15         [chromium] Purge Skia's GPU texture cache using GL_CHROMIUM_gpu_memory_manager
16         https://bugs.webkit.org/show_bug.cgi?id=78265
17
18         Reviewed by Stephen White.
19
20         * src/GraphicsContext3DChromium.cpp:
21         (GrMemoryAllocationChangedCallback):
22         (WebCore::GrMemoryAllocationChangedCallback::GrMemoryAllocationChangedCallback):
23         (WebCore::GrMemoryAllocationChangedCallback::onGpuMemoryAllocationChanged):
24         (WebCore):
25         (WebCore::GraphicsContext3DPrivate::grContext):
26
27 2012-02-24  James Robinson  <jamesr@chromium.org>
28
29         [chromium] Remove deprecated and unused WebGraphicsContext3D::initialize call
30         https://bugs.webkit.org/show_bug.cgi?id=79296
31
32         Reviewed by Kenneth Russell.
33
34         The old way to initialize a WebGraphicsContext3D from inside WebKit was to call initialize() on it with a
35         WebView*. The new way to do this is via the WebViewClient interface. This deletes the old, unused path.
36
37         * public/platform/WebGraphicsContext3D.h:
38         (WebKit):
39         * tests/CCLayerTreeHostImplTest.cpp:
40         * tests/FakeWebGraphicsContext3D.h:
41
42 2012-02-23  James Robinson  <jamesr@chromium.org>
43
44         [chromium] Move Web*Layer* headers into Platform
45         https://bugs.webkit.org/show_bug.cgi?id=79425
46
47         Reviewed by Adam Barth.
48
49         Adds forwarding headers for Web*Layer* APIs and their dependencies.  The forwarding headers for the Web*Layer*
50         APIs are temporary since Web*Layer* is not exposed in the client interface.  The other headers (such as
51         WebColor) are exposed in both the client and platform APIs, so the forwarding headers are permanent, although we
52         might move them back down to public/ at some point.
53
54         * public/platform/WebCanvas.h:
55         * public/platform/WebColor.h:
56         * public/platform/WebColorName.h:
57         * public/platform/WebContentLayer.h:
58         * public/platform/WebContentLayerClient.h:
59         * public/platform/WebExternalTextureLayer.h:
60         * public/platform/WebLayer.h:
61         * public/platform/WebLayerTreeView.h:
62         * public/platform/WebLayerTreeViewClient.h:
63         * public/platform/WebPrivatePtr.h:
64         * public/platform/WebSolidColorLayer.h:
65
66 2012-02-24  Peter Collingbourne  <peter@pcc.me.uk>
67
68         [chromium] Have WebFrameImpl::selectionAsMarkup create interchange markup.
69         https://bugs.webkit.org/show_bug.cgi?id=77307
70
71         Reviewed by Tony Chang.
72
73         This function is currently used to build markup in order to
74         print the selection, and will also be used to build markup for
75         the clipboard.  Without this change, the markup will refer to
76         (for example) nonexistent CSS classes and invalid relative
77         paths and therefore will not be interpreted correctly.
78
79         Chromium bug: http://crbug.com/23329
80
81         * src/WebFrameImpl.cpp:
82         (WebKit::WebFrameImpl::selectionAsMarkup):
83
84 2012-02-24  Pavel Feldman  <pfeldman@chromium.org>
85
86         Not reviewed: chromium image for inspector status bar button updated.
87
88         * src/js/Images/segmentSelectedEndChromium.png:
89
90 2012-02-24  Shinya Kawanaka  <shinyak@chromium.org>
91
92         SpellCheckRequest needs to know the context where the spellcheck happened.
93         https://bugs.webkit.org/show_bug.cgi?id=79320
94
95         Reviewed by Hajime Morita.
96
97         * src/EditorClientImpl.cpp:
98         (WebKit::EditorClientImpl::requestCheckingOfString):
99         * src/EditorClientImpl.h:
100         (EditorClientImpl):
101         * src/WebFrameImpl.cpp:
102         (WebKit::WebFrameImpl::requestTextChecking):
103
104 2012-02-23  Sheriff Bot  <webkit.review.bot@gmail.com>
105
106         Unreviewed.  Rolled DEPS.
107
108         * DEPS:
109
110 2012-02-23  Ian Vollick  <vollick@chromium.org>
111
112         [chromium] Implement keyframed animations for the cc thread.
113         https://bugs.webkit.org/show_bug.cgi?id=77229
114
115         Reviewed by James Robinson.
116
117         * WebKit.gypi:
118         * tests/CCAnimationTestCommon.cpp:
119         (WebCore):
120         (WebCore::addOpacityTransition):
121         (WebKitTests::addOpacityTransitionToController):
122         (WebKitTests::addOpacityTransitionToLayer):
123         * tests/CCAnimationTestCommon.h:
124         (WebCore):
125         (WebKitTests):
126         * tests/CCKeyframedAnimationCurveTest.cpp: Added.
127         (WebCore):
128         (WebCore::expectTranslateX):
129         (WebCore::TEST):
130         * tests/CCLayerAnimationControllerTest.cpp:
131         (WebKitTests::expectTranslateX):
132         (WebKitTests):
133         (WebKitTests::TEST):
134         * tests/CCLayerTreeHostTest.cpp:
135         (WTF::CCLayerTreeHostTest::dispatchAddAnimation):
136         (WTF::CCLayerTreeHostTest::doBeginTest):
137
138 2012-02-23  James Robinson  <jamesr@chromium.org>
139
140         [chromium] Clean up GraphicsContext3D initialization paths
141         https://bugs.webkit.org/show_bug.cgi?id=79321
142
143         Reviewed by Kenneth Russell.
144
145         This simplifies the GraphicsContext3D initialization paths down to two simple codepaths, one for offscreen
146         contexts initialized from WebCore and one for onscreen (compositor) contexts initialized by WebViewImpl or
147         WebLayerTreeViewImpl.
148
149         Offscreen initialization path:
150         1) WebCore code calls WebCore::GraphicsContext3D::create(), implemented in GraphicsContext3DChromium.cpp
151         2) GraphicsContext3D::create() instantiates a WebGraphicsContext3D via the static WebKitPlatformSupport interface
152         3) GraphicsContext3DPrivate::createGraphicsContextFromWebContext() wraps the WebGraphicsContext3D in a
153         GraphicsContext3D's m_private pointer.
154
155         Onscreen initialization path:
156         1) WebViewImpl or WebLayerTreeViewImpl request an onscreen WebGraphicsContext3D from either their WebViewClient
157         or WebLayerTreeViewClient, respectively
158         2) GraphicsContext3DPrivate::createGraphicsContextFromWebContext() wraps the WebGraphicsContext3D in a
159         GraphicsContext3D's m_private pointer.
160
161         There are no other initialization paths. Specifically, we do not support instantiating onscreen contexts from
162         within WebCore.
163
164         * src/GraphicsContext3DChromium.cpp:
165         (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
166         (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
167         (WebCore):
168         (WebCore::GraphicsContext3DPrivate::platformTexture):
169         (WebCore::GraphicsContext3D::create):
170         * src/GraphicsContext3DPrivate.h:
171         (GraphicsContext3DPrivate):
172         * src/WebLayerTreeViewImpl.cpp:
173         (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
174         * src/WebViewImpl.cpp:
175         (std::getCompositorContextAttributes):
176         (WebKit::WebViewImpl::createCompositorGraphicsContext3D):
177         (WebKit):
178         (WebKit::WebViewImpl::createLayerTreeHostContext3D):
179         (WebKit::WebViewImpl::graphicsContext3D):
180         * src/WebViewImpl.h:
181         (WebViewImpl):
182         * tests/CCLayerTreeHostImplTest.cpp:
183         (WebKit::CCLayerTreeHostImplTest::createContext):
184         (CCLayerTreeHostImplTest):
185         (WebKit::TEST_F):
186         * tests/CCLayerTreeHostTest.cpp:
187         (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
188         * tests/Canvas2DLayerChromiumTest.cpp:
189         (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
190         * tests/CompositorFakeGraphicsContext3D.h:
191         (WebCore::createCompositorMockGraphicsContext3D):
192         * tests/FakeGraphicsContext3DTest.cpp:
193         (TEST):
194
195 2012-02-23  Jonathan Backer  <backer@chromium.org>
196
197         [chromium] Plumb video damage to the damage tracker.
198         https://bugs.webkit.org/show_bug.cgi?id=79373
199
200         Reviewed by James Robinson.
201
202         * src/WebMediaPlayerClientImpl.cpp:
203         (WebKit::WebMediaPlayerClientImpl::repaint):
204
205 2012-02-21  James Robinson  <jamesr@chromium.org>
206
207         [chromium] Notify compositor of wheel event registration via ScrollingCoordinator
208         https://bugs.webkit.org/show_bug.cgi?id=79133
209
210         Reviewed by Dimitri Glazkov.
211
212         Rips out old wheel event notification and adds unit tests for new LayerChromium property.
213
214         * src/NonCompositedContentHost.cpp:
215         (WebKit::NonCompositedContentHost::setViewport):
216         * src/WebCompositorInputHandlerImpl.cpp:
217         (WebKit::WebCompositorInputHandlerImpl::handleInputEvent):
218         * src/WebViewImpl.cpp:
219         (WebKit::WebViewImpl::numberOfWheelEventHandlersChanged):
220         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
221         * src/WebViewImpl.h:
222         * tests/CCLayerTreeHostImplTest.cpp:
223         (WebKit::TEST_F):
224         (WebKit):
225         * tests/LayerChromiumTest.cpp:
226         * tests/WebCompositorInputHandlerImplTest.cpp:
227
228 2012-02-23  Adrienne Walker  <enne@google.com>
229
230         Unreviewed, rolling out r108666.
231         http://trac.webkit.org/changeset/108666
232         https://bugs.webkit.org/show_bug.cgi?id=79321
233
234         Breaks webplugin tests: http://goo.gl/CoHIi
235
236         * src/GraphicsContext3DChromium.cpp:
237         (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
238         (WebCore):
239         (WebCore::GraphicsContext3DPrivate::create):
240         (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
241         (WebCore::GraphicsContext3DPrivate::createGraphicsContextForAnotherThread):
242         (WebCore::GraphicsContext3DPrivate::platformTexture):
243         (WebCore::GraphicsContext3D::create):
244         * src/GraphicsContext3DPrivate.h:
245         (WebKit):
246         (GraphicsContext3DPrivate):
247         * src/WebLayerTreeViewImpl.cpp:
248         (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
249         * src/WebViewImpl.cpp:
250         (std::getCompositorContextAttributes):
251         (WebKit::WebViewImpl::createLayerTreeHostContext3D):
252         (WebKit::WebViewImpl::graphicsContext3D):
253         * tests/CCLayerTreeHostImplTest.cpp:
254         (CCLayerTreeHostImplTest):
255         (WebKit::TEST_F):
256         * tests/CCLayerTreeHostTest.cpp:
257         (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
258         * tests/Canvas2DLayerChromiumTest.cpp:
259         (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
260         * tests/CompositorFakeGraphicsContext3D.h:
261         (WebCore::createCompositorMockGraphicsContext3D):
262         * tests/FakeGraphicsContext3DTest.cpp:
263         (TEST):
264
265 2012-02-23  Daniel Sievers  <sievers@chromium.org>
266
267         [Chromium] Add video stream texture support
268         https://bugs.webkit.org/show_bug.cgi?id=78398
269
270         This upstreams the abstraction used on Android for
271         hardware video decoding with the compositor.
272
273         Most of the interfaces are kept generic and the core
274         of this change is to allow texturing from an external
275         texture while receiving notifications (on the compositor
276         thread if we are running it) when there are new frames to
277         be displayed.
278
279         Reviewed by James Robinson.
280
281         * WebKit.gyp:
282         * public/WebMediaPlayer.h:
283         (WebKit):
284         (WebKit::WebMediaPlayer::setStreamTextureClient):
285         (WebMediaPlayer):
286         * public/WebStreamTextureClient.h: Copied from Source/WebKit/chromium/public/WebVideoFrame.h.
287         (WebKit):
288         (WebStreamTextureClient):
289         (WebKit::WebStreamTextureClient::~WebStreamTextureClient):
290         * public/WebVideoFrame.h:
291         * src/WebMediaPlayerClientImpl.cpp:
292         (WebKit::WebMediaPlayerClientImpl::~WebMediaPlayerClientImpl):
293         (WebKit::WebMediaPlayerClientImpl::setVideoFrameProviderClient):
294         (WebKit::WebMediaPlayerClientImpl::didReceiveFrame):
295         (WebKit):
296         (WebKit::WebMediaPlayerClientImpl::didUpdateMatrix):
297         * src/WebMediaPlayerClientImpl.h:
298         (WebMediaPlayerClientImpl):
299
300 2012-02-22  James Robinson  <jamesr@chromium.org>
301
302         [chromium] Clean up GraphicsContext3D initialization paths
303         https://bugs.webkit.org/show_bug.cgi?id=79321
304
305         Reviewed by Kenneth Russell.
306
307         This simplifies the GraphicsContext3D initialization paths down to two simple codepaths, one for offscreen
308         contexts initialized from WebCore and one for onscreen (compositor) contexts initialized by WebViewImpl or
309         WebLayerTreeViewImpl.
310
311         Offscreen initialization path:
312         1) WebCore code calls WebCore::GraphicsContext3D::create(), implemented in GraphicsContext3DChromium.cpp
313         2) GraphicsContext3D::create() instantiates a WebGraphicsContext3D via the static WebKitPlatformSupport interface
314         3) GraphicsContext3DPrivate::createGraphicsContextFromWebContext() wraps the WebGraphicsContext3D in a
315         GraphicsContext3D's m_private pointer.
316
317         Onscreen initialization path:
318         1) WebViewImpl or WebLayerTreeViewImpl request an onscreen WebGraphicsContext3D from either their WebViewClient
319         or WebLayerTreeViewClient, respectively
320         2) GraphicsContext3DPrivate::createGraphicsContextFromWebContext() wraps the WebGraphicsContext3D in a
321         GraphicsContext3D's m_private pointer.
322
323         There are no other initialization paths. Specifically, we do not support instantiating onscreen contexts from
324         within WebCore.
325
326         * src/GraphicsContext3DChromium.cpp:
327         (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
328         (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
329         (WebCore):
330         (WebCore::GraphicsContext3DPrivate::platformTexture):
331         (WebCore::GraphicsContext3D::create):
332         * src/GraphicsContext3DPrivate.h:
333         (GraphicsContext3DPrivate):
334         * src/WebLayerTreeViewImpl.cpp:
335         (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
336         * src/WebViewImpl.cpp:
337         (std::getCompositorContextAttributes):
338         (WebKit::WebViewImpl::createLayerTreeHostContext3D):
339         (WebKit::WebViewImpl::graphicsContext3D):
340         * tests/CCLayerTreeHostImplTest.cpp:
341         (WebKit::CCLayerTreeHostImplTest::createContext):
342         (CCLayerTreeHostImplTest):
343         (WebKit::TEST_F):
344         * tests/CCLayerTreeHostTest.cpp:
345         (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
346         * tests/Canvas2DLayerChromiumTest.cpp:
347         (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
348         * tests/CompositorFakeGraphicsContext3D.h:
349         (WebCore::createCompositorMockGraphicsContext3D):
350         * tests/FakeGraphicsContext3DTest.cpp:
351         (TEST):
352
353 2012-02-23  Greg Billock  <gbillock@google.com>
354
355         Add UserGestureIndicator capability to Chromium API.
356         https://bugs.webkit.org/show_bug.cgi?id=77690
357
358         Reviewed by Darin Fisher.
359
360         * WebKit.gyp:
361         * public/WebScopedUserGesture.h: Added.
362         * src/WebScopedUserGesture.cpp: Added.
363
364 2012-02-23  Peter Beverloo  <peter@chromium.org>
365
366         Unreviewed, rolling out r108627 and r108630.
367         https://bugs.webkit.org/show_bug.cgi?id=79367
368
369         ffmpeg is creating issues and was just reverted upstream as well.
370
371         * DEPS:
372
373 2012-02-23  Peter Beverloo  <peter@chromium.org>
374
375         Unreviewed build fix. Remove the ffmpeg binary directory from the
376         Chromium-Windows DEPS file, following the commit done in the
377         Chromium repository:
378         http://src.chromium.org/viewvc/chrome?view=rev&revision=123123
379
380         * DEPS:
381
382 2012-02-23  Peter Beverloo  <peter@chromium.org>
383
384         Unreviewed.  Rolled DEPS.
385
386         * DEPS:
387
388 2012-02-22  Hajime Morrita  <morrita@chromium.org>
389
390         NOTIFICATIONS should be implemented as PageSupplement
391         https://bugs.webkit.org/show_bug.cgi?id=79052
392
393         Reviewed by Adam Barth.
394
395         * src/WebViewImpl.cpp:
396         (WebKit::WebViewImpl::WebViewImpl):
397
398 2012-02-22  Dana Jansens  <danakj@chromium.org>
399
400         [chromium] Add unit test for surface occlusion
401         https://bugs.webkit.org/show_bug.cgi?id=79302
402
403         Reviewed by James Robinson.
404
405         * tests/CCOcclusionTrackerTest.cpp:
406         (WebCore::TEST):
407         (WebCore):
408
409 2012-02-22  James Robinson  <jamesr@chromium.org>
410
411         Remove GraphicsContext3D::paintsIntoCanvasBuffer and unify WebGL and canvas 2d logic
412         https://bugs.webkit.org/show_bug.cgi?id=79317
413
414         Reviewed by Kenneth Russell.
415
416         Remove paintsIntoCanvasBuffer() implementations.
417
418         * src/GraphicsContext3DChromium.cpp:
419         (WebCore):
420         * src/GraphicsContext3DPrivate.h:
421
422 2012-02-22  Yuta Kitamura  <yutak@chromium.org>
423
424         Unreviewed, rolling out r108590.
425         http://trac.webkit.org/changeset/108590
426
427         I mistakenly disabled tests even though the fix was already
428         in.
429
430         * tests/CCOcclusionTrackerTest.cpp:
431         (WebCore::TEST):
432
433 2012-02-22  Yuta Kitamura  <yutak@chromium.org>
434
435         [Chromium] Unreviewed. Disable two tests from CCOcclusionTrackerTest
436         which cause assertion failures.
437
438         * tests/CCOcclusionTrackerTest.cpp:
439         (WebCore):
440         (WebCore::TEST):
441
442 2012-02-22  Dana Jansens  <danakj@chromium.org>
443
444         [chromium] Fix CCOcclusionTracker unit test assertion
445         https://bugs.webkit.org/show_bug.cgi?id=79275
446
447         Reviewed by James Robinson.
448
449         * tests/CCOcclusionTrackerTest.cpp:
450         (WebCore::TEST):
451
452 2012-02-22  Ian Vollick  <vollick@chromium.org>
453
454         [chromium] Plumb from GraphicsLayer to the cc thread animation code
455         https://bugs.webkit.org/show_bug.cgi?id=75874
456
457         Reviewed by James Robinson.
458
459         * WebKit.gypi:
460         * public/WebSettings.h:
461         * public/platform/WebLayerTreeView.h:
462         (WebKit::WebLayerTreeView::Settings::Settings):
463         (Settings):
464         * src/WebLayerTreeView.cpp:
465         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
466         * src/WebSettingsImpl.cpp:
467         (WebKit::WebSettingsImpl::setThreadedAnimationEnabled):
468         (WebKit):
469         * src/WebSettingsImpl.h:
470         (WebSettingsImpl):
471         * src/WebViewImpl.cpp:
472         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
473         * tests/CCActiveAnimationTest.cpp:
474         (WebCore::createActiveAnimation):
475         * tests/CCAnimationTestCommon.cpp: Added.
476         (WebKitTests):
477         (WebKitTests::FakeFloatAnimationCurve::FakeFloatAnimationCurve):
478         (WebKitTests::FakeFloatAnimationCurve::~FakeFloatAnimationCurve):
479         (WebKitTests::FakeFloatAnimationCurve::clone):
480         (WebKitTests::FakeTransformTransition::FakeTransformTransition):
481         (WebKitTests::FakeTransformTransition::~FakeTransformTransition):
482         (WebKitTests::FakeTransformTransition::getValue):
483         (WebKitTests::FakeTransformTransition::clone):
484         (WebKitTests::FakeFloatTransition::FakeFloatTransition):
485         (WebKitTests::FakeFloatTransition::~FakeFloatTransition):
486         (WebKitTests::FakeFloatTransition::getValue):
487         (WebKitTests::FakeLayerAnimationControllerImplClient::FakeLayerAnimationControllerImplClient):
488         (WebKitTests::FakeLayerAnimationControllerImplClient::~FakeLayerAnimationControllerImplClient):
489         (WebKitTests::FakeFloatTransition::clone):
490         (WebKitTests::addOpacityTransition):
491         * tests/CCAnimationTestCommon.h: Added.
492         (WebCore):
493         (WebKitTests):
494         (FakeFloatAnimationCurve):
495         (WebKitTests::FakeFloatAnimationCurve::duration):
496         (WebKitTests::FakeFloatAnimationCurve::getValue):
497         (FakeTransformTransition):
498         (WebKitTests::FakeTransformTransition::duration):
499         (FakeFloatTransition):
500         (WebKitTests::FakeFloatTransition::duration):
501         (FakeLayerAnimationControllerImplClient):
502         (WebKitTests::FakeLayerAnimationControllerImplClient::id):
503         (WebKitTests::FakeLayerAnimationControllerImplClient::opacity):
504         (WebKitTests::FakeLayerAnimationControllerImplClient::setOpacity):
505         (WebKitTests::FakeLayerAnimationControllerImplClient::transform):
506         (WebKitTests::FakeLayerAnimationControllerImplClient::setTransform):
507         (WebKitTests::FakeLayerAnimationControllerImplClient::bounds):
508         * tests/CCLayerAnimationControllerImplTest.cpp:
509         (WebKitTests::createActiveAnimation):
510         (WebKitTests::TEST):
511         * tests/CCLayerAnimationControllerTest.cpp: Added.
512         (WebKitTests):
513         (WebKitTests::createActiveAnimation):
514         (WebKitTests::TEST):
515         * tests/CCLayerTreeHostImplTest.cpp:
516         (WebKit::CCLayerTreeHostImplTest::postAnimationEventsToMainThreadOnImplThread):
517         * tests/CCLayerTreeHostTest.cpp:
518         (WTF::TestHooks::animateLayers):
519         (MockLayerTreeHostImpl):
520         (WTF::MockLayerTreeHostImpl::animateLayers):
521         (WTF::MockLayerTreeHost::create):
522         (WTF::MockLayerTreeHost::createLayerTreeHostImpl):
523         (WTF):
524         (MockLayerAnimationController):
525         (WTF::MockLayerAnimationController::create):
526         (WTF::MockLayerAnimationController::addAnimation):
527         (WTF::MockLayerTreeHostClient::scheduleComposite):
528         (WTF::CCLayerTreeHostTest::postAddAnimationToMainThread):
529         (CCLayerTreeHostTest):
530         (WTF::CCLayerTreeHostTest::dispatchAddAnimation):
531         (WTF::CCLayerTreeHostTest::doBeginTest):
532         (CCLayerTreeHostTestAddAnimation):
533         (WTF::CCLayerTreeHostTestAddAnimation::CCLayerTreeHostTestAddAnimation):
534         (WTF::CCLayerTreeHostTestAddAnimation::beginTest):
535         (WTF::CCLayerTreeHostTestAddAnimation::animateLayers):
536         (WTF::CCLayerTreeHostTestAddAnimation::afterTest):
537         (WTF::TEST_F):
538         * tests/TreeSynchronizerTest.cpp:
539         (FakeLayerAnimationController):
540         (WebKitTests::FakeLayerAnimationController::create):
541         (WebKitTests::FakeLayerAnimationController::synchronizedAnimations):
542         (WebKitTests::FakeLayerAnimationController::FakeLayerAnimationController):
543         (WebKitTests::FakeLayerAnimationController::synchronizeAnimations):
544         (WebKitTests):
545         (WebKitTests::TEST):
546
547 2012-02-21  Ryosuke Niwa  <rniwa@webkit.org>
548
549         Remove the remaining uses of CSSStyleDeclaration in Editor
550         https://bugs.webkit.org/show_bug.cgi?id=78939
551
552         Reviewed by Enrica Casucci.
553
554         * src/EditorClientImpl.cpp:
555         (WebKit::EditorClientImpl::shouldApplyStyle):
556         * src/EditorClientImpl.h:
557         (EditorClientImpl):
558
559 2012-02-22  Daniel Cheng  <dcheng@chromium.org>
560
561         [chromium] Cleanup unused WebDragData methods after r107846
562         https://bugs.webkit.org/show_bug.cgi?id=78837
563
564         Reviewed by Tony Chang.
565
566         The deleted methods have been replaced by items() and setItems().
567
568         * public/platform/WebDragData.h:
569         (WebDragData):
570         * src/WebDragData.cpp:
571         (WebKit::WebDragData::addItem): Add ensureMutable() call to verify preconditions for
572                                         mutating the item store.
573
574 2012-02-22  Tim Dresser  <tdresser@chromium.org>
575
576         CCLayerTreeHostImpl calls didDraw more frequently than willDraw
577         https://bugs.webkit.org/show_bug.cgi?id=79139
578
579         Reviewed by James Robinson.
580
581         * tests/CCLayerTreeHostImplTest.cpp:
582         (WebKit::DidDrawCheckLayer::willDraw):
583         (DidDrawCheckLayer):
584         (WebKit::DidDrawCheckLayer::willDrawCalled):
585         (WebKit::DidDrawCheckLayer::DidDrawCheckLayer):
586         (WebKit::TEST_F):
587         (WebKit):
588
589 2012-02-22  Dana Jansens  <danakj@chromium.org>
590
591         [Chromium] New CCOcclusionTracker class with tests
592         https://bugs.webkit.org/show_bug.cgi?id=78549
593
594         Reviewed by James Robinson.
595
596         * WebKit.gypi:
597         * tests/CCLayerTreeHostCommonTest.cpp:
598         (WebCore):
599         * tests/CCOcclusionTrackerTest.cpp: Added.
600         (WebCore):
601         (WebCore::setLayerPropertiesForTesting):
602         (LayerChromiumWithForcedDrawsContent):
603         (WebCore::LayerChromiumWithForcedDrawsContent::LayerChromiumWithForcedDrawsContent):
604         (WebCore::LayerChromiumWithForcedDrawsContent::drawsContent):
605         (TestCCOcclusionTracker):
606         (WebCore::TestCCOcclusionTracker::occlusionInScreenSpace):
607         (WebCore::TestCCOcclusionTracker::occlusionInTargetSurface):
608         (WebCore::TestCCOcclusionTracker::setOcclusionInScreenSpace):
609         (WebCore::TestCCOcclusionTracker::setOcclusionInTargetSurface):
610         (WebCore::TEST):
611
612 2012-02-22  Hao Zheng  <zhenghao@chromium.org>
613
614         [chromium] Build WebKit with MEDIA_STREAM disabled.
615         https://bugs.webkit.org/show_bug.cgi?id=79214
616
617         Reviewed by Kent Tamura.
618
619         * src/UserMediaClientImpl.h:
620
621 2012-02-20  Roland Steiner  <rolandsteiner@chromium.org>
622
623         <style scoped>: Add runtime-flag
624         https://bugs.webkit.org/show_bug.cgi?id=79074
625
626         Added a runtime-flag.
627         Enable default STYLE_SCOPED compile-time flag for Chromium.
628
629         Reviewed by Dimitri Glazkov.
630
631         * features.gypi: enable STYLE_SCOPED
632         * public/WebRuntimeFeatures.h:
633         (WebRuntimeFeatures):
634         * src/WebRuntimeFeatures.cpp:
635         (WebKit::WebRuntimeFeatures::enableStyleScoped):
636         (WebKit):
637         (WebKit::WebRuntimeFeatures::isStyleScopedEnabled):
638
639 2012-02-22  Yuta Kitamura  <yutak@chromium.org>
640
641         Unreviewed, rolling out r108453.
642         http://trac.webkit.org/changeset/108453
643         https://bugs.webkit.org/show_bug.cgi?id=78549
644
645         Broke Chromium's webkit_unit_tests.
646
647         * WebKit.gypi:
648         * tests/CCLayerTreeHostCommonTest.cpp:
649         (WebCore::TEST):
650         (WebCore):
651         * tests/CCOcclusionTrackerTest.cpp: Removed.
652
653 2012-02-22  Ryosuke Niwa  <rniwa@webkit.org>
654
655         Remove the remaining uses of CSSStyleDeclaration in Editor
656         https://bugs.webkit.org/show_bug.cgi?id=78939
657
658         Reviewed by Enrica Casucci.
659
660         * src/EditorClientImpl.cpp:
661         (WebKit::EditorClientImpl::shouldApplyStyle):
662         * src/EditorClientImpl.h:
663         (EditorClientImpl):
664
665 2012-02-22  Dana Jansens  <danakj@chromium.org>
666
667         [chromium] Cull quads outside of the scissoring damage rect
668         https://bugs.webkit.org/show_bug.cgi?id=79181
669
670         Reviewed by James Robinson.
671
672         * tests/CCQuadCullerTest.cpp:
673         (WebCore::TEST):
674         (WebCore):
675
676 2012-02-21  Dana Jansens  <danakj@chromium.org>
677
678         [Chromium] New CCOcclusionTracker class with tests
679         https://bugs.webkit.org/show_bug.cgi?id=78549
680
681         Reviewed by James Robinson.
682
683         * WebKit.gypi:
684         * tests/CCLayerTreeHostCommonTest.cpp:
685         (WebCore):
686         * tests/CCOcclusionTrackerTest.cpp: Added.
687         (WebCore):
688         (WebCore::setLayerPropertiesForTesting):
689         (LayerChromiumWithForcedDrawsContent):
690         (WebCore::LayerChromiumWithForcedDrawsContent::LayerChromiumWithForcedDrawsContent):
691         (WebCore::LayerChromiumWithForcedDrawsContent::drawsContent):
692         (TestCCOcclusionTracker):
693         (WebCore::TestCCOcclusionTracker::occlusionInScreenSpace):
694         (WebCore::TestCCOcclusionTracker::occlusionInTargetSurface):
695         (WebCore::TestCCOcclusionTracker::setOcclusionInScreenSpace):
696         (WebCore::TestCCOcclusionTracker::setOcclusionInTargetSurface):
697         (WebCore::TEST):
698
699 2012-02-21  MORITA Hajime  <morrita@google.com>
700
701         INPUT_SPEECH should be implemented as a PageSupplement.
702         https://bugs.webkit.org/show_bug.cgi?id=79051
703
704         Reviewed by Adam Barth.
705
706         * src/WebViewImpl.cpp:
707         (WebKit::WebViewImpl::WebViewImpl):
708
709 2012-02-20  MORITA Hajime  <morrita@google.com>
710
711         MEDIA_STREAM should be implemented as a PageSupplement.
712         https://bugs.webkit.org/show_bug.cgi?id=79050
713
714         Reviewed by Adam Barth.
715
716         * src/WebViewImpl.cpp:
717         (WebKit::WebViewImpl::WebViewImpl):
718
719 2012-02-21  Dana Jansens  <danakj@chromium.org>
720
721         [chromium] Painting a layer clears opaque rect in untouched tiles
722         https://bugs.webkit.org/show_bug.cgi?id=79157
723
724         Reviewed by James Robinson.
725
726         * tests/TiledLayerChromiumTest.cpp:
727         (WTF::TEST):
728
729 2012-02-21  James Robinson  <jamesr@chromium.org>
730
731         Enable ScrollingCoordinator in chromium whenever compositing is enabled
732         https://bugs.webkit.org/show_bug.cgi?id=79165
733
734         Reviewed by Adam Barth.
735
736         * src/NonCompositedContentHost.cpp:
737         (WebKit::NonCompositedContentHost::setViewport):
738             Whenever the ScrollingCoordinator is enabled the scroll layer's position is expected to be updated
739             externally to RenderLayerCompositor, so set it here.
740         * src/WebSettingsImpl.cpp:
741         (WebKit::WebSettingsImpl::setAcceleratedCompositingEnabled):
742
743 2012-02-21  Daniel Cheng  <dcheng@chromium.org>
744
745         [chromium] Fix image drag out on Chromium
746         https://bugs.webkit.org/show_bug.cgi?id=79158
747
748         Reviewed by Tony Chang.
749
750         We constructed the WebDragData::Item for dragging out an image but never added it to the
751         item list. This is normally covered by the fast/events/drag-image-filename.html layout test,
752         but the bug wasn't caught in the original patch since the implementations in Chrome and DRT
753         had diverged.
754
755         * src/WebDragData.cpp:
756         (WebKit::WebDragData::items):
757
758 2012-02-21  David Grogan  <dgrogan@chromium.org>
759
760         IndexedDB: webFrame isn't threadsafe, don't use it from a worker thread
761         https://bugs.webkit.org/show_bug.cgi?id=78659
762
763         After crrev.com/121669, indexed db doesn't use the web frame for
764         anything if called from a web worker.
765
766         No new tests - this check was defensive and possibly not ever
767         triggered.
768
769         Reviewed by Tony Chang.
770
771         * src/IDBFactoryBackendProxy.cpp:
772         (WebKit::IDBFactoryBackendProxy::openFromWorker):
773
774 2012-02-21  Yury Semikhatsky  <yurys@chromium.org>
775
776         [V8] Web Inspector: set breakpoint/pause doesn't work when worker is in a tight loop
777         https://bugs.webkit.org/show_bug.cgi?id=79097
778
779         Worker script execution will be interrupted for dispatching inspector commands.
780
781         Reviewed by Pavel Feldman.
782
783         * src/WebSharedWorkerImpl.cpp:
784         (WebKit::WebSharedWorkerImpl::dispatchDevToolsMessage):
785
786 2012-02-20  Peter Beverloo  <peter@chromium.org>
787
788         Unreviewed.  Rolled DEPS.
789
790         * DEPS:
791
792 2012-02-20  Kenichi Ishibashi  <bashi@chromium.org>
793
794         [WebSocket] Add deflater/inflater classes
795         https://bugs.webkit.org/show_bug.cgi?id=78449
796
797         Add tests which ensure WebSocketDeflater/WebSocketInflater can
798         compress/decompress data correctly.
799
800         Reviewed by Kent Tamura.
801
802         * WebKit.gypi: Added zlib dependency.
803         * WebKitUnitTests.gyp: Ditto.
804         * tests/WebSocketDeflaterTest.cpp: Added.
805         (WebCore):
806         (WebCore::TEST):
807
808 2012-02-17  Yury Semikhatsky  <yurys@chromium.org>
809
810         [Chromium] Web Inspector: terminated workers are not removed from dedicated worker list
811         https://bugs.webkit.org/show_bug.cgi?id=78899
812
813         Pass original WorkerContextProxy object to the inspector instrumentation instead
814         of Chromium-specific one for consistency with WorkerMessagingProxy implementation
815         in WebCore.
816
817         Reviewed by Pavel Feldman.
818
819         * src/WebWorkerClientImpl.cpp:
820         (WebKit::WebWorkerClientImpl::startWorkerContext):
821
822 2012-02-18  raman Tenneti  <rtenneti@chromium.org>
823
824         Track the NPN protocol version negotiated with the server
825         https://bugs.webkit.org/show_bug.cgi?id=77349
826
827         Reviewed by Darin Fisher.
828
829         [chromium] Added ExtraData to WebURLResponse.
830
831         * WebKit.gypi:
832         * public/platform/WebURLResponse.h:
833         (ExtraData):
834         (WebKit::WebURLResponse::ExtraData::~ExtraData):
835         (WebURLResponse):
836         * src/WebURLResponse.cpp:
837         (WebKit::WebURLResponse::extraData):
838         (WebKit):
839         (WebKit::WebURLResponse::setExtraData):
840         * tests/WebURLResponseTest.cpp: Added.
841         (WebKit):
842         (TestExtraData):
843         (WebKit::TestExtraData::TestExtraData):
844         (WebKit::TestExtraData::~TestExtraData):
845         (WebKit::TEST):
846
847 2012-02-17  Joshua Bell  <jsbell@chromium.org>
848
849         IndexedDB: Support overloaded methods that take IDBKey or IDBKeyRange
850         https://bugs.webkit.org/show_bug.cgi?id=78399
851
852         Implements the WebKit API for IDBObjectStore.delete(IDBKeyRange),
853         to exercise the overload capability.
854
855         Reviewed by Tony Chang.
856
857         * src/IDBObjectStoreBackendProxy.cpp:
858         (WebKit::IDBObjectStoreBackendProxy::deleteFunction):
859         (WebKit):
860         * src/IDBObjectStoreBackendProxy.h:
861         (IDBObjectStoreBackendProxy):
862         * src/WebIDBObjectStoreImpl.cpp:
863         (WebKit::WebIDBObjectStoreImpl::deleteFunction):
864         (WebKit):
865         * src/WebIDBObjectStoreImpl.h:
866         (WebIDBObjectStoreImpl):
867
868 2012-02-17  Michal Mocny  <mmocny@google.com>
869
870         [chromium] GL_CHROMIUM_gpu_memory_manager extension
871         https://bugs.webkit.org/show_bug.cgi?id=77155
872
873         Reviewed by James Robinson.
874
875         * public/platform/WebGraphicsContext3D.h:
876         (WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
877         (WebKit::WebGraphicsContext3D::WebGraphicsMemoryAllocationChangedCallbackCHROMIUM::~WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
878         (WebGraphicsContext3D):
879         (WebKit::WebGraphicsContext3D::setMemoryAllocationChangedCallbackCHROMIUM):
880         * src/Extensions3DChromium.cpp:
881         (WebCore::Extensions3DChromium::setGpuMemoryAllocationChangedCallbackCHROMIUM):
882         (WebCore):
883         * src/GraphicsContext3DChromium.cpp:
884         (WebCore::GraphicsContext3D::~GraphicsContext3D):
885         (GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
886         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
887         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::~GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
888         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::onMemoryAllocationChanged):
889         (WebCore):
890         (WebCore::GraphicsContext3DPrivate::setGpuMemoryAllocationChangedCallbackCHROMIUM):
891         * src/GraphicsContext3DPrivate.h:
892         (WebCore):
893         * tests/FakeWebGraphicsContext3D.h:
894         (WebKit::FakeWebGraphicsContext3D::setMemoryAllocationChangedCallbackCHROMIUM):
895         (FakeWebGraphicsContext3D):
896
897 2012-02-17  Mihnea Ovidenie  <mihnea@adobe.com>
898
899         CSS regions enabled by default
900         https://bugs.webkit.org/show_bug.cgi?id=78525
901
902         Reviewed by David Hyatt.
903
904         Add a runtime preference to enable/disable regions functionality at runtime(WebKitCSSRegionsEnabled).
905         CSSRegions are still enabled by default.
906         In DRT, use layoutTestController.overridePreference("WebKitCSSRegionsEnabled", "0") to disable the css regions functionality.
907
908         * public/WebSettings.h:
909         * src/WebSettingsImpl.cpp:
910         (WebKit::WebSettingsImpl::setExperimentalCSSRegionsEnabled):
911         (WebKit):
912         * src/WebSettingsImpl.h:
913         (WebSettingsImpl):
914
915 2012-02-17  Scott Graham  <scottmg@chromium.org>
916
917         [Chromium] pack Gamepad shared memory structure
918         https://bugs.webkit.org/show_bug.cgi?id=78022
919
920         Reviewed by Darin Fisher.
921
922         Add #pragma pack around definition of shared memory structures to
923         avoid differences across compilers and platforms. Add COMPILE_ASSERT
924         to verify expected size.
925
926         * public/platform/WebGamepad.h:
927         (WebKit):
928         * public/platform/WebGamepads.h:
929         (WebKit):
930
931 2012-02-17  Tim Dresser  <tdresser@chromium.org>
932
933         [chromium] Refactor video drawing to be more data driven
934         https://bugs.webkit.org/show_bug.cgi?id=76720
935
936         Reviewed by James Robinson.
937
938         CCLayerTreeHostImplTest.didDrawCalledOnAllLayers ensures that
939         CCLayerImpl::didDraw() is called on all layers, including layers
940         on different render surfaces.
941
942         * tests/CCLayerTreeHostImplTest.cpp:
943         (DidDrawCheckLayer):
944         (WebKit::DidDrawCheckLayer::create):
945         (WebKit::DidDrawCheckLayer::didDraw):
946         (WebKit::DidDrawCheckLayer::didDrawCalled):
947         (WebKit::DidDrawCheckLayer::DidDrawCheckLayer):
948         (WebKit):
949         (WebKit::TEST_F):
950
951 2012-02-17  Ilya Tikhonovsky  <loislo@chromium.org>
952
953         Unreviewed, rolling out r108071.
954         http://trac.webkit.org/changeset/108071
955         https://bugs.webkit.org/show_bug.cgi?id=77155
956
957         chromium-mac compilation failed
958
959         * public/platform/WebGraphicsContext3D.h:
960         (WebGraphicsContext3D):
961         * src/Extensions3DChromium.cpp:
962         * src/GraphicsContext3DChromium.cpp:
963         (WebCore::GraphicsContext3D::~GraphicsContext3D):
964         * src/GraphicsContext3DPrivate.h:
965         (WebCore):
966         * tests/FakeWebGraphicsContext3D.h:
967
968 2012-02-17  Michal Mocny  <mmocny@google.com>
969
970         [chromium] GL_CHROMIUM_gpu_memory_manager extension
971         https://bugs.webkit.org/show_bug.cgi?id=77155
972
973         Reviewed by James Robinson.
974
975         * public/platform/WebGraphicsContext3D.h:
976         (WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
977         (WebKit::WebGraphicsContext3D::WebGraphicsMemoryAllocationChangedCallbackCHROMIUM::~WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
978         (WebGraphicsContext3D):
979         (WebKit::WebGraphicsContext3D::setMemoryAllocationChangedCallbackCHROMIUM):
980         * src/Extensions3DChromium.cpp:
981         (WebCore::Extensions3DChromium::setGpuMemoryAllocationChangedCallbackCHROMIUM):
982         (WebCore):
983         * src/GraphicsContext3DChromium.cpp:
984         (WebCore::GraphicsContext3D::~GraphicsContext3D):
985         (GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
986         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
987         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::~GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
988         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::onMemoryAllocationChanged):
989         (WebCore):
990         (WebCore::GraphicsContext3DPrivate::setGpuMemoryAllocationChangedCallbackCHROMIUM):
991         * src/GraphicsContext3DPrivate.h:
992         (WebCore):
993         * tests/FakeWebGraphicsContext3D.h:
994         (WebKit::FakeWebGraphicsContext3D::setMemoryAllocationChangedCallbackCHROMIUM):
995         (FakeWebGraphicsContext3D):
996
997 2012-02-17  Ilya Tikhonovsky  <loislo@chromium.org>
998
999         Unreviewed. Chromium DEPS roll
1000
1001         * DEPS: from 122122 to 122498
1002
1003 2012-02-16  Alexandre Elias  <aelias@google.com>
1004
1005         [chromium] Bundle page scale factor and limits in CCLayerTreeHost
1006         https://bugs.webkit.org/show_bug.cgi?id=78762
1007
1008         Setting page scale factor and its limits in separate methods
1009         may cause clamping bugs if one of them makes it to the
1010         impl thread before the other.  Change the API to bundle them together,
1011         which matches the existing impl-side interface.
1012
1013         Reviewed by James Robinson.
1014
1015         * src/WebViewImpl.cpp:
1016         (WebKit::WebViewImpl::computePageScaleFactorLimits):
1017         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1018         (WebKit::WebViewImpl::updateLayerTreeViewport):
1019         * tests/CCLayerTreeHostTest.cpp:
1020         (WTF::CCLayerTreeHostTestStartPageScaleAnimation::applyScrollAndScale):
1021
1022 2012-02-16  Varun Jain  <varunjain@google.com>
1023
1024         [Chromium] Add method to WebViewImpl to extract zoom/scroll params for gesture events on touch devices
1025         https://bugs.webkit.org/show_bug.cgi?id=72909
1026
1027         Reviewed by James Robinson.
1028
1029         * src/WebViewImpl.cpp:
1030         (std):
1031         (WebKit):
1032         (WebKit::WebViewImpl::computeBlockBounds):
1033         (WebKit::WebViewImpl::widenRectWithinPageBounds):
1034         (WebKit::WebViewImpl::computeScaleAndScrollForHitRect):
1035         * src/WebViewImpl.h:
1036         (WebViewImpl):
1037         * tests/WebFrameTest.cpp:
1038         (WebKit):
1039         (WebKit::TEST_F):
1040         * tests/data/get_scale_for_auto_zoom_into_div_test.html: Added.
1041
1042 2012-02-16  Sami Kyostila  <skyostil@chromium.org>
1043
1044         [chromium] LayerChromium::setNeedsDisplay does not apply contents scale correctly
1045         https://bugs.webkit.org/show_bug.cgi?id=77464
1046
1047         Added a new unit test for TiledLayerChromium to verify its invalidation behavior when
1048         the contents scale changes. Also enhance and existing unit test for LayerChromium to
1049         verify the paint rectangle dimensions instead just checking that it is not empty.
1050
1051         Reviewed by James Robinson.
1052
1053         * tests/LayerChromiumTest.cpp:
1054         * tests/TiledLayerChromiumTest.cpp:
1055         (WTF::FakeTiledLayerChromium::setNeedsDisplayRect):
1056         (FakeTiledLayerChromium):
1057         (WTF::FakeTiledLayerChromium::lastNeedsDisplayRect):
1058         (WTF::TEST):
1059         (WTF):
1060
1061 2012-02-16  MORITA Hajime  <morrita@google.com>
1062
1063         https://bugs.webkit.org/show_bug.cgi?id=78065
1064         [Chromium] Should eliminate WebTextCheckingResult legacy APIs
1065
1066         Reviewed by Kent Tamura.
1067
1068         Removed unused legacy members.
1069
1070         * public/WebTextCheckingResult.h:
1071         (WebKit::WebTextCheckingResult::WebTextCheckingResult):
1072         (WebTextCheckingResult):
1073         * src/AssertMatchingEnums.cpp:
1074
1075 2012-02-16  Evan Martin  <evan@chromium.org>
1076
1077         [chromium] pull third_party/gold to fix linux build
1078         https://bugs.webkit.org/show_bug.cgi?id=78842
1079
1080         Reviewed by Tony Chang.
1081
1082         The Chrome build now depends on third_party/gold also being checked out.
1083
1084         * DEPS:
1085
1086 2012-02-15  Michael Nordman  <michaeln@google.com>
1087
1088         Fix bugs in the implementation of WebDatabase::closeDatabaseImmediately.
1089         https://bugs.webkit.org/show_bug.cgi?id=78841
1090
1091         WebDatabase now delegates this function entirely to DatabaseTracker.
1092         This is part of resolving http://crbug.com/98939
1093
1094         Reviewed by David Levin.
1095
1096         * src/WebDatabase.cpp:
1097         (WebKit::WebDatabase::closeDatabaseImmediately):
1098
1099 2012-02-16  Dana Jansens  <danakj@chromium.org>
1100
1101         [Chromium] Occlusion tracking with CSS filters
1102         https://bugs.webkit.org/show_bug.cgi?id=77498
1103
1104         Reviewed by James Robinson.
1105
1106         * tests/CCLayerTreeHostTest.cpp:
1107         (CCLayerTreeHostTestLayerOcclusionWithFilters):
1108         (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::CCLayerTreeHostTestLayerOcclusionWithFilters):
1109         (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::beginTest):
1110         (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::afterTest):
1111         (WTF):
1112
1113 2012-02-16  Joshua Bell  <jsbell@chromium.org>
1114
1115         IndexedDB: Chromium WebKit API support for IDBObjectStore.delete(IDBKeyRange)
1116         https://bugs.webkit.org/show_bug.cgi?id=78619
1117
1118         Add an overload to WebIDBObjectStore::deleteFunction(). First part of a two-sided patch.
1119
1120         Reviewed by Darin Fisher.
1121
1122         * public/WebIDBObjectStore.h:
1123         (WebKit::WebIDBObjectStore::deleteFunction):
1124
1125 2012-02-16  Dana Jansens  <danakj@chromium.org>
1126
1127         [chromium] Clipping/Transforms applied in wrong order in opaque paint tracking
1128         https://bugs.webkit.org/show_bug.cgi?id=78775
1129
1130         Reviewed by Stephen White.
1131
1132         * tests/PlatformContextSkiaTest.cpp:
1133         (WebCore::TEST):
1134
1135 2012-02-16  Daniel Cheng  <dcheng@chromium.org>
1136
1137         [chromium] Add WEBKIT_EXPORT to new WebDragData methods.
1138         https://bugs.webkit.org/show_bug.cgi?id=78843
1139
1140         Reviewed by Tony Chang.
1141
1142         * public/platform/WebDragData.h:
1143         (WebDragData):
1144
1145 2012-02-16  Viet-Trung Luu  <viettrungluu@chromium.org>
1146
1147         [chromium] Add method to WebPluginContainer to check if a rectangle is topmost
1148         https://bugs.webkit.org/show_bug.cgi?id=78166
1149
1150         Reviewed by Darin Fisher.
1151
1152         * public/WebPluginContainer.h:
1153         (WebPluginContainer):
1154         * src/WebPluginContainerImpl.cpp:
1155         * src/WebPluginContainerImpl.h:
1156         (WebPluginContainerImpl):
1157
1158 2012-02-16  Yosifumi Inoue  <yosin@chromium.org>
1159
1160         Build Fix: R107894 breaks Chromium Linux Build.
1161         https://bugs.webkit.org/show_bug.cgi?id=78790
1162
1163         WebDragDataPrivate::types, inherited from ChromiumDataObject, returns PassRef<DOMStringList> since r107894. However, WebDragData expected to get old return value type HashSet<String>.
1164
1165         Reviewed by Kent Tamura.
1166
1167         * src/WebDragData.cpp:
1168         (WebKit::WebDragData::items): Use RefPtr<DOMStringList> rather than HashSet<String> for value of m_private->types().
1169
1170 2012-02-15  Sami Kyostila  <skyostil@google.com>
1171
1172         Enable -webkit-overflow-scrolling CSS property
1173         https://bugs.webkit.org/show_bug.cgi?id=78664
1174
1175         Reviewed by Eric Seidel.
1176
1177         * features.gypi:
1178
1179 2012-02-15  Tommy Widenflycht  <tommyw@google.com>
1180
1181         MediaStream API: Removing SecurityContext from the embedder API
1182         https://bugs.webkit.org/show_bug.cgi?id=73816
1183
1184         Reviewed by Darin Fisher.
1185
1186         * bridge/PeerConnectionHandler.cpp:
1187         (WebCore::PeerConnectionHandler::create):
1188         (WebCore::PeerConnectionHandler::PeerConnectionHandler):
1189         * bridge/PeerConnectionHandlerInternal.cpp:
1190         (WebCore::PeerConnectionHandlerInternal::PeerConnectionHandlerInternal):
1191         * bridge/PeerConnectionHandlerInternal.h:
1192         (WebCore):
1193         (PeerConnectionHandlerInternal):
1194         * public/platform/WebPeerConnectionHandler.h:
1195         (WebPeerConnectionHandler):
1196         (WebKit::WebPeerConnectionHandler::initialize):
1197
1198 2012-02-15  Peter Beverloo  <peter@chromium.org>
1199
1200         [Chromium] Roll DEPS to r122122
1201         https://bugs.webkit.org/show_bug.cgi?id=78754
1202
1203         Unreviewed DEPS roll.
1204
1205         * DEPS:
1206
1207 2012-02-01  Daniel Cheng  <dcheng@chromium.org>
1208
1209         [chromium] Add setter/getter to expose drag data as a list of items
1210         https://bugs.webkit.org/show_bug.cgi?id=77125
1211
1212         This change supports the unification of the data store backing ChromiumDataObject and
1213         DataTransferItemListChromium. ChromiumDataObject will represent dragging and clipboard data
1214         as a list of data nodes to make it more straightforward to implement the HTML spec for
1215         DataTransferItemList. Thus, we extend the abstraction to the webkit glue layer to
1216         simplify the serialization/deserialization between platform-specific data and WebDragData.
1217         The other setter/getter methods are deprecated and will be removed once the dependencies in
1218         Chromium code are gone.
1219
1220         Reviewed by Darin Fisher.
1221
1222         * public/platform/WebDragData.h:
1223         (WebKit):
1224         (WebDragData):
1225         * src/WebDragData.cpp:
1226         (WebKit::WebDragData::items):
1227         (WebKit):
1228         (WebKit::WebDragData::setItems):
1229         (WebKit::WebDragData::addItem):
1230
1231 2012-02-15  Sadrul Habib Chowdhury  <sadrul@chromium.org>
1232
1233         Notify ChromeClient when touch-event handlers are installed/removed.
1234         https://bugs.webkit.org/show_bug.cgi?id=77440
1235
1236         Reviewed by Darin Fisher and Ryosuke Niwa.
1237
1238         * public/WebViewClient.h:
1239         (WebKit::WebViewClient::numberOfTouchEventHandlersChanged):
1240         * src/ChromeClientImpl.cpp:
1241         (WebKit::ChromeClientImpl::numTouchEventHandlersChanged):
1242         (WebKit):
1243         * src/ChromeClientImpl.h:
1244         (ChromeClientImpl):
1245         * src/WebViewImpl.cpp:
1246         (WebKit::WebViewImpl::numberOfTouchEventHandlersChanged):
1247         (WebKit):
1248         * src/WebViewImpl.h:
1249         (WebViewImpl):
1250
1251 2012-02-15  Anders Carlsson  <andersca@apple.com>
1252
1253         Remove ScrollableArea::handleGestureEvent
1254         https://bugs.webkit.org/show_bug.cgi?id=78661
1255
1256         Reviewed by Adam Roben.
1257
1258         Update for WebCore changes.
1259
1260         * src/WebPluginContainerImpl.cpp:
1261         * src/WebPluginContainerImpl.h:
1262         (WebPluginContainerImpl):
1263         * src/WebViewImpl.cpp:
1264         (WebKit::WebViewImpl::gestureEvent):
1265
1266 2012-02-14  Takashi Toyoshima  <toyoshim@chromium.org>
1267
1268         Provide SocketStreamHandleInternal::toWebSocketStreamHandle(SocketStreamHandle*).
1269         https://bugs.webkit.org/show_bug.cgi?id=78581
1270
1271         Reviewed by Kent Tamura.
1272
1273         Now, there is no way to convert SocketStreamHandle to
1274         WebSocketStreamHandle. In subsequent changes, I'll use this function
1275         in FrameLoaderClientImpl.
1276
1277         * src/SocketStreamHandle.cpp: Remove SocketStreamHandleInternal class declaration.
1278         * src/SocketStreamHandleInternal.h: Move SocketStreamHandleInternal class declaration from SocketStreamHandle.cpp to expose, and add conversion function to WebSocketStreamHandle from SocketStreamHandle.
1279         (WebKit):
1280         (WebCore):
1281         (SocketStreamHandleInternal):
1282         (WebCore::SocketStreamHandleInternal::create):
1283         (WebCore::SocketStreamHandleInternal::toWebSocketStreamHandle):
1284         * WebKit.gyp: Add SocketStreamHandleInternal.h entry.
1285
1286 2012-02-14  Sheriff Bot  <webkit.review.bot@gmail.com>
1287
1288         Unreviewed, rolling out r107766.
1289         http://trac.webkit.org/changeset/107766
1290         https://bugs.webkit.org/show_bug.cgi?id=78665
1291
1292         Breaks Chromium Win build (Requested by bashi1 on #webkit).
1293
1294         * WebKit.gypi:
1295         * tests/WebSocketDeflaterTest.cpp: Removed.
1296
1297 2012-02-14  Kenichi Ishibashi  <bashi@chromium.org>
1298
1299         [WebSocket] Add extension attribute support
1300         https://bugs.webkit.org/show_bug.cgi?id=78557
1301
1302         Add WebSocketExtensionDispatcher::acceptedExtensions() checks.
1303
1304         Reviewed by Kent Tamura.
1305
1306         * tests/WebSocketExtensionDispatcherTest.cpp:
1307         (WebCore::TEST_F):
1308
1309 2012-02-14  Kenichi Ishibashi  <bashi@chromium.org>
1310
1311         [WebSocket] Add deflater/inflater classes.
1312         https://bugs.webkit.org/show_bug.cgi?id=78449
1313
1314         Add tests which ensure WebSocketDeflater/WebSocketInflater can
1315         compress/decompress data correctly.
1316
1317         Reviewed by Kent Tamura.
1318
1319         * WebKit.gypi:
1320         * tests/WebSocketDeflaterTest.cpp: Added.
1321         (WebCore):
1322         (WebCore::TEST):
1323
1324 2012-02-14  Dana Jansens  <danakj@chromium.org>
1325
1326         [chromium] Compare filters on impl thread when setting them, and test setting in unit tests
1327         https://bugs.webkit.org/show_bug.cgi?id=78643
1328
1329         Reviewed by James Robinson.
1330
1331         * tests/CCLayerImplTest.cpp:
1332         (WebCore::TEST):
1333
1334 2012-02-14  Ramya Chandrasekaran  <cramya@google.com>
1335
1336         Last character display for passwords in Android.
1337         https://bugs.webkit.org/show_bug.cgi?id=78532
1338
1339         Reviewed by Adam Barth.
1340
1341         * public/WebSettings.h:
1342         * src/WebSettingsImpl.cpp:
1343         (WebKit::WebSettingsImpl::setPasswordEchoEnabled):
1344         (WebKit):
1345         (WebKit::WebSettingsImpl::setPasswordEchoDurationInSeconds):
1346         * src/WebSettingsImpl.h:
1347         (WebSettingsImpl):
1348
1349 2012-02-14  David Reveman  <reveman@chromium.org>
1350
1351         [Chromium] Expose perTilePainting setting through WebLayerTreeView::Settings interface.
1352         https://bugs.webkit.org/show_bug.cgi?id=76937
1353
1354         Reviewed by James Robinson.
1355
1356         Add perTilePainting to WebLayerTreeView::Settings.
1357
1358         * public/platform/WebLayerTreeView.h:
1359         (WebKit::WebLayerTreeView::Settings::Settings):
1360         (Settings):
1361         * src/WebLayerTreeView.cpp:
1362         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
1363
1364 2012-02-14  Vsevolod Vlasov  <vsevik@chromium.org>
1365
1366         Web Inspector: Make ScriptsNavigator default file selector.
1367         https://bugs.webkit.org/show_bug.cgi?id=78349
1368
1369         Reviewed by Pavel Feldman.
1370
1371         * src/js/Tests.js:
1372         (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkNoDuplicates):
1373         (.TestSuite.prototype.uiSourceCodesToString_):
1374         (.TestSuite.prototype.nonAnonymousUISourceCodes_):
1375         (.TestSuite.prototype._scriptsAreParsed):
1376         (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts):
1377         (.TestSuite.prototype._waitUntilScriptsAreParsed):
1378
1379 2012-02-14  Hayato Ito  <hayato@chromium.org>
1380
1381         Make ShadowRoot.nodeType return DOCUMENT_FRAGMENT_NODE.
1382         https://bugs.webkit.org/show_bug.cgi?id=77514
1383
1384         Reviewed by Dimitri Glazkov.
1385
1386         NodeType.SHADOW_ROOT_NODE type is finally gone.
1387
1388         * src/WebPageSerializerImpl.cpp:
1389         (WebKit::WebPageSerializerImpl::buildContentForNode):
1390
1391 2012-02-14  David Reveman  <reveman@chromium.org>
1392
1393         [Chromium] Inconsistent initialization of CCSettings in WebLayerTreeView.
1394         https://bugs.webkit.org/show_bug.cgi?id=76927
1395
1396         Reviewed by James Robinson.
1397
1398         Remove unnecessary initialization and include maxPartialTextureUpdates
1399         in FIXME comment.
1400
1401         * src/WebLayerTreeView.cpp:
1402         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
1403
1404 2012-02-14  Sheriff Bot  <webkit.review.bot@gmail.com>
1405
1406         Unreviewed, rolling out r107661.
1407         http://trac.webkit.org/changeset/107661
1408         https://bugs.webkit.org/show_bug.cgi?id=78591
1409
1410         crash on lion/qt bots (Requested by hayato on #webkit).
1411
1412         * src/WebPageSerializerImpl.cpp:
1413         (WebKit::WebPageSerializerImpl::buildContentForNode):
1414
1415 2012-02-14  Yuzhu Shen  <yzshen@chromium.com>
1416
1417         [chromium] Pepper plugins don't receive mouse movement information in
1418         non-mouse-lock mode.
1419         https://bugs.webkit.org/show_bug.cgi?id=78014
1420
1421         This change makes WebMouseEventBuilder pass along mouse movement
1422         information properly.
1423
1424         There isn't test for this change because:
1425         - the movement information added is only used by pepper, and there
1426           isn't any test for pepper at the WebKit side. (WebKit doesn't know
1427           about pepper.)
1428         - this change is trivial. It just copies two newly-added data fields
1429           from MouseEvent to WebMouseEventBuilder during conversion.
1430
1431         Reviewed by Tony Chang.
1432
1433         * src/WebInputEventConversion.cpp:
1434         (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
1435
1436 2012-02-11  Nikolas Zimmermann  <nzimmermann@rim.com>
1437
1438         Convert svg/animations to use SMIL methods for driving the timeline
1439         https://bugs.webkit.org/show_bug.cgi?id=78422
1440
1441         Reviewed by Dirk Schulze.
1442
1443         Remove SVG animation sampling functionality provided for DRT, which no longer uses it.
1444         Instead we switched the svg/animations tests to use SVGSVGElement.setCurrentTime.
1445
1446         * public/WebFrame.h:
1447         (WebFrame):
1448         * src/WebFrameImpl.cpp:
1449         * src/WebFrameImpl.h:
1450         (WebFrameImpl):
1451
1452 2012-02-13  Mihai Parparita  <mihaip@chromium.org>
1453
1454         [Chromium] Remove BoundObject
1455         https://bugs.webkit.org/show_bug.cgi?id=78531
1456
1457         Reviewed by Pavel Feldman.
1458
1459         Remove the BoundObject class, references to it were removed in r56999.
1460
1461         * WebKit.gyp:
1462         * src/BoundObject.cpp: Removed.
1463         * src/BoundObject.h: Removed.
1464         * src/WebDevToolsFrontendImpl.cpp:
1465
1466 2012-02-13  W. James MacLean  <wjmaclean@chromium.org>
1467
1468         [chromium] Remove obsolete zoom animation pathway.
1469         https://bugs.webkit.org/show_bug.cgi?id=78359
1470
1471         Reviewed by James Robinson.
1472
1473         This patch removes dead code from the previous incarnation of zoom animation for chromium.
1474
1475         * src/WebViewImpl.cpp:
1476
1477 2012-02-13  Hayato Ito  <hayato@chromium.org>
1478
1479         Make ShadowRoot.nodeType return DOCUMENT_FRAGMENT_NODE.
1480         https://bugs.webkit.org/show_bug.cgi?id=77514
1481
1482         Reviewed by Dimitri Glazkov.
1483
1484         NodeType.SHADOW_ROOT_NODE type is finally gone.
1485
1486         * src/WebPageSerializerImpl.cpp:
1487         (WebKit::WebPageSerializerImpl::buildContentForNode):
1488
1489 2012-02-13  Nico Weber  <thakis@chromium.org>
1490
1491         [chromium] Let WebKit::initialize call InitWebCoreSystemInterface on mac.
1492         https://bugs.webkit.org/show_bug.cgi?id=78246
1493
1494         This allows removing a bunch of code in chromium land (https://chromiumcodereview.appspot.com/9374020/),
1495         and helps with the component build on mac (InitWebCoreSystemInterface is not an
1496         exported function, and it shouldn't be).
1497
1498         Source/WebKit/mac/WebCoreSupport/WebSystemInterface.mm early-returns when it's
1499         called twice, so it's safe to land this change, and remove the calls in client
1500         code in a later CL.
1501
1502         Reviewed by Darin Fisher.
1503
1504         * src/WebKit.cpp:
1505         (WebKit::initializeWithoutV8):
1506
1507 2012-02-13  Yosifumi Inoue  <yosin@chromium.org>
1508
1509         [Forms] Use enum instead of bool for HTMLInputElement::setValue
1510         https://bugs.webkit.org/show_bug.cgi?id=75217
1511
1512         Reviewed by Kent Tamura.
1513
1514         * src/WebInputElement.cpp:
1515         (WebKit::WebInputElement::setValue): Use enum for HTMLInputElement::setValue
1516
1517 2012-02-12  Hajime Morrita  <morrita@chromium.org>
1518
1519         Page should have less intrusive way to associate API implementation objects.
1520         https://bugs.webkit.org/show_bug.cgi?id=78085
1521
1522         Reviewed by Adam Barth.
1523
1524         * src/WebViewImpl.cpp:
1525         (WebKit::WebViewImpl::WebViewImpl):
1526
1527 2012-02-10  David Grogan  <dgrogan@chromium.org>
1528
1529         Disable IndexedDB permissions check from shared workers
1530         https://bugs.webkit.org/show_bug.cgi?id=78316
1531
1532         We want to temporarily bypass this check because it causes a crash
1533         when called from a shared worker.  We'll have to fix it before
1534         including idb on shared workers in a release but don't want to stop
1535         developers from testing out idb on shared workers.
1536
1537         No new tests because it affects shared workers only, which aren't
1538         testable by DRT.
1539
1540         Reviewed by Tony Chang.
1541
1542         * src/IDBFactoryBackendProxy.cpp:
1543         (WebKit::IDBFactoryBackendProxy::allowIDBFromWorkerThread):
1544
1545 2012-02-10  Sheriff Bot  <webkit.review.bot@gmail.com>
1546
1547         Unreviewed.  Rolled DEPS.
1548
1549         * DEPS:
1550
1551 2012-02-09  Kenichi Ishibashi  <bashi@chromium.org>
1552
1553         Add WebSocket extension support
1554         https://bugs.webkit.org/show_bug.cgi?id=78079
1555
1556         Add some tests which check WebSocketExtensions::processHeaderValue()
1557         parses the given response correctly.
1558
1559         Reviewed by Kent Tamura.
1560
1561         * WebKit.gypi:
1562         * tests/WebSocketExtensionDispatcherTest.cpp: Added.
1563         (WebCore):
1564         (MockWebSocketExtensionProcessor):
1565         (WebCore::MockWebSocketExtensionProcessor::MockWebSocketExtensionProcessor):
1566         (WebSocketExtensionDispatcherTest):
1567         (WebCore::WebSocketExtensionDispatcherTest::WebSocketExtensionDispatcherTest):
1568         (WebCore::WebSocketExtensionDispatcherTest::SetUp):
1569         (WebCore::WebSocketExtensionDispatcherTest::TearDown):
1570         (WebCore::WebSocketExtensionDispatcherTest::addMockProcessor):
1571         (WebCore::WebSocketExtensionDispatcherTest::appendResult):
1572         (WebCore::MockWebSocketExtensionProcessor::processResponse):
1573         (WebCore::TEST_F):
1574
1575 2012-02-09  W. James MacLean  <wjmaclean@chromium.org>
1576
1577         [chromium] Add support for starting page/scale animations on CC impl thread from WebViewImpl
1578         https://bugs.webkit.org/show_bug.cgi?id=77872
1579
1580         Reviewed by James Robinson.
1581
1582         Provides a pathway to invoke CCLayerTreeHostImpl::startPageScaleAnimation() from
1583         WebViewImpl. This is intended to support scale and scroll animations, such as WebInputEvent::GestureDoubleTap.
1584
1585         * src/WebViewImpl.cpp:
1586         (WebKit):
1587         (WebKit::WebViewImpl::startPageScaleAnimation):
1588         * src/WebViewImpl.h:
1589         (WebViewImpl):
1590         * tests/CCLayerTreeHostTest.cpp:
1591         (WTF):
1592         (CCLayerTreeHostTestStartPageScaleAnimation):
1593         (WTF::CCLayerTreeHostTestStartPageScaleAnimation::CCLayerTreeHostTestStartPageScaleAnimation):
1594         (WTF::CCLayerTreeHostTestStartPageScaleAnimation::beginTest):
1595         (WTF::CCLayerTreeHostTestStartPageScaleAnimation::requestStartPageScaleAnimation):
1596         (WTF::CCLayerTreeHostTestStartPageScaleAnimation::drawLayersOnCCThread):
1597         (WTF::CCLayerTreeHostTestStartPageScaleAnimation::applyScrollAndScale):
1598         (WTF::CCLayerTreeHostTestStartPageScaleAnimation::commitCompleteOnCCThread):
1599         (WTF::CCLayerTreeHostTestStartPageScaleAnimation::afterTest):
1600         (WTF::TEST_F):
1601
1602 2012-02-09  John Bates  <jbates@google.com>
1603
1604         [Chromium] Add chromium-style tracing support
1605         https://bugs.webkit.org/show_bug.cgi?id=76885
1606
1607         Reviewed by Darin Fisher.
1608
1609         This code enables WebKit trace events to pass through more data to the
1610         chromium platform tracing API and generally to use the full tracing
1611         API provided by chromium.
1612
1613         * public/platform/WebKitPlatformSupport.h:
1614         (WebKit::WebKitPlatformSupport::getTraceCategoryEnabledFlag):
1615         (WebKit::WebKitPlatformSupport::addTraceEvent):
1616         * src/PlatformSupport.cpp:
1617         (WebCore::PlatformSupport::getTraceCategoryEnabledFlag):
1618         (WebCore::PlatformSupport::addTraceEvent):
1619
1620 2012-02-09  Jonathan Backer  <backer@chromium.org>
1621
1622         [chromium] Plumb setNeedsRedraw.
1623         https://bugs.webkit.org/show_bug.cgi?id=78248
1624
1625         Reviewed by James Robinson.
1626
1627         * public/platform/WebLayerTreeView.h:
1628         (WebLayerTreeView):
1629         * src/WebLayerTreeView.cpp:
1630         (WebKit::WebLayerTreeView::setNeedsRedraw):
1631         (WebKit):
1632
1633 2012-02-09  Jonathan Backer  <backer@chromium.org>
1634
1635         [chromium] Add setNeedsRedraw to WebWidget
1636         https://bugs.webkit.org/show_bug.cgi?id=77555
1637
1638         Reviewed by James Robinson.
1639
1640         * public/WebWidget.h:
1641         (WebWidget):
1642         (WebKit::WebWidget::setNeedsRedraw):
1643         * src/WebViewImpl.cpp:
1644         (WebKit::WebViewImpl::setNeedsRedraw):
1645         (WebKit):
1646         * src/WebViewImpl.h:
1647         (WebViewImpl):
1648
1649 2012-02-08  Raymond Liu  <raymond.liu@intel.com>
1650
1651         Fix a typo for r107125
1652         https://bugs.webkit.org/show_bug.cgi?id=77804
1653
1654         Reviewed by James Robinson.
1655
1656         * tests/WebCompositorInputHandlerImplTest.cpp:
1657
1658 2012-02-08  David Reveman  <reveman@chromium.org>
1659
1660         [Chromium] Avoid unnecessary full tile updates without breaking atomicity of commits.
1661         https://bugs.webkit.org/show_bug.cgi?id=76740
1662
1663         Reviewed by James Robinson.
1664
1665         Add CCLayerTreeHostTestAtomicCommitWithPartialUpdate and
1666         TiledLayerChromiumTest.partialUpdates tests that verifies
1667         atomicity of commits with partial updates.
1668
1669         * tests/CCLayerTreeHostTest.cpp:
1670         (WTF::CCLayerTreeHostTestAtomicCommit::CCLayerTreeHostTestAtomicCommit):
1671         (WTF::CCLayerTreeHostTestAtomicCommit::beginTest):
1672         (WTF::CCLayerTreeHostTestAtomicCommit::commitCompleteOnCCThread):
1673         (WTF::CCLayerTreeHostTestAtomicCommit::layout):
1674         (CCLayerTreeHostTestAtomicCommit):
1675         (CCLayerTreeHostTestAtomicCommitWithPartialUpdate):
1676         (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::CCLayerTreeHostTestAtomicCommitWithPartialUpdate):
1677         (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::beginTest):
1678         (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::commitCompleteOnCCThread):
1679         (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::drawLayersOnCCThread):
1680         (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::layout):
1681         (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::afterTest):
1682         (WTF):
1683         (WTF::TEST_F):
1684         * tests/TiledLayerChromiumTest.cpp:
1685         (WTF::FakeLayerTextureUpdater::Texture::Texture):
1686         (WTF::FakeLayerTextureUpdater::Texture::updateRect):
1687         (Texture):
1688         (WTF::FakeLayerTextureUpdater::FakeLayerTextureUpdater):
1689         (FakeLayerTextureUpdater):
1690         (WTF::FakeLayerTextureUpdater::updateCount):
1691         (WTF::FakeLayerTextureUpdater::clearUpdateCount):
1692         (WTF::FakeLayerTextureUpdater::updateRect):
1693         (WTF::FakeLayerTextureUpdater::createTexture):
1694         (FakeTiledLayerChromium):
1695         (WTF::TEST):
1696         (WTF):
1697
1698 2012-02-07  MORITA Hajime  <morrita@google.com>
1699
1700         Replacement text should be available from the marker.
1701         https://bugs.webkit.org/show_bug.cgi?id=77934
1702
1703         didFinishCheckingText() accidentally dropped the description text
1704         given from the backend. Fixed to copy it on the API-to-Core
1705         convertion. The test won't work without this fix.
1706
1707         Reviewed by Kent Tamura.
1708
1709         * src/WebTextCheckingCompletionImpl.cpp:
1710         (WebKit::toCoreResults):
1711
1712 2012-02-08  Dmitry Lomov  <dslomov@chromium.org>
1713
1714         [V8][Chromium] Race between worker accessing WebDatabase and frame closing down.
1715         https://bugs.webkit.org/show_bug.cgi?id=78150
1716         Handle case when the frame is shut down under us gracefully.
1717
1718         Reviewed by David Levin.
1719
1720         * src/DatabaseObserver.cpp:
1721         (WebCore::DatabaseObserver::canEstablishDatabase): Handle WebWorkerBase::view returning 0.
1722         * src/IDBFactoryBackendProxy.cpp:
1723         (WebKit::IDBFactoryBackendProxy::openFromWorker): Handle WebWorkerBase::view returning 0.
1724         * src/WebWorkerClientImpl.cpp:
1725         (WebKit::WebWorkerClientImpl::allowFileSystem):
1726         (WebKit::WebWorkerClientImpl::allowDatabase):
1727         (WebKit::WebWorkerClientImpl::view):
1728
1729 2012-02-08  Adam Klein  <adamk@chromium.org>
1730
1731         DOM mutations should not be delivered on worker threads
1732         https://bugs.webkit.org/show_bug.cgi?id=77898
1733
1734         Reviewed by Dmitry Titov.
1735
1736         * src/WebDevToolsFrontendImpl.cpp:
1737         (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
1738
1739 2012-02-08  Scott Graham  <scottmg@chromium.org>
1740
1741         Roll Chromium DEPS
1742         https://bugs.webkit.org/show_bug.cgi?id=78152
1743
1744         Reviewed by Adam Barth.
1745
1746         * DEPS:
1747
1748 2012-02-08  Dana Jansens  <danakj@chromium.org>
1749
1750         [Chromium] Fix opaque tracking for box shadows and non-composited child elements
1751         https://bugs.webkit.org/show_bug.cgi?id=78073
1752
1753         Reviewed by Stephen White.
1754
1755         * tests/PlatformContextSkiaTest.cpp:
1756         (WebCore::TEST):
1757         (WebCore):
1758
1759 2012-02-08  Shawn Singh  <shawnsingh@chromium.org>
1760
1761         [chromium] Remove incorrect early exit in CCDamageTracker
1762         https://bugs.webkit.org/show_bug.cgi?id=76924
1763
1764         Reviewed by James Robinson.
1765
1766         * tests/CCDamageTrackerTest.cpp:
1767         (WebKitTests::emulateDrawingOneFrame):
1768         (WebKitTests::TEST_F):
1769         (WebKitTests):
1770
1771 2012-02-08  Sadrul Habib Chowdhury  <sadrul@chromium.org>
1772
1773         Add support for pinch gesture processing in the MT compositor.
1774         https://bugs.webkit.org/show_bug.cgi?id=77804
1775
1776         Reviewed by James Robinson.
1777
1778         * public/WebInputEvent.h:
1779         * src/WebCompositorInputHandlerImpl.cpp:
1780         (WebKit::WebCompositorInputHandlerImpl::WebCompositorInputHandlerImpl):
1781         (WebKit::WebCompositorInputHandlerImpl::handleInputEvent):
1782         * src/WebCompositorInputHandlerImpl.h:
1783         (WebCompositorInputHandlerImpl):
1784         * src/WebInputEventConversion.cpp:
1785         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
1786         * src/WebPopupMenuImpl.cpp:
1787         (WebKit::WebPopupMenuImpl::handleInputEvent):
1788         * src/WebViewImpl.cpp:
1789         (WebKit::WebViewImpl::handleInputEvent):
1790         * tests/WebCompositorInputHandlerImplTest.cpp:
1791
1792 2012-02-08  Nico Weber  <nicolasweber@gmx.de>
1793
1794         [chromium] Make dependency on Accelerate.framework explicit.
1795         https://bugs.webkit.org/show_bug.cgi?id=78131
1796
1797         It's used by platform/audio/mac/FFTFrameMac.cpp. The explicit
1798         dependency is needed to build a libwebkit.dylib.
1799
1800         Reviewed by Tony Chang.
1801
1802         * WebKit.gyp:
1803
1804 2012-02-08  Bernhard Bauer  <bauerb@google.com>
1805
1806         [Chromium] Don't add selection from password fields to context menu.
1807         https://bugs.webkit.org/show_bug.cgi?id=77733
1808
1809         Reviewed by Adam Barth.
1810
1811         * src/ContextMenuClientImpl.cpp:
1812         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
1813
1814 2012-02-08  Nico Weber  <nicolasweber@gmx.de>
1815
1816         [chromium] Let -Wglobal-constructors hack in shared build metastasize to mac
1817         https://bugs.webkit.org/show_bug.cgi?id=78130
1818
1819         Reviewed by Tony Chang.
1820
1821         * WebKit.gyp:
1822
1823 2012-02-08  Alexei Svitkine  <asvitkine@chromium.org>
1824
1825         Chromium: Fix Mac rubber band overhang drawing on composited pages and re-enable tests.
1826         https://bugs.webkit.org/show_bug.cgi?id=78007
1827
1828         This got broken by: http://trac.webkit.org/changeset/105470
1829         And the tests were accidentally(?) disabled in: http://trac.webkit.org/changeset/95191
1830
1831         There is still three tests that fail from the set, but the cause for these is different,
1832         which I'm still investigating.
1833
1834         Reviewed by James Robinson.
1835
1836         * src/NonCompositedContentHost.cpp:
1837         (WebKit::NonCompositedContentHost::NonCompositedContentHost):
1838
1839 2012-02-07  James Robinson  <jamesr@chromium.org>
1840
1841         [chromium] Move geometry headers in Platform API to Platform directory
1842         https://bugs.webkit.org/show_bug.cgi?id=78067
1843
1844         Reviewed by Adam Barth.
1845
1846         Add forwarding headers for several API types moved into Platform.
1847
1848         * public/platform/WebFloatPoint.h:
1849         * public/platform/WebFloatQuad.h:
1850         * public/platform/WebFloatRect.h:
1851         * public/platform/WebPoint.h:
1852         * public/platform/WebRect.h:
1853         * public/platform/WebSize.h:
1854
1855 2012-02-07  MORITA Hajime  <morrita@google.com>
1856
1857         [Chromium] WebTextCheckingResult should have new default constructor
1858         https://bugs.webkit.org/show_bug.cgi?id=78066
1859
1860         Reviewed by Ryosuke Niwa.
1861
1862         Added a new default constructor. ex-default constructor will be removed
1863         in an upcoming change.
1864
1865         * public/WebTextCheckingResult.h:
1866         (WebKit::WebTextCheckingResult::WebTextCheckingResult):
1867         (WebTextCheckingResult):
1868
1869 2012-02-07  Gregg Tavares  <gman@google.com>
1870
1871         Plumb through webGLErrorsToConsoleEnable in WebSettings
1872         https://bugs.webkit.org/show_bug.cgi?id=78061
1873
1874         Reviewed by Kenneth Russell.
1875
1876         * public/WebSettings.h:
1877         * src/WebSettingsImpl.cpp:
1878         (WebKit::WebSettingsImpl::setWebGLErrorsToConsoleEnabled):
1879         (WebKit):
1880         * src/WebSettingsImpl.h:
1881         (WebSettingsImpl):
1882
1883 2012-02-07  Robert Kroeger  <rjkroege@chromium.org>
1884
1885         [chromium] Remove no longer necessary Chromium gesture recognizer code.
1886         https://bugs.webkit.org/show_bug.cgi?id=77492
1887
1888         Reviewed by Adam Barth.
1889
1890         * WebKit.gypi:
1891         * features.gypi:
1892         * src/WebFrameImpl.cpp:
1893         (WebKit::WebFrameImpl::createFrameView):
1894         * src/WebPopupMenuImpl.cpp:
1895         (WebKit::WebPopupMenuImpl::WebPopupMenuImpl):
1896         (WebKit::WebPopupMenuImpl::handleTouchEvent):
1897         * src/WebPopupMenuImpl.h:
1898         * src/WebViewImpl.cpp:
1899         (WebKit::WebViewImpl::WebViewImpl):
1900         (WebKit::WebViewImpl::touchEvent):
1901         * src/WebViewImpl.h:
1902         (WebCore):
1903         (WebViewImpl):
1904         * tests/InnerGestureRecognizerTest.cpp: Removed.
1905
1906 2012-02-07  David Reveman  <reveman@chromium.org>
1907
1908         [Chromium] REGRESSION(r101854): Causing large amounts of unnecessary repainting.
1909         https://bugs.webkit.org/show_bug.cgi?id=78020
1910
1911         Reviewed by James Robinson.
1912
1913         Update TextureManagerTest.requestTextureExceedingPreferredLimit test.
1914
1915         * tests/TextureManagerTest.cpp:
1916         (WTF::TextureManagerTest::requestTexture):
1917         (WTF::TEST_F):
1918
1919 2012-02-07  Dana Jansens  <danakj@chromium.org>
1920
1921         [chromium] Unit test for bug #77996
1922         https://bugs.webkit.org/show_bug.cgi?id=78019
1923
1924         Reviewed by James Robinson.
1925
1926         * tests/CCLayerTreeHostTest.cpp:
1927         (CCLayerTreeHostTestManySurfaces):
1928         (WTF::CCLayerTreeHostTestManySurfaces::CCLayerTreeHostTestManySurfaces):
1929         (WTF::CCLayerTreeHostTestManySurfaces::beginTest):
1930         (WTF::CCLayerTreeHostTestManySurfaces::afterTest):
1931         (WTF):
1932
1933 2012-02-07  Sadrul Habib Chowdhury  <sadrul@chromium.org>
1934
1935         Process Scroll-gesture events from the compositor.
1936         https://bugs.webkit.org/show_bug.cgi?id=77477
1937
1938         Reviewed by James Robinson.
1939
1940         * src/WebCompositorInputHandlerImpl.cpp:
1941         (WebKit::WebCompositorInputHandlerImpl::WebCompositorInputHandlerImpl):
1942         (WebKit::WebCompositorInputHandlerImpl::handleInputEvent):
1943         * src/WebCompositorInputHandlerImpl.h:
1944         (WebCompositorInputHandlerImpl):
1945
1946 2012-02-07  Anders Carlsson  <andersca@apple.com>
1947
1948         ScrollableAreaSet should be moved from Page to FrameView
1949         https://bugs.webkit.org/show_bug.cgi?id=62762
1950
1951         Reviewed by Beth Dakin.
1952
1953         Update for changes to WebCore now that the scrollable area set is kept per frame view.
1954
1955         * src/ScrollbarGroup.cpp:
1956         (WebKit::ScrollbarGroup::ScrollbarGroup):
1957         (WebKit::ScrollbarGroup::~ScrollbarGroup):
1958         * src/ScrollbarGroup.h:
1959         (WebCore):
1960         (ScrollbarGroup):
1961         * src/WebPluginContainerImpl.cpp:
1962         (WebKit::WebPluginContainerImpl::scrollbarGroup):
1963
1964 2012-02-07  Hans Wennborg  <hans@chromium.org>
1965
1966         Chromium: remove WebSpeechInputResult::set
1967         https://bugs.webkit.org/show_bug.cgi?id=77977
1968
1969         Reviewed by Darin Fisher.
1970
1971         It was renamed to assign() in r106475.
1972
1973         * public/WebSpeechInputResult.h:
1974
1975 2012-02-07  Sheriff Bot  <webkit.review.bot@gmail.com>
1976
1977         Unreviewed, rolling out r106935.
1978         http://trac.webkit.org/changeset/106935
1979         https://bugs.webkit.org/show_bug.cgi?id=77994
1980
1981         "Crashes runMultiThread webkit_unit_test" (Requested by tonyg-
1982         cr on #webkit).
1983
1984         * public/WebWidget.h:
1985         (WebWidget):
1986         * src/WebViewImpl.cpp:
1987         * src/WebViewImpl.h:
1988         (WebViewImpl):
1989
1990 2012-02-07  Jonathan Backer  <backer@chromium.org>
1991
1992         [chromium] Add setNeedsRedraw to WebWidget
1993         https://bugs.webkit.org/show_bug.cgi?id=77555
1994
1995         Reviewed by James Robinson.
1996
1997         * public/WebWidget.h:
1998         (WebWidget):
1999         (WebKit::WebWidget::setNeedsRedraw):
2000         * src/WebViewImpl.cpp:
2001         (WebKit::WebViewImpl::setNeedsRedraw):
2002         (WebKit):
2003         * src/WebViewImpl.h:
2004         (WebViewImpl):
2005
2006 2012-02-07  Sheriff Bot  <webkit.review.bot@gmail.com>
2007
2008         Unreviewed.  Rolled DEPS.
2009
2010         * DEPS:
2011
2012 2012-02-06  James Robinson  <jamesr@chromium.org>
2013
2014         [chromium] canvas demo is slow due to unnecessary resource cleanups
2015         https://bugs.webkit.org/show_bug.cgi?id=77135
2016
2017         Reviewed by Kenneth Russell.
2018
2019         * tests/Canvas2DLayerChromiumTest.cpp:
2020         (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
2021         * tests/TextureManagerTest.cpp:
2022         * tests/TiledLayerChromiumTest.cpp:
2023
2024 2012-02-06  Julien Chaffraix  <jchaffraix@webkit.org>
2025
2026         Unreviewed gardening.
2027
2028         * DEPS: Rolling the DEPS to get the apple_webkit update
2029         and fix the Chromium build.
2030
2031 2012-02-06  Emil A Eklund  <eae@chromium.org>
2032
2033         Convert PopupMenuClient::clientPadding over to new layout abstraction
2034         https://bugs.webkit.org/show_bug.cgi?id=77798
2035
2036         Reviewed by Eric Seidel.
2037
2038         Change PopupMenuClient and all classes inheriting from it to use the new
2039         layout types for padding.
2040
2041         * src/AutofillPopupMenuClient.cpp:
2042         (WebKit::AutofillPopupMenuClient::clientPaddingLeft):
2043         (WebKit::AutofillPopupMenuClient::clientPaddingRight):
2044         * src/AutofillPopupMenuClient.h:
2045         (AutofillPopupMenuClient):
2046         * tests/PopupMenuTest.cpp:
2047         (WebKit::TestPopupMenuClient::clientPaddingLeft):
2048         (WebKit::TestPopupMenuClient::clientPaddingRight):
2049
2050 2012-02-06  James Robinson  <jamesr@chromium.org>
2051
2052         [chromium] Drop tiles completely outside of layer bounds when resizing to a smaller size
2053         https://bugs.webkit.org/show_bug.cgi?id=77910
2054
2055         Reviewed by Kenneth Russell.
2056
2057         Adds test for resizing a layer to cover fewer tiles. Test hits ASSERT()s without any code changes.
2058
2059         * tests/TiledLayerChromiumTest.cpp:
2060         (::TEST):
2061
2062 2012-02-06  Ryosuke Niwa  <rniwa@webkit.org>
2063
2064         Revert r106859. It was completely bogus.
2065
2066         * src/WebViewImpl.cpp:
2067         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
2068
2069 2012-02-06  Ryosuke Niwa  <rniwa@webkit.org>
2070
2071         Chromium build fix after r106836.
2072
2073         * src/WebViewImpl.cpp:
2074         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
2075
2076 2012-02-06  Eric Uhrhane  <ericu@chromium.org>
2077
2078         [filesystem/Chromium] crackFileSystemURL needs to use innerURL
2079         https://bugs.webkit.org/show_bug.cgi?id=77881
2080
2081         Reviewed by Adam Barth.
2082
2083         * src/AsyncFileSystemChromium.cpp:
2084         (WebCore::AsyncFileSystem::crackFileSystemURL):
2085         Add the new code path, taken only if innerURL is present.
2086
2087 2012-02-03  James Robinson  <jamesr@chromium.org>
2088
2089         [chromium] Support detaching TextureManager from ManagedTexture
2090         https://bugs.webkit.org/show_bug.cgi?id=77655
2091
2092         Adds unit test for destroying a TextureManager while ManagedTextures are still alive referring to it.
2093
2094         Reviewed by Kenneth Russell.
2095
2096         * tests/TextureManagerTest.cpp:
2097
2098 2012-02-06  Matthew Delaney  <mdelaney@apple.com>
2099
2100         toDataURL() uses stale data after putImageData()
2101         https://bugs.webkit.org/show_bug.cgi?id=65767
2102
2103         Reviewed by Chris Marrin.
2104
2105         * src/WebViewImpl.cpp: Updated method name.
2106         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
2107
2108 2012-02-06  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
2109
2110         Provide more attribute methods in Element
2111         https://bugs.webkit.org/show_bug.cgi?id=77800
2112
2113         Reviewed by Ryosuke Niwa.
2114
2115         * src/WebPageSerializerImpl.cpp:
2116         (WebKit::WebPageSerializerImpl::openTagToString): access attributes via Element interface.
2117
2118 2012-02-04  Shawn Singh  <shawnsingh@chromium.org>
2119
2120         [chromium] Add support to force full damage in CCDamageTracker
2121         https://bugs.webkit.org/show_bug.cgi?id=76805
2122
2123         Reviewed by James Robinson.
2124
2125         * tests/CCDamageTrackerTest.cpp:
2126         (WebKitTests::TEST_F):
2127         (WebKitTests):
2128
2129 2012-02-03  James Robinson  <jamesr@chromium.org>
2130
2131         [chromium] Defer makeContextCurrent in compositor until first frame
2132         https://bugs.webkit.org/show_bug.cgi?id=77269
2133
2134         Reviewed by Kenneth Russell.
2135
2136         * tests/CCLayerTreeHostTest.cpp:
2137         (WTF::CCLayerTreeHostTestSetViewportSize::beginTest):
2138         * tests/TiledLayerChromiumTest.cpp:
2139         (WTF::TEST):
2140
2141 2012-02-03  Beth Dakin  <bdakin@apple.com>
2142
2143         https://bugs.webkit.org/show_bug.cgi?id=77691
2144         Fix PlatformScreen layering violation and PlatformScreenMac's incorrect use 
2145         of device scale
2146
2147         Reviewed by Andy Estes.
2148
2149         These two functions now take a Widget again rather than a FrameView.
2150         * src/PlatformSupport.cpp:
2151         (WebCore::PlatformSupport::screenRect):
2152         (WebCore::PlatformSupport::screenAvailableRect):
2153
2154 2012-02-03  John Knottenbelt  <jknotten@chromium.org>
2155
2156         [skia] Fix unit test PlatformContextSkiaTest.trackOpaqueOvalTest
2157         https://bugs.webkit.org/show_bug.cgi?id=77738
2158
2159         We need to clear the bitmap before the test runs, otherwise the
2160         contents of the bitmap will be uninitialised. This causes an
2161         unpredicatable result as the canvas draw operations blend the
2162         destination bitmap with the source colour.
2163
2164         Similarly, valgrind discovered that
2165         PlatformContextSkiaTest.trackOpaqueTest and
2166         PlatformContextSkiaTest.trackOpaqueLineTest suffers from the same
2167         problem.
2168
2169         Also, re-enable WebFrameTest.FindInPage which was falsely
2170         blamed for making this test fail.
2171
2172         Reviewed by Stephen White.
2173
2174         * tests/PlatformContextSkiaTest.cpp:
2175         (WebCore::TEST):
2176         * tests/WebFrameTest.cpp:
2177         (WebKit::TEST_F):
2178
2179 2012-02-03  Dana Jansens  <danakj@chromium.org>
2180
2181         [Chromium] Use the current clip when marking paints as opaque
2182         https://bugs.webkit.org/show_bug.cgi?id=77582
2183
2184         Reviewed by Stephen White.
2185
2186         * tests/PlatformContextSkiaTest.cpp:
2187         (WebCore::TEST):
2188         (WebCore):
2189
2190 2012-02-03  Yury Semikhatsky  <yurys@chromium.org>
2191
2192         Unreviewed. Update Chromium deps.
2193
2194         * DEPS:
2195
2196 2012-02-02  Tommy Widenflycht  <tommyw@google.com>
2197
2198         [chromium] MediaStream API: Adding the embedding code for MediaStreamCenter
2199         https://bugs.webkit.org/show_bug.cgi?id=73130
2200
2201         Reviewed by Darin Fisher.
2202
2203         * WebKit.gyp:
2204         * bridge/MediaStreamCenter.cpp: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
2205         (WebCore):
2206         (WebCore::MediaStreamCenter::MediaStreamCenter):
2207         (WebCore::MediaStreamCenter::~MediaStreamCenter):
2208         (WebCore::MediaStreamCenter::queryMediaStreamSources):
2209         (WebCore::MediaStreamCenter::didSetMediaStreamTrackEnabled):
2210         (WebCore::MediaStreamCenter::didStopLocalMediaStream):
2211         (WebCore::MediaStreamCenter::didConstructMediaStream):
2212         * bridge/MediaStreamCenterInternal.cpp: Added.
2213         (WebCore):
2214         (WebCore::MediaStreamCenterInternal::MediaStreamCenterInternal):
2215         (WebCore::MediaStreamCenterInternal::~MediaStreamCenterInternal):
2216         (WebCore::MediaStreamCenterInternal::queryMediaStreamSources):
2217         (WebCore::MediaStreamCenterInternal::didSetMediaStreamTrackEnabled):
2218         (WebCore::MediaStreamCenterInternal::didStopLocalMediaStream):
2219         (WebCore::MediaStreamCenterInternal::didConstructMediaStream):
2220         (WebCore::MediaStreamCenterInternal::stopLocalMediaStream):
2221         * bridge/MediaStreamCenterInternal.h: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
2222         (WebKit):
2223         (WebCore):
2224         (MediaStreamCenterInternal):
2225         * public/platform/WebKitPlatformSupport.h:
2226         (WebKit):
2227         (WebKit::WebKitPlatformSupport::createMediaStreamCenter):
2228         * public/platform/WebMediaStreamCenter.h: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
2229         (WebKit):
2230         (WebMediaStreamCenter):
2231         (WebKit::WebMediaStreamCenter::~WebMediaStreamCenter):
2232         * public/platform/WebMediaStreamCenterClient.h: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
2233         (WebKit):
2234         (WebMediaStreamCenterClient):
2235         (WebKit::WebMediaStreamCenterClient::~WebMediaStreamCenterClient):
2236         * public/platform/WebMediaStreamComponent.h: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
2237         (WebCore):
2238         (WebKit):
2239         (WebMediaStreamComponent):
2240         (WebKit::WebMediaStreamComponent::WebMediaStreamComponent):
2241         (WebKit::WebMediaStreamComponent::~WebMediaStreamComponent):
2242         (WebKit::WebMediaStreamComponent::isNull):
2243         * public/platform/WebMediaStreamDescriptor.h:
2244         (WebKit):
2245         (WebMediaStreamDescriptor):
2246         * public/platform/WebMediaStreamSourcesRequest.h: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
2247         (WebCore):
2248         (WebKit):
2249         (WebMediaStreamSourcesRequest):
2250         (WebKit::WebMediaStreamSourcesRequest::WebMediaStreamSourcesRequest):
2251         (WebKit::WebMediaStreamSourcesRequest::~WebMediaStreamSourcesRequest):
2252         (WebKit::WebMediaStreamSourcesRequest::isNull):
2253         * src/UserMediaClientImpl.h:
2254         (UserMediaClientImpl):
2255         * src/WebMediaStreamComponent.cpp: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
2256         (WebKit):
2257         (WebKit::WebMediaStreamComponent::WebMediaStreamComponent):
2258         (WebKit::WebMediaStreamComponent::operator=):
2259         (WebKit::WebMediaStreamComponent::reset):
2260         (WebKit::WebMediaStreamComponent::operator PassRefPtr<MediaStreamComponent>):
2261         (WebKit::WebMediaStreamComponent::operator MediaStreamComponent*):
2262         (WebKit::WebMediaStreamComponent::isEnabled):
2263         (WebKit::WebMediaStreamComponent::source):
2264         * src/WebMediaStreamDescriptor.cpp:
2265         (WebKit::WebMediaStreamDescriptor::WebMediaStreamDescriptor):
2266         (WebKit):
2267         (WebKit::WebMediaStreamDescriptor::audioSources):
2268         (WebKit::WebMediaStreamDescriptor::videoSources):
2269         * src/WebMediaStreamSourcesRequest.cpp: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
2270         (WebKit):
2271         (WebKit::WebMediaStreamSourcesRequest::WebMediaStreamSourcesRequest):
2272         (WebKit::WebMediaStreamSourcesRequest::reset):
2273         (WebKit::WebMediaStreamSourcesRequest::audio):
2274         (WebKit::WebMediaStreamSourcesRequest::video):
2275         (WebKit::WebMediaStreamSourcesRequest::didCompleteQuery):
2276
2277 2012-02-02  Sheriff Bot  <webkit.review.bot@gmail.com>
2278
2279         Unreviewed.  Rolled DEPS.
2280
2281         * DEPS:
2282
2283 2012-02-02  Allan Sandfeld Jensen  <allan.jensen@nokia.com>
2284
2285         Update enum name for HitTestRequest::RequestType
2286         https://bugs.webkit.org/show_bug.cgi?id=77620
2287
2288         Reviewed by Kenneth Rohde Christiansen.
2289
2290         * src/WebFrameImpl.cpp:
2291         (WebKit::WebFrameImpl::visiblePositionForWindowPoint):
2292
2293 2012-02-02  Kinuko Yasuda  <kinuko@chromium.org>
2294
2295         Cleanup: Move chrome-specific filesystem type handling code (for FileSystem API) under chromium directory (re-landing r105395)
2296         https://bugs.webkit.org/show_bug.cgi?id=76551
2297
2298         * src/AssertMatchingEnums.cpp: Removed the matching assertion for AsyncFileSystem::External (as now we directly use WebFileSystem::TypeExternal).
2299         * src/AsyncFileSystemChromium.cpp:
2300         (WebCore::AsyncFileSystem::crackFileSystemURL): Added.
2301         (WebCore::AsyncFileSystem::isValidType): Added.
2302         (WebCore::AsyncFileSystemChromium::toURL): Added.
2303         * src/AsyncFileSystemChromium.h:
2304         (AsyncFileSystemChromium):
2305         * src/WorkerAsyncFileSystemChromium.cpp: Made this subclass of AsyncFileSystemChromium (rather than that of AsyncFileSystem)
2306         (WebCore::WorkerAsyncFileSystemChromium::WorkerAsyncFileSystemChromium):
2307         * src/WorkerAsyncFileSystemChromium.h:
2308         (WorkerAsyncFileSystemChromium):
2309
2310 2012-02-01  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
2311
2312         Avoid creating NamedNodeMap unnecessarily
2313         https://bugs.webkit.org/show_bug.cgi?id=77574
2314
2315         Reviewed by Ryosuke Niwa.
2316
2317         * src/WebPageSerializerImpl.cpp:
2318         (WebKit::WebPageSerializerImpl::openTagToString): use updatedAttributes().
2319
2320 2012-02-01  Justin Novosad  <junov@chromium.org>
2321
2322         [Chromium] Enable deferred canvas rendering in the skia port
2323         https://bugs.webkit.org/show_bug.cgi?id=76732
2324
2325         Reviewed by Stephen White.
2326
2327         Adding a new setting for enabling deferred 2d canvas rendering
2328
2329         * public/WebSettings.h:
2330         * src/WebSettingsImpl.cpp:
2331         (WebKit::WebSettingsImpl::setDeferred2dCanvasEnabled):
2332         (WebKit):
2333         * src/WebSettingsImpl.h:
2334         (WebSettingsImpl):
2335
2336 2012-02-01  Sheriff Bot  <webkit.review.bot@gmail.com>
2337
2338         Unreviewed, rolling out r106382.
2339         http://trac.webkit.org/changeset/106382
2340         https://bugs.webkit.org/show_bug.cgi?id=77571
2341
2342         Causing chromium crashes in PNGImageDecoder (Requested by
2343         japhet on #webkit).
2344
2345         * public/platform/WebKitPlatformSupport.h:
2346         (WebKitPlatformSupport):
2347         (WebKit::WebKitPlatformSupport::isTraceEventEnabled):
2348         (WebKit::WebKitPlatformSupport::traceEventBegin):
2349         (WebKit::WebKitPlatformSupport::traceEventEnd):
2350         * src/PlatformSupport.cpp:
2351         (WebCore::PlatformSupport::isTraceEventEnabled):
2352         (WebCore):
2353         (WebCore::PlatformSupport::traceEventBegin):
2354         (WebCore::PlatformSupport::traceEventEnd):
2355
2356 2012-02-01  Dirk Pranke  <dpranke@chromium.org>
2357
2358         TestWebKitAPI isn't being built on chromium bots any more
2359         https://bugs.webkit.org/show_bug.cgi?id=77563
2360
2361         Reviewed by Dimitri Glazkov.
2362
2363         I accidentally dropped it in the refactoring in r105449.
2364
2365         * All.gyp:
2366
2367 2012-02-01  Hans Wennborg  <hans@chromium.org>
2368
2369         Rename WebSpeechInputResult::set() to assign()
2370         https://bugs.webkit.org/show_bug.cgi?id=77540
2371
2372         Reviewed by Darin Fisher.
2373
2374         It was suggested in a previous code review
2375         (https://bugs.webkit.org/show_bug.cgi?id=77083#c5)
2376         that this function should be called assign().
2377
2378         * public/WebSpeechInputResult.h:
2379         (WebSpeechInputResult):
2380         (WebKit::WebSpeechInputResult::set):
2381         * src/WebSpeechInputResult.cpp:
2382         (WebKit::WebSpeechInputResult::assign):
2383
2384 2012-02-01  Kent Tamura  <tkent@chromium.org>
2385
2386         [Chromium] Disable WebFrameTest.FindInPage
2387         https://bugs.webkit.org/show_bug.cgi?id=77186
2388
2389         Disable it because PlatformContextSkiaTest.trackOpaqueOvalTest has
2390         been failing since FindInPage test was committed.
2391
2392         * tests/WebFrameTest.cpp:
2393         (WebKit::TEST_F):
2394
2395 2012-01-31  Ami Fischman  <fischman@chromium.org>
2396
2397         [chromium] enable -Wexit-time-destructors for webkit unit tests
2398         https://bugs.webkit.org/show_bug.cgi?id=77300
2399         Fix the only extant violation (verified by building webkit_unit_tests in static build).
2400
2401         Reviewed by Tony Chang.
2402
2403         * WebKitUnitTests.gyp:
2404         * tests/FrameTestHelpers.cpp:
2405         (WebKit::FrameTestHelpers::defaultWebFrameClient):
2406         (WebKit::FrameTestHelpers::defaultWebViewClient):
2407
2408 2012-01-31  Nico Weber  <thakis@chromium.org>
2409
2410         [chromium] Expose windowResizerRectChanged() on WebWidget.
2411         https://bugs.webkit.org/show_bug.cgi?id=77453
2412
2413         Needed for http://crbug.com/111266
2414
2415         Reviewed by Darin Fisher.
2416
2417         * public/WebWidget.h:
2418         (WebWidget):
2419         (WebKit::WebWidget::didChangeWindowResizerRect):
2420         * src/WebViewImpl.cpp:
2421         (WebKit::WebViewImpl::didChangeWindowResizerRect):
2422         (WebKit):
2423         * src/WebViewImpl.h:
2424         (WebViewImpl):
2425
2426 2012-01-31  Nat Duca  <nduca@chromium.org>
2427
2428         [chromium] Import PaintAggregator
2429         https://bugs.webkit.org/show_bug.cgi?id=53715
2430
2431         Reviewed by Darin Fisher.
2432
2433         * WebKit.gyp:
2434         * WebKit.gypi:
2435         * src/painting/PaintAggregator.cpp: Added.
2436         (WebKit::calculateArea):
2437         (WebKit::subtractIntersection):
2438         (WebKit::sharesEdge):
2439         (WebKit::PaintAggregator::PendingUpdate::PendingUpdate):
2440         (WebKit::PaintAggregator::PendingUpdate::~PendingUpdate):
2441         (WebKit::PaintAggregator::PendingUpdate::calculateScrollDamage):
2442         (WebKit::PaintAggregator::PendingUpdate::calculatePaintBounds):
2443         (WebKit::PaintAggregator::hasPendingUpdate):
2444         (WebKit::PaintAggregator::clearPendingUpdate):
2445         (WebKit::PaintAggregator::popPendingUpdate):
2446         (WebKit::PaintAggregator::invalidateRect):
2447         (WebKit::PaintAggregator::scrollRect):
2448         (WebKit::PaintAggregator::scrollPaintRect):
2449         (WebKit::PaintAggregator::shouldInvalidateScrollRect):
2450         (WebKit::PaintAggregator::invalidateScrollRect):
2451         (WebKit::PaintAggregator::combinePaintRects):
2452         * src/painting/PaintAggregator.h: Added.
2453         * tests/PaintAggregatorTest.cpp: Added.
2454         (WebKit::TEST):
2455
2456 2012-01-31  Fady Samuel  <fsamuel@chromium.org>
2457
2458         [Chromium] ChromeClientImpl::dispatchViewportPropertiesDidChange is repeatedly called in Google News
2459         https://bugs.webkit.org/show_bug.cgi?id=77429
2460
2461         Reviewed by Darin Fisher.
2462
2463         m_webView->isPageScaleFactorSet() is tested in ChromeClientImpl::layoutUpdated, and it is never true, 
2464         because WebViewImpl::setPageScaleFactorPreservingScrollOffset is called repeatedly and exits early 
2465         and thus never calls WebViewImpl::setPageScaleFactor which sets the flag.
2466         
2467         The simplest solution is to simply get rid of the early return in 
2468         WebViewImpl::setPageScaleFactorPreservingScrollOffset.
2469
2470         * src/WebViewImpl.cpp:
2471         (WebKit::WebViewImpl::setPageScaleFactorPreservingScrollOffset):
2472
2473 2012-01-31  Fady Samuel  <fsamuel@chromium.org>
2474
2475         [Chromium] Expose setLayoutFallbackWidth as a WebSetting
2476         https://bugs.webkit.org/show_bug.cgi?id=77431
2477
2478         Reviewed by Darin Fisher.
2479
2480         The layout fallback width is the default fixed layout width
2481         set for desktop web pages that lack a viewport tag. This width
2482         can vary from platform to platform and can depend on other factors,
2483         and so it should be a setting exposed to Chromium.
2484
2485         * public/WebSettings.h:
2486         ():
2487         * src/WebSettingsImpl.cpp:
2488         (WebKit::WebSettingsImpl::setLayoutFallbackWidth):
2489         (WebKit):
2490         * src/WebSettingsImpl.h:
2491         (WebSettingsImpl):
2492
2493 2012-01-31  Dana Jansens  <danakj@chromium.org>
2494
2495         [chromium] Compute occlusion during paint loop
2496         https://bugs.webkit.org/show_bug.cgi?id=76858
2497
2498         Reviewed by James Robinson.
2499
2500         * tests/CCLayerTreeHostCommonTest.cpp:
2501         (WebCore::TEST):
2502         (WebCore):
2503         * tests/CCLayerTreeHostTest.cpp:
2504         (WTF::ContentLayerChromiumWithUpdateTracking::paintContentsIfDirty):
2505         (WTF):
2506         (TestLayerChromium):
2507         (WTF::TestLayerChromium::create):
2508         (WTF::TestLayerChromium::paintContentsIfDirty):
2509         (WTF::TestLayerChromium::drawsContent):
2510         (WTF::TestLayerChromium::occludedScreenSpace):
2511         (WTF::TestLayerChromium::clearOccludedScreenSpace):
2512         (WTF::TestLayerChromium::TestLayerChromium):
2513         (WTF::setLayerPropertiesForTesting):
2514         (CCLayerTreeHostTestLayerOcclusion):
2515         (WTF::CCLayerTreeHostTestLayerOcclusion::CCLayerTreeHostTestLayerOcclusion):
2516         (WTF::CCLayerTreeHostTestLayerOcclusion::beginTest):
2517         (WTF::CCLayerTreeHostTestLayerOcclusion::afterTest):
2518         * tests/Canvas2DLayerChromiumTest.cpp:
2519         (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
2520         * tests/TiledLayerChromiumTest.cpp:
2521         (WTF::FakeLayerTextureUpdater::setOpaquePaintRect):
2522         (FakeLayerTextureUpdater):
2523         (WTF::FakeTiledLayerChromium::paintContentsIfDirty):
2524         (WTF::FakeLayerTextureUpdater::prepareToUpdate):
2525         (WTF::TEST):
2526         (WTF):
2527
2528 2012-01-31  John Bates  <jbates@google.com>
2529
2530         [Chromium] Add chromium-style tracing support
2531         https://bugs.webkit.org/show_bug.cgi?id=76885
2532
2533         Reviewed by Darin Fisher.
2534
2535         This code enables WebKit trace events to pass through more data to the
2536         chromium platform tracing API and generally to use the full tracing
2537         API provided by chromium.
2538
2539         * public/platform/WebKitPlatformSupport.h:
2540         (WebKit::WebKitPlatformSupport::getTraceCategoryEnabledFlag):
2541         (WebKit::WebKitPlatformSupport::addTraceEvent):
2542         * src/PlatformSupport.cpp:
2543         (WebCore::PlatformSupport::getTraceCategoryEnabledFlag):
2544         (WebCore::PlatformSupport::addTraceEvent):
2545
2546 2012-01-31  Antoine Labour  <piman@chromium.org>
2547
2548         Add back temporarily WebKitPlatformSupport::createGraphicsContext3D() to fix build
2549         https://bugs.webkit.org/show_bug.cgi?id=77467
2550
2551         Rubber-stamped by Nate Chapin <japhet@chromium.org>.
2552
2553         * public/platform/WebKitPlatformSupport.h:
2554         (WebKitPlatformSupport):
2555         (WebKit::WebKitPlatformSupport::createGraphicsContext3D):
2556
2557 2012-01-31  Antoine Labour  <piman@chromium.org>
2558
2559         Merge WebGraphicsContext3D creation and initialization, and move it to
2560         WebViewClient.
2561         https://bugs.webkit.org/show_bug.cgi?id=76593
2562
2563         Reviewed by Darin Fisher.
2564
2565         * public/WebViewClient.h:
2566         (WebKit::WebViewClient::createGraphicsContext3D):
2567         * public/platform/WebGraphicsContext3D.h:
2568         (WebKit::WebGraphicsContext3D::initialize):
2569         * public/platform/WebKitPlatformSupport.h:
2570         * src/GraphicsContext3DChromium.cpp:
2571
2572 2012-01-26  Hans Wennborg  <hans@chromium.org>
2573
2574         Speech Input: move MockSpeechInputClient into Chromium DumpRenderTree implementation
2575         https://bugs.webkit.org/show_bug.cgi?id=77083
2576
2577         Reviewed by Darin Fisher.
2578
2579         Remove the WebSpeechInputControllerMock interface and proxy
2580         implementation. The mock is moving to the DumpRenderTree
2581         implementation instead, which removes the need to expose this
2582         interface in the WebKit API.
2583
2584         Also add a proper copy constructor for WebSpeechInputResult.
2585         The default one doesn't do a proper copy.
2586
2587         * WebKit.gyp:
2588         * public/WebSpeechInputControllerMock.h: Removed.
2589         * public/WebSpeechInputResult.h:
2590         (WebKit::WebSpeechInputResult::WebSpeechInputResult):
2591         (WebSpeechInputResult):
2592         * src/WebSpeechInputControllerMockImpl.cpp: Removed.
2593         * src/WebSpeechInputControllerMockImpl.h: Removed.
2594         * src/WebSpeechInputResult.cpp:
2595         (WebKit::WebSpeechInputResult::set):
2596         (WebKit):
2597
2598 2012-01-31  Sheriff Bot  <webkit.review.bot@gmail.com>
2599
2600         Unreviewed.  Rolled DEPS.
2601
2602         * DEPS:
2603
2604 2012-01-30  Sheriff Bot  <webkit.review.bot@gmail.com>
2605
2606         Unreviewed, rolling out r106324.
2607         http://trac.webkit.org/changeset/106324
2608         https://bugs.webkit.org/show_bug.cgi?id=77406
2609
2610         Broke CCLayerTreeHostTestLayerOcclusion.runMultiThread and
2611         runSingleThread (Requested by yuzo1 on #webkit).
2612
2613         * tests/CCLayerTreeHostCommonTest.cpp:
2614         (WebCore):
2615         * tests/CCLayerTreeHostTest.cpp:
2616         (WTF::ContentLayerChromiumWithUpdateTracking::paintContentsIfDirty):
2617         * tests/Canvas2DLayerChromiumTest.cpp:
2618         (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
2619         * tests/TiledLayerChromiumTest.cpp:
2620         (FakeLayerTextureUpdater):
2621         (WTF::FakeTiledLayerChromium::paintContentsIfDirty):
2622         (WTF::FakeLayerTextureUpdater::prepareToUpdate):
2623
2624 2012-01-30  Dana Jansens  <danakj@chromium.org>
2625
2626         [chromium] Compute occlusion during paint loop
2627         https://bugs.webkit.org/show_bug.cgi?id=76858
2628
2629         Reviewed by James Robinson.
2630
2631         * tests/CCLayerTreeHostCommonTest.cpp:
2632         (WebCore::TEST):
2633         (WebCore):
2634         * tests/CCLayerTreeHostTest.cpp:
2635         (WTF::ContentLayerChromiumWithUpdateTracking::paintContentsIfDirty):
2636         (WTF):
2637         (TestLayerChromium):
2638         (WTF::TestLayerChromium::create):
2639         (WTF::TestLayerChromium::paintContentsIfDirty):
2640         (WTF::TestLayerChromium::drawsContent):
2641         (WTF::TestLayerChromium::occludedScreenSpace):
2642         (WTF::TestLayerChromium::clearOccludedScreenSpace):
2643         (WTF::TestLayerChromium::TestLayerChromium):
2644         (WTF::setLayerPropertiesForTesting):
2645         (CCLayerTreeHostTestLayerOcclusion):
2646         (WTF::CCLayerTreeHostTestLayerOcclusion::CCLayerTreeHostTestLayerOcclusion):
2647         (WTF::CCLayerTreeHostTestLayerOcclusion::beginTest):
2648         (WTF::CCLayerTreeHostTestLayerOcclusion::afterTest):
2649         * tests/Canvas2DLayerChromiumTest.cpp:
2650         (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
2651         * tests/TiledLayerChromiumTest.cpp:
2652         (WTF::FakeLayerTextureUpdater::setOpaquePaintRect):
2653         (FakeLayerTextureUpdater):
2654         (WTF::FakeTiledLayerChromium::paintContentsIfDirty):
2655         (WTF::FakeLayerTextureUpdater::prepareToUpdate):
2656         (WTF::TEST):
2657         (WTF):
2658
2659 2012-01-30  Gregg Tavares  <gman@google.com>
2660
2661         Add Plumming to get graphics error messages to JS Console
2662         https://bugs.webkit.org/show_bug.cgi?id=77238
2663
2664         Reviewed by Kenneth Russell.
2665
2666         * public/platform/WebGraphicsContext3D.h:
2667         (WebGraphicsErrorMessageCallback):
2668         (WebKit::WebGraphicsContext3D::WebGraphicsErrorMessageCallback::~WebGraphicsErrorMessageCallback):
2669         (WebGraphicsContext3D):
2670         (WebKit::WebGraphicsContext3D::setErrorMessageCallback):
2671         * src/GraphicsContext3DChromium.cpp:
2672         (WebCore::GraphicsContext3D::~GraphicsContext3D):
2673         (WebCore):
2674         (GraphicsErrorMessageCallbackAdapter):
2675         (WebCore::GraphicsErrorMessageCallbackAdapter::~GraphicsErrorMessageCallbackAdapter):
2676         (WebCore::GraphicsErrorMessageCallbackAdapter::GraphicsErrorMessageCallbackAdapter):
2677         (WebCore::GraphicsErrorMessageCallbackAdapter::onErrorMessage):
2678         (WebCore::GraphicsErrorMessageCallbackAdapter::create):
2679         (WebCore::GraphicsContext3DPrivate::setErrorMessageCallback):
2680         * src/GraphicsContext3DPrivate.h:
2681         (WebCore):
2682         ():
2683
2684 2012-01-30  Sheriff Bot  <webkit.review.bot@gmail.com>
2685
2686         Unreviewed, rolling out r106259.
2687         http://trac.webkit.org/changeset/106259
2688         https://bugs.webkit.org/show_bug.cgi?id=77395
2689
2690         Breaks shared builders as they also build webkittests with
2691         -Wexit-time-destructors. (Requested by leviw on #webkit).
2692
2693         * WebKitUnitTests.gyp:
2694
2695 2012-01-30  Dana Jansens  <danakj@chromium.org>
2696
2697         [chromium] Use region reported painted opaque for draw culling
2698         https://bugs.webkit.org/show_bug.cgi?id=76015
2699
2700         Reviewed by James Robinson.
2701
2702         * tests/CCLayerTreeHostImplTest.cpp:
2703         (WebKit::BlendStateCheckLayer::appendQuads):
2704         (WebKit::BlendStateCheckLayer::setOpaqueColor):
2705         (BlendStateCheckLayer):
2706         (WebKit::BlendStateCheckLayer::BlendStateCheckLayer):
2707         (WebKit::TEST_F):
2708         * tests/CCQuadCullerTest.cpp:
2709         (WebCore::MakeTileQuad):
2710         (WebCore::setQuads):
2711         (WebCore::TEST):
2712         (WebCore):
2713         * tests/CCTiledLayerImplTest.cpp:
2714         (CCLayerTestCommon::createLayer):
2715         (CCLayerTestCommon::TEST):
2716         (CCLayerTestCommon::getQuads):
2717         (CCLayerTestCommon::coverageVisibleRectOnTileBoundaries):
2718         (CCLayerTestCommon::coverageVisibleRectIntersectsTiles):
2719         (CCLayerTestCommon::coverageVisibleRectIntersectsBounds):
2720         (CCLayerTestCommon):
2721
2722 2012-01-30  Adrienne Walker  <enne@google.com>
2723
2724         [chromium] Always pre-reserve scrollbar and scroll corner textures
2725         https://bugs.webkit.org/show_bug.cgi?id=77251
2726
2727         Reviewed by James Robinson.
2728
2729         * src/NonCompositedContentHost.cpp:
2730         (WebKit::reserveScrollbarLayers):
2731         (WebKit):
2732         (WebKit::NonCompositedContentHost::setViewport):
2733
2734 2012-01-30  Ryosuke Niwa  <rniwa@webkit.org>
2735
2736         Roll Chromium DEPS from 119623 to 119700.
2737
2738         * DEPS:
2739
2740 2012-01-30  Beth Dakin  <bdakin@apple.com>
2741
2742         https://bugs.webkit.org/show_bug.cgi?id=77263
2743         PlatformScreenMac should not rely on NSWindow for important bits of data
2744
2745         Reviewed by Geoff Garen.
2746
2747         These two functions now take a FrameView instead of a Widget.
2748         * src/PlatformSupport.cpp:
2749         (WebCore::PlatformSupport::screenRect):
2750         (WebCore::PlatformSupport::screenAvailableRect):
2751
2752 2012-01-30  Ami Fischman  <fischman@chromium.org>
2753
2754         [chromium] enable -Wexit-time-destructors for webkit unit tests
2755         https://bugs.webkit.org/show_bug.cgi?id=77300
2756
2757         Reviewed by Tony Chang.
2758
2759         * WebKitUnitTests.gyp: Enable clang check for exit time destructors.
2760
2761 2012-01-30  Tommy Widenflycht  <tommyw@google.com>
2762
2763         [chromium] MediaStream API: Fix a few memory leaks
2764         https://bugs.webkit.org/show_bug.cgi?id=77334
2765
2766         Reviewed by Darin Fisher.
2767
2768         It seems that either the behaviour of WebPrivatePtr has changed or I misunderstood
2769         something, but I fixed a memory leak in WebMediaStreamDescriptor and safeguarded
2770         WebMediaStreamSource.
2771
2772         * public/platform/WebMediaStreamDescriptor.h:
2773         (WebKit::WebMediaStreamDescriptor::WebMediaStreamDescriptor):
2774         * public/platform/WebMediaStreamSource.h:
2775         (WebKit::WebMediaStreamSource::WebMediaStreamSource):
2776         (WebKit::WebMediaStreamSource::operator=):
2777         (WebMediaStreamSource):
2778         * src/WebMediaStreamDescriptor.cpp:
2779         (WebKit::WebMediaStreamDescriptor::assign):
2780         * src/WebMediaStreamSource.cpp:
2781         (WebKit::WebMediaStreamSource::assign):
2782         (WebKit):
2783
2784 2012-01-30  Jochen Eisinger  <jochen@chromium.org>
2785
2786         [chromium] remove exit time destructors from TextureManagerTest
2787         https://bugs.webkit.org/show_bug.cgi?id=77333
2788
2789         Reviewed by Tony Gentilcore.
2790
2791         Non-trivial, global objects require an at-exit time destructor which add
2792         unnecessary complexity and delays to shutdown.
2793
2794         * tests/FakeCCLayerTreeHostClient.h: added newline at EOF
2795         * tests/TextureManagerTest.cpp:
2796         (WTF::FakeTextureAllocator::~FakeTextureAllocator):
2797         (TextureManagerTest):
2798         (WTF::TextureManagerTest::TextureManagerTest):
2799         (WTF::TextureManagerTest::~TextureManagerTest):
2800         (WTF::TextureManagerTest::texturesMemorySize):
2801         (WTF::TextureManagerTest::createTextureManager):
2802         (WTF::TextureManagerTest::requestTexture):
2803         (WTF::TEST_F):
2804
2805 2012-01-30  Hans Wennborg  <hans@chromium.org>
2806
2807         Unreviewed, rolling out r106219.
2808         http://trac.webkit.org/changeset/106219
2809         https://bugs.webkit.org/show_bug.cgi?id=77083
2810
2811         This broke Chromium's test_shell.
2812
2813         * WebKit.gyp:
2814         * public/WebSpeechInputControllerMock.h: Added.
2815         (WebKit):
2816         (WebSpeechInputControllerMock):
2817         (WebKit::WebSpeechInputControllerMock::~WebSpeechInputControllerMock):
2818         * public/WebSpeechInputResult.h:
2819         (WebSpeechInputResult):
2820         * src/WebSpeechInputControllerMockImpl.cpp: Added.
2821         (WebKit):
2822         (WebKit::WebSpeechInputControllerMock::create):
2823         (WebKit::WebSpeechInputControllerMockImpl::WebSpeechInputControllerMockImpl):
2824         (WebKit::WebSpeechInputControllerMockImpl::~WebSpeechInputControllerMockImpl):
2825         (WebKit::WebSpeechInputControllerMockImpl::addMockRecognitionResult):
2826         (WebKit::WebSpeechInputControllerMockImpl::clearResults):
2827         (WebKit::WebSpeechInputControllerMockImpl::didCompleteRecording):
2828         (WebKit::WebSpeechInputControllerMockImpl::didCompleteRecognition):
2829         (WebKit::WebSpeechInputControllerMockImpl::setRecognitionResult):
2830         (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
2831         (WebKit::WebSpeechInputControllerMockImpl::cancelRecognition):
2832         (WebKit::WebSpeechInputControllerMockImpl::stopRecording):
2833         * src/WebSpeechInputControllerMockImpl.h: Added.
2834         (WebCore):
2835         (WebKit):
2836         (WebSpeechInputControllerMockImpl):
2837         * src/WebSpeechInputResult.cpp:
2838
2839 2012-01-26  Hans Wennborg  <hans@chromium.org>
2840
2841         Speech Input: move MockSpeechInputClient into Chromium DumpRenderTree implementation
2842         https://bugs.webkit.org/show_bug.cgi?id=77083
2843
2844         Reviewed by Darin Fisher.
2845
2846         Remove the WebSpeechInputControllerMock interface and proxy
2847         implementation. The mock is moving to the DumpRenderTree
2848         implementation instead, which removes the need to expose this
2849         interface in the WebKit API.
2850
2851         Also add a proper copy constructor for WebSpeechInputResult.
2852         The default one doesn't do a proper copy.
2853
2854         * WebKit.gyp:
2855         * public/WebSpeechInputControllerMock.h: Removed.
2856         * public/WebSpeechInputResult.h:
2857         (WebKit::WebSpeechInputResult::WebSpeechInputResult):
2858         (WebSpeechInputResult):
2859         * src/WebSpeechInputControllerMockImpl.cpp: Removed.
2860         * src/WebSpeechInputControllerMockImpl.h: Removed.
2861         * src/WebSpeechInputResult.cpp:
2862         (WebKit::WebSpeechInputResult::set):
2863         (WebKit):
2864
2865 2012-01-29  Kent Tamura  <tkent@chromium.org>
2866
2867         [Chromium] REGRESSION(r87067): WebFrame::setFindEndstateFocusAndSelection()
2868         doesn't set the selection for <input> and <textarea>
2869         https://bugs.webkit.org/show_bug.cgi?id=77186
2870
2871         Reviewed by Hajime Morita.
2872
2873         When the find-in-page box is closed, WebFrame::stopFinding(false) is
2874         called. It calls setFindEndstateFocusAndSelection(). Before r87067,
2875         m_activeMatch was stored as the normal selection in <input> or
2876         <textarea> by accident. r87067 stopped this accidental behavior.
2877
2878         However the behavior of pre-r87067 is useful and we should support it
2879         for contentEditable elements too.
2880
2881         * src/WebFrameImpl.cpp:
2882         (WebKit::WebFrameImpl::setFindEndstateFocusAndSelection):
2883         - Add special handing for <input> and <textarea> to find a focusable parent.
2884         - Sets the active match as the selection even if a focusable parent is found.
2885         * tests/WebFrameTest.cpp:
2886         (WebKit::TEST_F): Add tests for find() and stopFinding().
2887         * tests/data/find.html: Added.
2888
2889 2012-01-29  Nico Weber  <nicolasweber@gmx.de>
2890
2891         [chromium/mac] Fix two-finger scrolling
2892         https://bugs.webkit.org/show_bug.cgi?id=77316
2893
2894         http://trac.webkit.org/changeset/106021/trunk changed the phase enums
2895         to match AppKit. This changes WebMouseWheelEvent accordingly.
2896
2897         No tests, because DRT doesn't support synthetic scroll events with
2898         event phases.
2899
2900         Reviewed by Anders Carlsson.
2901
2902         * public/WebInputEvent.h:
2903         * src/mac/WebInputEventFactory.mm:
2904
2905 2012-01-28  Sheriff Bot  <webkit.review.bot@gmail.com>
2906
2907         Unreviewed.  Rolled DEPS.
2908
2909         * DEPS:
2910
2911 2012-01-28  Nico Weber  <thakis@chromium.org>
2912
2913         [chromium] Add support for building standalone webkit/chromium checkouts with ninja.
2914         https://bugs.webkit.org/show_bug.cgi?id=77243
2915
2916         Reviewed by Adam Barth.
2917
2918         * gyp_webkit:
2919
2920 2012-01-27  Jeff Timanus  <twiz@chromium.org>
2921
2922         [chromium] Increase the size of the Ganesh texture cache to prevent performance problems on advanced Canvas2D pages.
2923         The cache was previously 50 MB; it is now 96 MB.
2924
2925         Bug 76666 - Ganesh's Texture Cache is too small
2926         https://bugs.webkit.org/show_bug.cgi?id=76666
2927
2928         Reviewed by Stephen White.
2929
2930         * src/GraphicsContext3DChromium.cpp:
2931         (WebCore::GraphicsContext3DPrivate::grContext):
2932
2933 2012-01-27  Adrienne Walker  <enne@google.com>
2934
2935         [chromium] Don't ever skip drawing the non-composited content layer
2936         https://bugs.webkit.org/show_bug.cgi?id=77236
2937
2938         Reviewed by James Robinson.
2939
2940         This is a tiny fix. If the non-composited content layer never gets
2941         painted, then the background color never gets set and it is just
2942         opaque black.
2943
2944         * src/WebViewImpl.cpp:
2945         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2946
2947 2012-01-27  Fady Samuel  <fsamuel@chromium.org>
2948
2949         Rename shouldLayoutFixedElementsRelativeToFrame and make it a setting
2950         https://bugs.webkit.org/show_bug.cgi?id=76459
2951
2952         Reviewed by Darin Fisher.
2953
2954         * public/WebSettings.h:
2955         ():
2956         * public/WebView.h:
2957         (WebView):
2958         * src/WebSettingsImpl.cpp:
2959         (WebKit::WebSettingsImpl::setFixedElementsLayoutRelativeToFrame):
2960         (WebKit):
2961         * src/WebSettingsImpl.h:
2962         (WebSettingsImpl):
2963         * src/WebViewImpl.cpp:
2964         * src/WebViewImpl.h:
2965         (WebViewImpl):
2966
2967 2012-01-24  Vincent Scheib  <scheib@chromium.org>
2968
2969         Pointer Lock: Implement pointer interface
2970         https://bugs.webkit.org/show_bug.cgi?id=75762
2971
2972         Add calls to the PointerLockController added in this patch to WebCore.
2973
2974         * src/WebViewImpl.cpp:
2975         (WebKit::WebViewImpl::close):
2976         (WebKit::WebViewImpl::didAcquirePointerLock):
2977         (WebKit::WebViewImpl::didNotAcquirePointerLock):
2978         (WebKit::WebViewImpl::didLosePointerLock):
2979         (WebKit::WebViewImpl::pointerLockMouseEvent):
2980
2981 2012-01-26  Kent Tamura  <tkent@chromium.org>
2982
2983         [Chromium] Cleanup of WebPopupMenuImpl
2984         https://bugs.webkit.org/show_bug.cgi?id=76441
2985
2986         Reviewed by Kentaro Hara.
2987
2988         Removed WebPopupMenuImpl::invalidateContents() and scrollRectIntoView()
2989         because they were removed from HostWindow in r58445 and r55864. They
2990         were found by OVERRIDE.
2991
2992         * src/ChromeClientImpl.cpp:
2993         (WebKit::ChromeClientImpl::popupOpened): Rename WebPopupMenuImpl::Init().
2994         * src/WebPopupMenuImpl.cpp:
2995         (WebKit::WebPopupMenuImpl::WebPopupMenuImpl): Update a comment.
2996         (WebKit::WebPopupMenuImpl::init): Renamed from Init(). Update a comment.
2997         (WebKit::WebPopupMenuImpl::handleMouseMove): Prepend "handle" to the name.
2998         (WebKit::WebPopupMenuImpl::handleMouseLeave): ditto.
2999         (WebKit::WebPopupMenuImpl::handleMouseDown): ditto.
3000         (WebKit::WebPopupMenuImpl::handleMouseUp): ditto.
3001         (WebKit::WebPopupMenuImpl::handleMouseWheel): ditto.
3002         (WebKit::WebPopupMenuImpl::handleGestureEvent): ditto.
3003         (WebKit::WebPopupMenuImpl::handleTouchEvent): ditto.
3004         (WebKit::WebPopupMenuImpl::handleKeyEvent): ditto.
3005         (WebKit::WebPopupMenuImpl::close): Update a comment.
3006         (WebKit::WebPopupMenuImpl::composite): Remove a unused argument name.
3007         (WebKit::WebPopupMenuImpl::handleInputEvent): Update a comment. Update callsites for handle*().
3008         (WebKit::WebPopupMenuImpl::setFocus): Remove a unused argument name.
3009         (WebKit::WebPopupMenuImpl::setComposition): ditto.
3010         (WebKit::WebPopupMenuImpl::confirmComposition): ditto.
3011         (WebKit::WebPopupMenuImpl::setTextDirection): ditto.
3012         (WebKit::WebPopupMenuImpl::scroll): Unfold folded lines.
3013         * src/WebPopupMenuImpl.h:
3014          - Remove useless argument names.
3015          - Add OVERRIDE.
3016
3017 2012-01-26  W. James MacLean  <wjmaclean@chromium.org>
3018
3019         [chromium] Allow modification of size of partially occluded quads.
3020         https://bugs.webkit.org/show_bug.cgi?id=76349
3021
3022         Reviewed by James Robinson.
3023
3024         * tests/CCQuadCullerTest.cpp:
3025         (WebCore::makeTileQuads)
3026         (WebCore::setQuads):
3027         (WebCore::TEST):
3028
3029 2012-01-26  Michal Mocny  <mmocny@google.com>
3030
3031         [chromium] Revert changes which added setResourceUsageCHROMIUM gl extension since feature changed directions
3032         https://bugs.webkit.org/show_bug.cgi?id=77120
3033
3034         Reviewed by Kenneth Russell.
3035
3036         * public/platform/WebGraphicsContext3D.h:
3037         (WebGraphicsContext3D):
3038         * src/GraphicsContext3DChromium.cpp:
3039         (WebCore):
3040         * tests/FakeWebGraphicsContext3D.h:
3041         (WebKit::FakeWebGraphicsContext3D::setVisibilityCHROMIUM):
3042
3043 2012-01-26  Sadrul Habib Chowdhury  <sadrul@chromium.org>
3044
3045         Add GestureTapDown and GestureDoubleTap gesture types to WebGestureEvent.
3046         https://bugs.webkit.org/show_bug.cgi?id=77140
3047
3048         Reviewed by Darin Fisher.
3049
3050         * public/WebInputEvent.h:
3051         ():
3052         * src/WebInputEventConversion.cpp:
3053         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
3054         * src/WebPopupMenuImpl.cpp:
3055         (WebKit::WebPopupMenuImpl::handleInputEvent):
3056         * src/WebViewImpl.cpp:
3057         (WebKit::WebViewImpl::handleInputEvent):
3058
3059 2012-01-25  Cris Neckar  <cdn@chromium.org>
3060
3061         Add API to register schemes which can be sent simple CORS requests.
3062         https://bugs.webkit.org/show_bug.cgi?id=77041
3063
3064         Reviewed by Alexey Proskuryakov.
3065
3066         * public/WebSecurityPolicy.h:
3067         (WebSecurityPolicy):
3068         * src/WebSecurityPolicy.cpp:
3069         (WebKit::WebSecurityPolicy::registerCORSEnabledScheme):
3070         (WebKit):
3071
3072 2012-01-10  James Robinson  <jamesr@chromium.org>
3073
3074         [chromium] Add enter/exitRunLoop to WebThread API
3075         https://bugs.webkit.org/show_bug.cgi?id=76012
3076
3077         Reviewed by Darin Fisher.
3078
3079         This adds those two APIs to WebKit::WebThread and converts CCLayerTreeHostTest over to use these APIs instead
3080         of webkit_support. The immediate motivation is that we can't use webkit_support in webkit_unit_tests in the
3081         component build.
3082
3083         * WebKit.gyp:
3084         * public/platform/WebThread.h:
3085         * tests/CCLayerTreeHostTest.cpp:
3086         (WTF::CCLayerTreeHostTest::onEndTest):
3087         (WTF::CCLayerTreeHostTest::TimeoutTask::run):
3088         (WTF::CCLayerTreeHostTest::BeginTask::BeginTask):
3089         (WTF::CCLayerTreeHostTest::BeginTask::~BeginTask):
3090         (WTF::CCLayerTreeHostTest::BeginTask::run):
3091         (WTF::CCLayerTreeHostTest::runTest):
3092
3093 2012-01-26  John Bates  <jbates@google.com>
3094
3095         Roll chromium_rev to 119248
3096         https://bugs.webkit.org/show_bug.cgi?id=77124
3097
3098         Reviewed by James Robinson.
3099
3100         * DEPS:
3101
3102 2012-01-25  Greg Billock  <gbillock@google.com>
3103
3104         Add IntentRequest include for FrameLoaderClientImpl.
3105         https://bugs.webkit.org/show_bug.cgi?id=77039
3106
3107         Reviewed by Darin Fisher.
3108
3109         * src/FrameLoaderClientImpl.cpp:
3110
3111 2012-01-25  Daniel Cheng  <dcheng@chromium.org>
3112
3113         [chromium] Fix ClipboardChromium::validateFilename to actually operate on extensions
3114         https://bugs.webkit.org/show_bug.cgi?id=76996
3115
3116         Reviewed by Tony Chang.
3117
3118         * WebKit.gypi:
3119         * tests/ClipboardChromiumTest.cpp: Added.
3120         (WebCore):
3121         (WebCore::TEST):
3122
3123 2012-01-25  James Robinson  <jamesr@chromium.org>
3124
3125         [chromium] Rollout r100751, this mechanism does not work and is very slow
3126         https://bugs.webkit.org/show_bug.cgi?id=77055
3127
3128         Unreviewed rollout of http://trac.webkit.org/changeset/100751. The refresh rate mechanism is not implemented,
3129         but it still triggers a very slow codepath and triggers races on some platforms.
3130
3131         * public/WebScreenInfo.h:
3132         (WebScreenInfo):
3133         (WebKit::WebScreenInfo::WebScreenInfo):
3134         * src/PlatformSupport.cpp:
3135         * src/WebViewImpl.cpp:
3136         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3137         * tests/CCLayerTreeHostTest.cpp:
3138         (WTF::CCLayerTreeHostTest::runTest):
3139
3140 2012-01-25  Eric Uhrhane  <ericu@chromium.org>
3141
3142         Add full support for filesystem URLs.
3143         https://bugs.webkit.org/show_bug.cgi?id=75049
3144
3145         Reviewed by Adam Barth.
3146
3147         No new tests; existing layout tests cover the basic functionality, and
3148         the new functionality won't be there until Chromium adds it.  This patch
3149         merely enables that, without changing behavior.
3150
3151         * tests/KURLTest.cpp:
3152         TEST(KURLTest, Encode): Update expectation that '/' sails through unescaped.
3153         
3154 2012-01-25  Joshua Bell  <jsbell@chromium.org>
3155
3156         IndexedDB: Need to distinguish key paths that don't yield value vs. yield invalid key
3157         https://bugs.webkit.org/show_bug.cgi?id=76487
3158
3159         Added a NullType to represent a null IDBKey pointer. This is needed to distinguish the
3160         cases in the spec where the key resolution algorithm returns no value (null) versus
3161         returns a value but that value is not a valid key (invalid).
3162
3163         Reviewed by Tony Chang.
3164
3165         * public/WebIDBKey.h:
3166         * src/WebIDBKey.cpp:
3167         (WebKit::WebIDBKey::createNull): Added.
3168         (WebKit::WebIDBKey::createFromValueAndKeyPath): Now returns null if value is null.
3169         (WebKit::convertFromWebIDBKeyArray): Null keys should never exist within arrays.
3170         (WebKit::WebIDBKey::assignInvalid):
3171         (WebKit::WebIDBKey::assignNull):
3172         (WebKit::WebIDBKey::type):
3173
3174 2012-01-24  Vsevolod Vlasov  <vsevik@chromium.org>
3175
3176         Unreviewed chromium test fix.
3177
3178         * src/js/Tests.js:
3179         (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts):
3180         (.TestSuite.prototype._waitUntilScriptsAreParsed):
3181
3182 2012-01-24  Vangelis Kokkevis  <vangelis@chromium.org>
3183
3184         Adding a test to verify that m_skipsDraw gets reset between frames for
3185         tiled layers.
3186         https://bugs.webkit.org/show_bug.cgi?id=76735
3187
3188         Reviewed by James Robinson.
3189
3190         * WebKit.gypi:
3191         * tests/FakeCCLayerTreeHostClient.h: Added.
3192         (WebCore::FakeCCLayerTreeHostClient::updateAnimations):
3193         (WebCore::FakeCCLayerTreeHostClient::layout):
3194         (WebCore::FakeCCLayerTreeHostClient::applyScrollAndScale):
3195         (WebCore::FakeCCLayerTreeHostClient::createLayerTreeHostContext3D):
3196         (WebCore::FakeCCLayerTreeHostClient::didRecreateGraphicsContext):
3197         (WebCore::FakeCCLayerTreeHostClient::didCommitAndDrawFrame):
3198         (WebCore::FakeCCLayerTreeHostClient::didCompleteSwapBuffers):
3199         (WebCore::FakeCCLayerTreeHostClient::scheduleComposite):
3200         * tests/LayerChromiumTest.cpp:
3201         * tests/TiledLayerChromiumTest.cpp:
3202         (WTF::FakeTiledLayerChromium::skipsDraw):
3203         (WTF::FakeTiledLayerChromium::paintContentsIfDirty):
3204         (WTF::TEST):
3205
3206 2012-01-24  Dmitry Lomov  <dslomov@google.com>
3207
3208         Unreviewed: removing WebWorker.h again after r105684.
3209
3210         * WebKit.gyp:
3211
3212 2012-01-24  Tommy Widenflycht  <tommyw@google.com>
3213
3214         MediaStream API: Split the MediaStream track list into audio/video specific ones.
3215         https://bugs.webkit.org/show_bug.cgi?id=76614
3216
3217         Reviewed by Darin Fisher.
3218
3219         * public/WebUserMediaClient.h:
3220         (WebKit::WebUserMediaClient::requestUserMedia):
3221         * public/WebUserMediaRequest.h:
3222         * public/platform/WebMediaStreamDescriptor.h:
3223         * src/UserMediaClientImpl.cpp:
3224         (WebKit::UserMediaClientImpl::requestUserMedia):
3225         * src/UserMediaClientImpl.h:
3226         * src/WebMediaStreamDescriptor.cpp:
3227         (WebKit::WebMediaStreamDescriptor::sources):
3228         (WebKit::WebMediaStreamDescriptor::audioSources):
3229         (WebKit::WebMediaStreamDescriptor::videoSources):
3230         (WebKit::WebMediaStreamDescriptor::initialize):
3231         * src/WebUserMediaRequest.cpp:
3232         (WebKit::WebUserMediaRequest::requestSucceeded):
3233
3234 2012-01-23  Simon Fraser  <simon.fraser@apple.com>
3235
3236         Show layer borders for scrollbar layers
3237         https://bugs.webkit.org/show_bug.cgi?id=76888
3238
3239         Reviewed by Beth Dakin.
3240
3241         Update for new signature of GraphicsLayerClient::showDebugBorders()
3242         and GraphicsLayerClient::showRepaintCounter().
3243
3244         * src/NonCompositedContentHost.cpp:
3245         (WebKit::NonCompositedContentHost::showDebugBorders):
3246         (WebKit::NonCompositedContentHost::showRepaintCounter):
3247         * src/NonCompositedContentHost.h:
3248         * src/PageOverlay.cpp:
3249         (WebKit::OverlayGraphicsLayerClientImpl::showDebugBorders):
3250         (WebKit::OverlayGraphicsLayerClientImpl::showRepaintCounter):
3251         * tests/ImageLayerChromiumTest.cpp:
3252         (WebCore::MockGraphicsLayerClient::showDebugBorders):
3253         (WebCore::MockGraphicsLayerClient::showRepaintCounter):
3254
3255 2012-01-24  Vincent Scheib  <scheib@chromium.org>
3256
3257         [Chromium] Add WebKit API for Pointer Lock
3258         https://bugs.webkit.org/show_bug.cgi?id=76410
3259
3260         Reviewed by Darin Fisher.
3261
3262         Breaking up https://bugs.webkit.org/show_bug.cgi?id=75762
3263         into a series of patches, this stubs out the API.
3264
3265         * public/WebWidget.h:
3266         (WebKit::WebWidget::didCompletePointerLock):
3267         (WebKit::WebWidget::didNotCompletePointerLock):
3268         (WebKit::WebWidget::didLosePointerLock):
3269         * public/WebWidgetClient.h:
3270         (WebKit::WebWidgetClient::requestPointerLock):
3271         (WebKit::WebWidgetClient::requestPointerUnlock):
3272         (WebKit::WebWidgetClient::isPointerLocked):
3273         * src/ChromeClientImpl.cpp:
3274         (WebKit::ChromeClientImpl::requestPointerLock):
3275         (WebKit::ChromeClientImpl::requestPointerUnlock):
3276         (WebKit::ChromeClientImpl::isPointerLocked):
3277         * src/ChromeClientImpl.h:
3278         * src/WebViewImpl.cpp:
3279         (WebKit::WebViewImpl::handleInputEvent):
3280         (WebKit::WebViewImpl::didCompletePointerLock):
3281         (WebKit::WebViewImpl::didNotCompletePointerLock):
3282         (WebKit::WebViewImpl::didLosePointerLock):
3283         (WebKit::WebViewImpl::requestPointerLock):
3284         (WebKit::WebViewImpl::requestPointerUnlock):
3285         (WebKit::WebViewImpl::isPointerLocked):
3286         (WebKit::WebViewImpl::pointerLockMouseEvent):
3287         * src/WebViewImpl.h:
3288
3289 2012-01-23  Sheriff Bot  <webkit.review.bot@gmail.com>
3290
3291         Unreviewed.  Rolled DEPS.
3292
3293         * DEPS:
3294
3295 2012-01-23  Tom Sepez  <tsepez@chromium.org>
3296
3297         [chromium] Clean up old WebSharedWorker::startWorkerContext() method.
3298         https://bugs.webkit.org/show_bug.cgi?id=76853
3299
3300         Reviewed by Darin Fisher.
3301
3302         * public/WebSharedWorker.h:
3303         * src/WebSharedWorkerImpl.cpp:
3304         * src/WebSharedWorkerImpl.h:
3305
3306 2012-01-23  Dmitry Lomov  <dslomov@google.com>
3307
3308         [Chromium] Implement layoutTestController.workerThreadCount in DRT
3309         https://bugs.webkit.org/show_bug.cgi?id=74653.
3310         Expose WebCore::WorkerThread::workerThreadCount() in API layer 
3311         for DumpRenderTree.
3312
3313         Reviewed by Darin Fisher.
3314
3315         * WebKit.gyp:
3316         * public/WebWorkerInfo.h: Copied from Source/WebKit/chromium/public/WebCommonWorkerClient.h.
3317         * src/WebWorkerInfo.cpp: Copied from Source/WebKit/chromium/public/WebCommonWorkerClient.h.
3318         (WebKit::WebWorkerInfo::dedicatedWorkerCount):
3319
3320 2012-01-23  Greg Billock  <gbillock@google.com>
3321
3322         Fine tune Web Intents Chromium API
3323         https://bugs.webkit.org/show_bug.cgi?id=76754
3324
3325         Reviewed by Darin Fisher.
3326
3327         * public/WebIntent.h:
3328         * public/WebIntentServiceInfo.h:
3329         * src/WebIntent.cpp:
3330         * src/WebIntentServiceInfo.cpp:
3331         (WebKit::WebIntentServiceInfo::WebIntentServiceInfo):
3332
3333 2012-01-23  Shawn Singh  <shawnsingh@chromium.org>
3334
3335         [chromium] updateRect is incorrect when contentBounds != bounds
3336         https://bugs.webkit.org/show_bug.cgi?id=72919
3337
3338         Reviewed by James Robinson.
3339
3340         * tests/TiledLayerChromiumTest.cpp:
3341         (WTF::FakeTiledLayerWithScaledBounds::FakeTiledLayerWithScaledBounds):
3342         (WTF::FakeTiledLayerWithScaledBounds::setContentBounds):
3343         (WTF::FakeTiledLayerWithScaledBounds::contentBounds):
3344         (WTF::FakeTiledLayerWithScaledBounds::updateRect):
3345         (WTF::TEST):
3346
3347 2012-01-23  Takashi Toyoshima  <toyoshim@chromium.org>
3348
3349         [Chromium][WebSocket] Remove binary communication using WebData in WebKit API
3350         https://bugs.webkit.org/show_bug.cgi?id=76608
3351
3352         Reviewed by Darin Fisher.
3353
3354         * public/WebSocket.h: Remove BinaryTypeData definition and sendBinary(const WebData&).
3355         * public/WebSocketClient.h: Remove didReceiveBinaryData(const WebData&).
3356         * src/WebSocketImpl.cpp: Remove WebData related code and set default binary type as BinaryTypeBlob.
3357         (WebKit::WebSocketImpl::WebSocketImpl): Remove sendBinary(const WebData&).
3358         (WebKit::WebSocketImpl::didReceiveBinaryData): Remove WebData supporting code.
3359         * src/WebSocketImpl.h: Remove sendBinary(const WebData&).
3360
3361 2012-01-23  James Robinson  <jamesr@chromium.org>
3362
3363         [chromium] Add <(SHARED_INTERMEDIATE_DIR)/webkit to include path of targets that depend on WebKit API so they pick up the copied headers in an onion build
3364         https://bugs.webkit.org/show_bug.cgi?id=76879
3365
3366         Reviewed by Dirk Pranke.
3367
3368         * WebKit.gyp:
3369
3370 2012-01-23  Stephen White  <senorblanco@chromium.org>
3371
3372         Unreviewed, rolling out r105640.
3373         http://trac.webkit.org/changeset/105640
3374         https://bugs.webkit.org/show_bug.cgi?id=76849
3375
3376         Broke the chromium build.
3377
3378         * DEPS:
3379
3380 2012-01-23  Justin Novosad  <junov@chromium.org>
3381
3382         rolling chromium DEPS to r118713
3383         https://bugs.webkit.org/show_bug.cgi?id=76849
3384
3385         Reviewed by Stephen White.
3386
3387         This is to pick up a change to skia build configuration
3388
3389         * DEPS:
3390
3391 2012-01-23  Xianzhu Wang  <wangxianzhu@chromium.org>
3392
3393         Basic enhancements to StringBuilder
3394         https://bugs.webkit.org/show_bug.cgi?id=67081
3395
3396         This change is because we explicitly disallowed StringBuilder's
3397         copy constructor and assignment operator.
3398
3399         Reviewed by Darin Adler.
3400
3401         No new tests. All layout tests and unit tests should run as before.
3402
3403         * src/WebPageSerializerImpl.cpp:
3404         (WebKit::WebPageSerializerImpl::encodeAndFlushBuffer):
3405
3406 2012-01-23  W. James MacLean  <wjmaclean@chromium.org>
3407
3408         [chromium] Add WebSolidColorLayer interface to draw non-textured color layers from Aura.
3409         https://bugs.webkit.org/show_bug.cgi?id=75732
3410
3411         Reviewed by James Robinson.
3412
3413         * WebKit.gyp:
3414         * WebKit.gypi:
3415         * public/platform/WebSolidColorLayer.h: Added.
3416         * src/WebSolidColorLayer.cpp: Added.
3417         (WebKit::WebSolidColorLayer::create):
3418         (WebKit::WebSolidColorLayer::WebSolidColorLayer):
3419         (WebKit::WebSolidColorLayer::setBackgroundColor):
3420         * src/WebSolidColorLayerImpl.cpp: Added.
3421         (WebKit::WebSolidColorLayerImpl::create):
3422         (WebKit::WebSolidColorLayerImpl::WebSolidColorLayerImpl):
3423         (WebKit::WebSolidColorLayerImpl::~WebSolidColorLayerImpl):
3424         * src/WebSolidColorLayerImpl.h: Added.
3425         * tests/CCLayerTestCommon.cpp: Added.
3426         (CCLayerTestCommon::completelyContains):
3427         (CCLayerTestCommon::verifyQuadsExactlyCoverRect):
3428         * tests/CCLayerTestCommon.h: Added.
3429         * tests/CCSolidColorLayerImplTest.cpp: Added.
3430         (CCLayerTestCommon::TEST):
3431         * tests/CCTiledLayerImplTest.cpp:
3432
3433 2012-01-20  Pavel Feldman  <pfeldman@google.com>
3434
3435         Web Inspector: PageAgent.open() dosen't belong to the protocol.
3436         https://bugs.webkit.org/show_bug.cgi?id=74790
3437
3438         Reviewed by Yury Semikhatsky.
3439
3440         * public/WebDevToolsFrontendClient.h:
3441         (WebKit::WebDevToolsFrontendClient::openInNewTab):
3442         * src/InspectorFrontendClientImpl.cpp:
3443         (WebKit::InspectorFrontendClientImpl::openInNewTab):
3444         (WebKit::InspectorFrontendClientImpl::saveAs):
3445         * src/InspectorFrontendClientImpl.h:
3446
3447 2012-01-21  David Reveman  <reveman@chromium.org>
3448
3449         [Chromium] Incremental texture updates are not atomic.
3450         https://bugs.webkit.org/show_bug.cgi?id=72672
3451
3452         Reviewed by Adam Barth.
3453
3454         Add CCLayerTreeHostTestAtomicCommit test that verifies atomicity
3455         of commits.
3456
3457         * tests/CCLayerTreeHostTest.cpp:
3458         (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::create):
3459         (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::createTexture):
3460         (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::deleteTexture):
3461         (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::bindTexture):
3462         (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::numTextures):
3463         (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::texture):
3464         (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::resetTextures):
3465         (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::numUsedTextures):
3466         (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::usedTexture):
3467         (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::resetUsedTextures):
3468         (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::CompositorFakeWebGraphicsContext3DWithTextureTracking):
3469         (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
3470         (WTF::MockContentLayerDelegate::drawsContent):
3471         (WTF::MockContentLayerDelegate::paintContents):
3472         (WTF::MockContentLayerDelegate::notifySyncRequired):
3473         (WTF::CCLayerTreeHostTestAtomicCommit::CCLayerTreeHostTestAtomicCommit):
3474         (WTF::CCLayerTreeHostTestAtomicCommit::beginTest):
3475         (WTF::CCLayerTreeHostTestAtomicCommit::commitCompleteOnCCThread):
3476         (WTF::CCLayerTreeHostTestAtomicCommit::drawLayersOnCCThread):
3477         (WTF::CCLayerTreeHostTestAtomicCommit::layout):
3478         (WTF::CCLayerTreeHostTestAtomicCommit::afterTest):
3479         (WTF::TEST_F):
3480         * tests/CompositorFakeWebGraphicsContext3D.h:
3481
3482 2012-01-21  Sheriff Bot  <webkit.review.bot@gmail.com>
3483
3484         Unreviewed, rolling out r105564.
3485         http://trac.webkit.org/changeset/105564
3486         https://bugs.webkit.org/show_bug.cgi?id=76792
3487
3488         Does not compile on Chromium Mac (Requested by abarth on
3489         #webkit).
3490
3491         * tests/CCLayerTreeHostTest.cpp:
3492         (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
3493         * tests/CompositorFakeWebGraphicsContext3D.h:
3494
3495 2012-01-20  Alexandre Elias  <aelias@google.com>
3496
3497         [chromium] Write unit tests for compositor-thread zooming
3498         https://bugs.webkit.org/show_bug.cgi?id=71529
3499
3500         Reviewed by James Robinson.
3501
3502         Add unit tests for pinch zoom and page scale animation.  Includes
3503         small cleanups in CCLayerTreeHostImpl for testability.
3504
3505         * tests/CCLayerTreeHostImplTest.cpp:
3506         (WebKit::CCLayerTreeHostImplTest::setupScrollAndContentsLayers):
3507         (WebKit::TEST_F):
3508
3509 2012-01-20  David Reveman  <reveman@chromium.org>
3510
3511         [Chromium] Incremental texture updates are not atomic.
3512         https://bugs.webkit.org/show_bug.cgi?id=72672
3513
3514         Reviewed by James Robinson.
3515
3516         Add CCLayerTreeHostTestAtomicCommit test that verifies atomicity
3517         of commits.
3518
3519         * tests/CCLayerTreeHostTest.cpp:
3520         (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::create):
3521         (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::createTexture):
3522         (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::deleteTexture):
3523         (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::bindTexture):
3524         (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::numTextures):
3525         (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::texture):
3526         (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::resetTextures):
3527         (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::numUsedTextures):
3528         (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::usedTexture):
3529         (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::resetUsedTextures):
3530         (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::CompositorFakeWebGraphicsContext3DWithTextureTracking):
3531         (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
3532         (WTF::MockContentLayerDelegate::drawsContent):
3533         (WTF::MockContentLayerDelegate::paintContents):
3534         (WTF::MockContentLayerDelegate::notifySyncRequired):
3535         (WTF::CCLayerTreeHostTestAtomicCommit::CCLayerTreeHostTestAtomicCommit):
3536         (WTF::CCLayerTreeHostTestAtomicCommit::beginTest):
3537         (WTF::CCLayerTreeHostTestAtomicCommit::commitCompleteOnCCThread):
3538         (WTF::CCLayerTreeHostTestAtomicCommit::drawLayersOnCCThread):
3539         (WTF::CCLayerTreeHostTestAtomicCommit::layout):
3540         (WTF::CCLayerTreeHostTestAtomicCommit::afterTest):
3541         (WTF::TEST_F):
3542         * tests/CompositorFakeWebGraphicsContext3D.h:
3543
3544 2012-01-20  Ami Fischman  <fischman@chromium.org>
3545
3546         Small cleanup of {get,put}CurrentFrame for  WebMediaPlayerClientImpl/CCVideoLayerImpl.
3547         https://bugs.webkit.org/show_bug.cgi?id=76332
3548
3549         Reviewed by James Robinson.
3550
3551         * src/WebMediaPlayerClientImpl.cpp:
3552         (WebKit::WebMediaPlayerClientImpl::getCurrentFrame):
3553         (WebKit::WebMediaPlayerClientImpl::putCurrentFrame):
3554
3555 2012-01-20  Ryosuke Niwa  <rniwa@webkit.org>
3556
3557         Roll Chromium DEPS from 118291 to 118493.
3558
3559         * DEPS:
3560
3561 2012-01-20  Ryosuke Niwa  <rniwa@webkit.org>
3562
3563         Revert r105545. Something got broken about gclient/gyp but I can't figure out what.
3564
3565         * DEPS:
3566
3567 2012-01-20  Ryosuke Niwa  <rniwa@webkit.org>
3568
3569         Roll Chromium DEPS from 118291 to 118530.
3570
3571         * DEPS:
3572
3573 2012-01-20  Sadrul Habib Chowdhury  <sadrul@chromium.org>
3574
3575         [chromium] Revert a couple of changes in fileapi/ that break tests in chromeos.
3576         https://bugs.webkit.org/show_bug.cgi?id=76718
3577
3578         Reviewed by Darin Fisher.
3579
3580         * public/platform/WebFileSystem.h:
3581         * src/AssertMatchingEnums.cpp:
3582         * src/AsyncFileSystemChromium.cpp:
3583         * src/AsyncFileSystemChromium.h:
3584
3585 2012-01-20  Fady Samuel  <fsamuel@chromium.org>
3586
3587         [Chromium] Do not recompute viewport on same page navigation
3588         https://bugs.webkit.org/show_bug.cgi?id=75576
3589
3590         Reviewed by Darin Fisher.
3591
3592         Added parameter isNavigationWithinPage to WebViewImpl::didCommitLoad
3593         that indicates whether a same-page navigation has just occurred.
3594
3595         The page scale factor flag is reset only on navigation to a new page.
3596         If the flag is not set, viewport and page scale will be recomputed on
3597         layoutUpdated.
3598
3599         * src/FrameLoaderClientImpl.cpp:
3600         (WebKit::FrameLoaderClientImpl::dispatchDidNavigateWithinPage):
3601         (WebKit::FrameLoaderClientImpl::dispatchDidCommitLoad):
3602         * src/WebViewImpl.cpp:
3603         (WebKit::WebViewImpl::didCommitLoad):
3604         (WebKit::WebViewImpl::observeNewNavigation):
3605         * src/WebViewImpl.h:
3606
3607 2012-01-20  Pavel Feldman  <pfeldman@google.com>
3608
3609         Web Inspector: [chromium] add WebDevToolsFrontendClient::openInNewTab for upcoming WebCore change.
3610         https://bugs.webkit.org/show_bug.cgi?id=76698
3611
3612         Reviewed by Yury Semikhatsky.
3613
3614         * public/WebDevToolsFrontendClient.h:
3615         (WebKit::WebDevToolsFrontendClient::openInNewTab):
3616
3617 2012-01-20  Hayato Ito  <hayato@chromium.org>
3618
3619         Add ShadowRoot.idl which is enabled by newly introduced SHADOW_DOM flag.
3620         https://bugs.webkit.org/show_bug.cgi?id=76353
3621
3622         Reviewed by Hajime Morita.
3623
3624         Add ShadowRoot.idl, which is enabled only on chromium port since this is
3625         under development feature.
3626         ShadowRoot.idl contains minimum API so that we can test it.
3627         Other APIs should be added on other changes so that we can isolate issues.
3628
3629         * features.gypi:
3630         * public/WebRuntimeFeatures.h:
3631         * src/WebRuntimeFeatures.cpp:
3632         (WebKit::WebRuntimeFeatures::enableShadowDOM):
3633         (WebKit::WebRuntimeFeatures::isShadowDOMEnabled):
3634
3635 2012-01-20  Shinya Kawanaka  <shinyak@google.com>
3636
3637         [chromium] Chromium should have EditorClientImpl::checkTextOfParagraph.
3638         https://bugs.webkit.org/show_bug.cgi?id=74071
3639
3640         Reviewed by Darin Fisher.
3641
3642         Spellchecker on Mac has more sophisticated interface for spellchecking (checkTextOfParagraph).
3643         If the other ports have the same interface, code can be clearer and easy to extend.
3644         This patch introduces such an interface. The implementation will be done not in WebKit but in Chromium.
3645
3646         Also, currently WebKit::WebTextCheckingResult and WebCore::TextCheckingResult have different forms.
3647         They should be corresponding apparently. This patch introduces such correspondence.
3648
3649         * WebKit.gyp:
3650         * public/WebSpellCheckClient.h:
3651         (WebKit::WebSpellCheckClient::checkTextOfParagraph):
3652           A new interface for spellchecking.
3653         * public/WebTextCheckingResult.h:
3654         (WebKit::WebTextCheckingResult::WebTextCheckingResult):
3655           Changed so that WebTextCheckingResult corresponds to WebCore::TextCheckingResult.
3656         * public/WebTextCheckingType.h: Copied from Source/WebKit/chromium/public/WebTextCheckingResult.h.
3657         * src/AssertMatchingEnums.cpp:
3658         * src/EditorClientImpl.cpp:
3659         (WebKit::EditorClientImpl::checkTextOfParagraph):
3660         * src/EditorClientImpl.h:
3661         * src/WebTextCheckingResult.cpp: Copied from Source/WebKit/chromium/public/WebTextCheckingResult.h.
3662         (WebKit::WebTextCheckingResult::operator TextCheckingResult):
3663
3664 2012-01-20  Shinya Kawanaka  <shinyak@google.com>
3665
3666         [chromium] WebFrame should have an interface to invoke spellchecking in arbitrarily.
3667         https://bugs.webkit.org/show_bug.cgi?id=73971
3668
3669         Reviewed by Darin Fisher.
3670
3671         This interface is necessary to recheck spelling of an arbitrary element.
3672
3673         * public/WebFrame.h:
3674         * public/WebNode.h:
3675         * src/WebFrameImpl.cpp:
3676         (WebKit::WebFrameImpl::requestTextChecking):
3677           Requests spellchecking for the element having current selection.
3678         * src/WebFrameImpl.h:
3679         * src/WebNode.cpp:
3680         (WebKit::WebNode::rootEditableElement):
3681           Takes a root editable element from Node.
3682
3683 2012-01-19  Kinuko Yasuda  <kinuko@chromium.org>
3684
3685         Cleanup: make constant variable names in fileapi/ conform to WebKit's coding guideline
3686         https://bugs.webkit.org/show_bug.cgi?id=76625
3687
3688         Reviewed by David Levin.
3689
3690         Also removing (almost) duplicated implementation of AsyncFileSystem::crackFileSystem.
3691
3692         * src/AsyncFileSystemChromium.cpp:
3693
3694 2012-01-19  Alexandre Elias  <aelias@google.com>
3695
3696         [chromium] Draw gutter quads outside root content layer
3697         https://bugs.webkit.org/show_bug.cgi?id=76328
3698
3699         Reviewed by James Robinson.
3700
3701         Add new layer property "backgroundCoversViewport".  If the content
3702         layers don't fully cover the render surface, this code calculates the
3703         difference between the root clip rect and the root content layer and
3704         draws up to four background-color quads in exactly the area that would
3705         be undrawn.
3706
3707         Test: CCTiledLayerImplTest::backgroundCoversViewport
3708
3709         * src/NonCompositedContentHost.cpp:
3710         (WebKit::NonCompositedContentHost::NonCompositedContentHost):
3711         * tests/CCLayerImplTest.cpp:
3712         (WebCore::TEST):
3713         * tests/CCTiledLayerImplTest.cpp:
3714         (WebCore::TEST):
3715         * tests/LayerChromiumTest.cpp:
3716
3717 2012-01-19  Greg Billock  <gbillock@google.com>
3718
3719         Web Intents chromium API modifications to track IntentRequest invocation method
3720         https://bugs.webkit.org/show_bug.cgi?id=76014
3721
3722         Reviewed by Darin Fisher.
3723
3724         * public/WebFrameClient.h:
3725         (WebKit::WebFrameClient::dispatchIntent):
3726         * public/WebIntent.h:
3727         * public/WebIntentRequest.h: Added.
3728         * src/FrameLoaderClientImpl.cpp:
3729         (WebKit::FrameLoaderClientImpl::dispatchIntent):
3730         * src/FrameLoaderClientImpl.h:
3731         * src/WebIntent.cpp:
3732         * src/WebIntentRequest.cpp: Added.
3733
3734 2012-01-19  Michal Mocny  <mmocny@google.com>
3735
3736         [chromium] Replace WGC3D visibility extension with resource_usage extension. [Part 1 of 3]
3737         https://bugs.webkit.org/show_bug.cgi?id=76634
3738
3739         Reviewed by Kenneth Russell.
3740
3741         * public/platform/WebGraphicsContext3D.h:
3742         (WebKit::WebGraphicsContext3D::setVisibilityCHROMIUM):
3743         (WebKit::WebGraphicsContext3D::setResourceUsageCHROMIUM):
3744         * src/GraphicsContext3DChromium.cpp:
3745         (WebCore::GraphicsContext3DPrivate::setVisibilityCHROMIUM):
3746         * tests/FakeWebGraphicsContext3D.h:
3747         (WebKit::FakeWebGraphicsContext3D::setResourceUsageCHROMIUM):
3748
3749 2012-01-19  James Robinson  <jamesr@chromium.org>
3750
3751         [chromium] Remove CCLayerDelegate, add ContentLayerDelegate for painting
3752         https://bugs.webkit.org/show_bug.cgi?id=76663
3753
3754         Reviewed by Kenneth Russell.
3755
3756         * src/WebContentLayerImpl.cpp:
3757         (WebKit::WebContentLayerImpl::~WebContentLayerImpl):
3758         * src/WebContentLayerImpl.h:
3759         * src/WebExternalTextureLayerImpl.cpp:
3760         (WebKit::WebExternalTextureLayerImpl::WebExternalTextureLayerImpl):
3761         (WebKit::WebExternalTextureLayerImpl::~WebExternalTextureLayerImpl):
3762         * src/WebExternalTextureLayerImpl.h:
3763         * src/WebLayerImpl.cpp:
3764         (WebKit::WebLayerImpl::WebLayerImpl):
3765         (WebKit::WebLayerImpl::~WebLayerImpl):
3766         * src/WebLayerImpl.h:
3767         * src/WebMediaPlayerClientImpl.cpp:
3768         (WebKit::WebMediaPlayerClientImpl::readyStateChanged):
3769         * src/WebPluginContainerImpl.cpp:
3770         (WebKit::WebPluginContainerImpl::WebPluginContainerImpl):
3771         * tests/CCLayerIteratorTest.cpp:
3772         * tests/CCLayerTreeHostCommonTest.cpp:
3773         (WebCore::LayerChromiumWithForcedDrawsContent::LayerChromiumWithForcedDrawsContent):
3774         (WebCore::TEST):
3775         * tests/CCLayerTreeHostTest.cpp:
3776         (WTF::CCLayerTreeHostTest::doBeginTest):
3777         (WTF::ContentLayerChromiumWithUpdateTracking::create):
3778         (WTF::ContentLayerChromiumWithUpdateTracking::ContentLayerChromiumWithUpdateTracking):
3779         * tests/LayerChromiumTest.cpp:
3780         * tests/TiledLayerChromiumTest.cpp:
3781         (WTF::FakeTiledLayerChromium::FakeTiledLayerChromium):
3782         * tests/TreeSynchronizerTest.cpp:
3783         (WebCore::MockLayerChromium::MockLayerChromium):
3784         (WebCore::TEST):
3785
3786 2012-01-19  Dirk Pranke  <dpranke@chromium.org>
3787
3788         remove the duplicated build rules from WebKit.gyp, Tools.gyp
3789         https://bugs.webkit.org/show_bug.cgi?id=73384
3790
3791         Reviewed by Tony Chang.
3792
3793         This patch removes the no-longer-necessary conditional logic for
3794         build_webkit_exes_from_webkit_gyp; we now always build the exes
3795         from their own dedicated gyp files.
3796         * WebKit.gyp:
3797         * WebKitUnitTests.gyp:
3798         * gyp_webkit:
3799
3800 2012-01-19  Dirk Pranke  <dpranke@chromium.org>
3801
3802         Unreviewed, Roll DEPS to most recent LKGR (118291).
3803
3804         * DEPS:
3805
3806 2012-01-18  Jer Noble  <jer.noble@apple.com>
3807
3808         Make WebAudio API const-correct.
3809         https://bugs.webkit.org/show_bug.cgi?id=76573
3810
3811         Reviewed by Daniel Bates.
3812
3813         The following functions were modified to use the renamed mutableData() accessor:
3814         * src/AudioDestinationChromium.cpp:
3815         (WebCore::AudioDestinationChromium::FIFO::fillBuffer):
3816         (WebCore::AudioDestinationChromium::FIFO::consume):
3817         * src/WebAudioData.cpp:
3818         (WebCore::WebAudioBus::channelData):
3819         * src/WebMediaPlayerClientImpl.cpp:
3820         (WebKit::WebMediaPlayerClientImpl::AudioSourceProviderImpl::provideInput):
3821
3822 2012-01-19  Joi Sigurdsson  <joi@chromium.org>
3823
3824         Enable use of precompiled headers in Chromium port on Windows.
3825
3826         Bug 76381 - Use precompiled headers in Chromium port on Windows
3827         https://bugs.webkit.org/show_bug.cgi?id=76381
3828
3829         Reviewed by Tony Chang.
3830
3831         * WebKit.gyp: Include WinPrecompile.gypi.
3832         * WinPrecompile.cpp: Added.
3833         * WinPrecompile.gypi: Added.
3834         * WinPrecompile.h: Added.
3835
3836 2012-01-18  Kinuko Yasuda  <kinuko@chromium.org>
3837
3838         Cleanup: Move chrome-specific filesystem type handling code (for FileSystem API) under chromium directory
3839         https://bugs.webkit.org/show_bug.cgi?id=76551
3840
3841         Reviewed by Darin Fisher.
3842
3843         * src/AssertMatchingEnums.cpp: Removed matching assertion for TypeExternal as it's no longer defined separately.
3844         * src/AsyncFileSystemChromium.cpp: Added crackFileSystemURL() and toURL() implementation that
3845         handle chrome-specific filesystem type (EXTERNAL) as well as regular TEMPORARY/PERSISTENT types.
3846         (WebCore::AsyncFileSystem::crackFileSystemURL): Added.
3847         (WebCore::AsyncFileSystemChromium::toURL): Added.
3848         * src/AsyncFileSystemChromium.h:
3849
3850 2012-01-18  Tom Sepez  <tsepez@chromium.org>
3851
3852         Pass content-security-policy directive into shared workers.
3853         https://bugs.webkit.org/show_bug.cgi?id=75660
3854
3855         Reviewed by Darin Fisher.
3856
3857         * public/WebContentSecurityPolicy.h: Added.
3858         * public/WebSharedWorker.h:
3859         (WebKit::WebSharedWorker::startWorkerContext):
3860         * src/AssertMatchingEnums.cpp:
3861         * src/SharedWorkerRepository.cpp:
3862         (WebCore::SharedWorkerScriptLoader::notifyFinished):
3863         * src/WebSharedWorkerImpl.cpp:
3864         (WebKit::WebSharedWorkerImpl::startWorkerContext):
3865         * src/WebSharedWorkerImpl.h:
3866
3867 2012-01-18  Ian Vollick  <vollick@chromium.org>
3868
3869         [chromium] Create a base-class CCAnimation to represent compositor animations
3870         https://bugs.webkit.org/show_bug.cgi?id=73233
3871
3872         Reviewed by Kenneth Russell.
3873
3874         * WebKit.gypi:
3875         * tests/CCActiveAnimationTest.cpp: Added.
3876         (WebCore::FakeFloatAnimation::duration):
3877         (WebCore::FakeFloatAnimation::getValue):
3878         (WebCore::createActiveAnimation):
3879         (WebCore::TEST):
3880         * tests/CCLayerAnimationControllerImplTest.cpp: Added.
3881         (WebCore::FakeControllerClient::FakeControllerClient):
3882         (WebCore::FakeControllerClient::~FakeControllerClient):
3883         (WebCore::FakeControllerClient::opacity):
3884         (WebCore::FakeControllerClient::setOpacity):
3885         (WebCore::FakeControllerClient::transform):
3886         (WebCore::FakeControllerClient::setTransform):
3887         (WebCore::FakeControllerClient::animationControllerImplDidActivate):
3888         (WebCore::FakeControllerClient::activeControllers):
3889         (WebCore::FakeTransformTransition::FakeTransformTransition):
3890         (WebCore::FakeTransformTransition::duration):
3891         (WebCore::FakeTransformTransition::getValue):
3892         (WebCore::FakeFloatTransition::FakeFloatTransition):
3893         (WebCore::FakeFloatTransition::duration):
3894         (WebCore::FakeFloatTransition::getValue):
3895         (WebCore::TEST):
3896
3897 2012-01-18  James Robinson  <jamesr@chromium.org>
3898
3899         Unreviewed, rolling out r105366.
3900         http://trac.webkit.org/changeset/105366
3901         https://bugs.webkit.org/show_bug.cgi?id=76015
3902
3903         Breaks CCLayerTreeHostImplTest unit test
3904
3905         * tests/CCQuadCullerTest.cpp:
3906         (WebCore::TestDrawQuad::TestDrawQuad):
3907         (WebCore::TestDrawQuad::create):
3908         (WebCore::setQuads):
3909         * tests/CCTiledLayerImplTest.cpp:
3910         (WebCore::createLayer):
3911         (WebCore::TEST):
3912         (WebCore::getQuads):
3913         (WebCore::coverageVisibleRectOnTileBoundaries):
3914         (WebCore::coverageVisibleRectIntersectsTiles):
3915         (WebCore::coverageVisibleRectIntersectsBounds):
3916
3917 2012-01-18  Dana Jansens  <danakj@chromium.org>
3918
3919         [chromium] Use region reported painted opaque for draw culling
3920         https://bugs.webkit.org/show_bug.cgi?id=76015
3921
3922         Reviewed by James Robinson.
3923
3924         * tests/CCQuadCullerTest.cpp:
3925         (WebCore::TestDrawQuad::TestDrawQuad):
3926         (WebCore::TestDrawQuad::create):
3927         (WebCore::setQuads):
3928         (WebCore::TEST):
3929         * tests/CCTiledLayerImplTest.cpp:
3930         (WebCore::createLayer):
3931         (WebCore::TEST):
3932         (WebCore::getQuads):
3933         (WebCore::coverageVisibleRectOnTileBoundaries):
3934         (WebCore::coverageVisibleRectIntersectsTiles):
3935         (WebCore::coverageVisibleRectIntersectsBounds):
3936
3937 2012-01-18  Joshua Bell  <jsbell@chromium.org>
3938
3939         IndexedDB: Fix InjectIDBKeyTest.SubProperty test failure
3940         https://bugs.webkit.org/show_bug.cgi?id=76582
3941
3942         Correct the test, now that https://bugs.webkit.org/show_bug.cgi?id=76493
3943         changes the semantics so that intermediate objects are created if possible
3944         to satisfy autoIncrement keypaths.
3945
3946         Reviewed by James Robinson.
3947
3948         * tests/IDBBindingUtilitiesTest.cpp:
3949         (WebCore::TEST):
3950
3951 2012-01-18  Dirk Pranke  <dpranke@chromium.org>
3952
3953         [chromium] move Tools.gyp, switch build-webkit --chromium to All.gyp
3954         https://bugs.webkit.org/show_bug.cgi?id=76505
3955
3956         Reviewed by Tony Chang.
3957
3958         Update path to Tools/DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp.
3959
3960         * All.gyp:
3961         * gyp_webkit:
3962         - change to using All.gyp
3963         - change build_webkit_exes_from_webkit_gyp to 0
3964
3965 2012-01-18  David Grogan  <dgrogan@chromium.org>
3966
3967         IndexedDB: Check for permission before using IndexedDB from a worker.
3968         https://bugs.webkit.org/show_bug.cgi?id=76500
3969
3970         Reviewed by David Levin.
3971
3972         * src/IDBFactoryBackendProxy.cpp:
3973         (WebKit::AllowIndexedDBMainThreadBridge::create):
3974         (WebKit::AllowIndexedDBMainThreadBridge::cancel):
3975         (WebKit::AllowIndexedDBMainThreadBridge::result):
3976         (WebKit::AllowIndexedDBMainThreadBridge::signalCompleted):
3977         (WebKit::AllowIndexedDBMainThreadBridge::AllowIndexedDBMainThreadBridge):
3978         (WebKit::AllowIndexedDBMainThreadBridge::allowIndexedDBTask): Call
3979         webView->permissionClient()->allowIndexedDB on the main thread because
3980         ContentSettingsObserver::AllowIndexedDB(), which is called down the
3981         chain, expects to be run on the main thread.
3982         (WebKit::AllowIndexedDBMainThreadBridge::didComplete):
3983         (WebKit::IDBFactoryBackendProxy::allowIDBFromWorkerThread): Wait for
3984         main permission check to complete on main thread before proceeding on
3985         worker thread.
3986
3987 2012-01-18  Tommy Widenflycht  <tommyw@google.com>
3988
3989         [chromium] MediaStream API: Make WebMediaStreamDescriptor copyable
3990         https://bugs.webkit.org/show_bug.cgi?id=76526
3991
3992         Reviewed by Darin Fisher.
3993
3994         This patch adds a copy constructor and a assignment operator to WebMediaStreamDescriptor.
3995
3996         * public/platform/WebMediaStreamDescriptor.h:
3997         (WebKit::WebMediaStreamDescriptor::WebMediaStreamDescriptor):
3998         (WebKit::WebMediaStreamDescriptor::operator=):
3999         * src/WebMediaStreamDescriptor.cpp:
4000         (WebKit::WebMediaStreamDescriptor::assign):
4001
4002 2012-01-18  Dana Jansens  <danakj@chromium.org>
4003
4004         [chromium] Enable tracking opaque region in Skia graphics context, return it from LayerTextureUpdater
4005         https://bugs.webkit.org/show_bug.cgi?id=76211
4006
4007         Reviewed by James Robinson.
4008
4009         * WebKit.gypi:
4010         * tests/LayerTextureUpdaterTest.cpp: Added.
4011         (WebCore::TestLayerPainterChromium::TestLayerPainterChromium):
4012         (WebCore::TestLayerPainterChromium::paint):
4013         (WebCore::PaintFillOpaque::operator()):
4014         (WebCore::PaintFillAlpha::operator()):
4015         (WebCore::TEST):
4016         * tests/TiledLayerChromiumTest.cpp:
4017         (WTF::FakeLayerTextureUpdater::prepareToUpdate):
4018
4019 2012-01-18  Tim Dresser  <tdresser@chromium.org>
4020
4021         [chromium] Refactor canvas, plugin, and video drawing to be more data-driven
4022         https://bugs.webkit.org/show_bug.cgi?id=76274
4023
4024         Reviewed by James Robinson.
4025
4026         No longer test culling in CCLayerTreeHostImplTest.blendingOffWhenDrawingLayers.
4027
4028         * tests/CCLayerTreeHostImplTest.cpp:
4029         (WebKit::BlendStateCheckLayer::appendQuads):
4030         (WebKit::BlendStateCheckLayer::setExpectation):
4031         (WebKit::BlendStateCheckLayer::quadsAppended):
4032         (WebKit::BlendStateCheckLayer::BlendStateCheckLayer):
4033         (WebKit::TEST_F):
4034
4035 2012-01-18  Dominic Mazzoni  <dmazzoni@google.com>
4036
4037         Accessibility: Chromium needs methods to scroll an object into view or to a specific location.
4038         https://bugs.webkit.org/show_bug.cgi?id=73460
4039
4040         Reviewed by Chris Fleizach.
4041
4042         * public/WebAccessibilityObject.h:
4043         * src/WebAccessibilityObject.cpp:
4044         (WebKit::WebAccessibilityObject::scrollToMakeVisible):
4045         (WebKit::WebAccessibilityObject::scrollToMakeVisibleWithSubFocus):
4046         (WebKit::WebAccessibilityObject::scrollToGlobalPoint):
4047
4048 2012-01-17  Sheriff Bot  <webkit.review.bot@gmail.com>
4049
4050         Unreviewed, rolling out r105244.
4051         http://trac.webkit.org/changeset/105244
4052         https://bugs.webkit.org/show_bug.cgi?id=76518
4053
4054         broke Chromium Mac (Requested by rolandsteiner on #webkit).
4055
4056         * public/WebAccessibilityObject.h:
4057         * src/WebAccessibilityObject.cpp:
4058
4059 2012-01-17  Dominic Mazzoni  <dmazzoni@google.com>
4060
4061         Accessibility: Chromium needs methods to scroll an object into view or to a specific location.
4062         https://bugs.webkit.org/show_bug.cgi?id=73460
4063
4064         Reviewed by Chris Fleizach.
4065
4066         * public/WebAccessibilityObject.h:
4067         * src/WebAccessibilityObject.cpp:
4068         (WebKit::WebAccessibilityObject::scrollToMakeVisible):
4069         (WebKit::WebAccessibilityObject::scrollToMakeVisibleWithSubFocus):
4070         (WebKit::WebAccessibilityObject::scrollToGlobalPoint):
4071
4072 2012-01-17  Noel Gordon  <noel.gordon@gmail.com>
4073
4074         [chromium] Remove public/WebWorker.h from the gyp projects
4075         https://bugs.webkit.org/show_bug.cgi?id=76512
4076
4077         Reviewed by David Levin.
4078
4079         public/WebWorker.h was removed in r105020, remove references from the gyp projects.
4080
4081         * WebKit.gyp:
4082
4083 2012-01-17  Yury Semikhatsky  <yurys@chromium.org>
4084
4085         Unreviewed. Update Chromium dependency 117616:117882
4086
4087         * DEPS:
4088
4089 2012-01-17  Bill Budge  <bbudge@chromium.org>
4090
4091         AssociatedURLLoader adds support for the HTTP response header Access-Control-Expose-Header.
4092         https://bugs.webkit.org/show_bug.cgi?id=76419
4093
4094         Reviewed by Adam Barth.
4095
4096         * src/AssociatedURLLoader.cpp:
4097         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
4098         * tests/AssociatedURLLoaderTest.cpp:
4099         (WebKit::AssociatedURLLoaderTest::CheckAccessControlHeaders):
4100         (WebKit::TEST_F):
4101
4102 2012-01-16  Bill Budge  <bbudge@chromium.org>
4103
4104         Changes AssociatedURLLoader to remove non-whitelisted HTTP response headers for CORS requests,
4105         and Set-Cookie and Set-Cookie2 response headers for all requests.
4106         https://bugs.webkit.org/show_bug.cgi?id=76228
4107
4108         Reviewed by Adam Barth.
4109
4110         * src/AssociatedURLLoader.cpp:
4111         (WebKit::AssociatedURLLoader::ClientAdapter::create):
4112         (WebKit::AssociatedURLLoader::ClientAdapter::ClientAdapter):
4113         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
4114         (WebKit::AssociatedURLLoader::loadAsynchronously):
4115         * tests/AssociatedURLLoaderTest.cpp:
4116         (WebKit::AssociatedURLLoaderTest::didReceiveResponse):
4117         (WebKit::TEST_F):
4118
4119 2012-01-16  xueqing huang  <huangxueqing@baidu.com>
4120
4121         Add offline web applications API applicationCache.abort.
4122         https://bugs.webkit.org/show_bug.cgi?id=76270
4123
4124         Reviewed by Alexey Proskuryakov.
4125
4126         * src/ApplicationCacheHost.cpp:
4127         (WebCore::ApplicationCacheHost::abort):
4128