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