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