1 2012-02-24 Sheriff Bot <webkit.review.bot@gmail.com>
3 Unreviewed, rolling out r108860.
4 http://trac.webkit.org/changeset/108860
5 https://bugs.webkit.org/show_bug.cgi?id=79544
7 "Breaks Linux compile" (Requested by enne on #webkit).
10 * public/platform/WebColorName.h:
11 * src/WebColor.cpp: Renamed from Source/WebKit/chromium/src/WebColorName.cpp.
13 (WebKit::toCSSValueKeyword):
14 (WebKit::setNamedColors):
16 2012-02-24 James Robinson <jamesr@chromium.org>
18 [chromium] WebKit::setColorNames is a client API
19 https://bugs.webkit.org/show_bug.cgi?id=79539
21 Reviewed by Darin Fisher.
24 * public/WebColorName.h: Renamed from Source/Platform/chromium/public/WebColorName.h.
26 * public/platform/WebColorName.h:
29 2012-02-22 James Robinson <jamesr@chromium.org>
31 [chromium] Move WebGraphicsContext3D header into the Platform directory
32 https://bugs.webkit.org/show_bug.cgi?id=79301
34 Reviewed by Adam Barth.
36 Moves WebGraphicsContext3D and WebNonCopyable (which WGC3D depends on).
38 * public/platform/WebGraphicsContext3D.h:
39 * public/platform/WebNonCopyable.h:
41 2012-02-24 Michal Mocny <mmocny@google.com>
43 [chromium] Purge Skia's GPU texture cache using GL_CHROMIUM_gpu_memory_manager
44 https://bugs.webkit.org/show_bug.cgi?id=78265
46 Reviewed by Stephen White.
48 * src/GraphicsContext3DChromium.cpp:
49 (GrMemoryAllocationChangedCallback):
50 (WebCore::GrMemoryAllocationChangedCallback::GrMemoryAllocationChangedCallback):
51 (WebCore::GrMemoryAllocationChangedCallback::onGpuMemoryAllocationChanged):
53 (WebCore::GraphicsContext3DPrivate::grContext):
55 2012-02-24 James Robinson <jamesr@chromium.org>
57 [chromium] Remove deprecated and unused WebGraphicsContext3D::initialize call
58 https://bugs.webkit.org/show_bug.cgi?id=79296
60 Reviewed by Kenneth Russell.
62 The old way to initialize a WebGraphicsContext3D from inside WebKit was to call initialize() on it with a
63 WebView*. The new way to do this is via the WebViewClient interface. This deletes the old, unused path.
65 * public/platform/WebGraphicsContext3D.h:
67 * tests/CCLayerTreeHostImplTest.cpp:
68 * tests/FakeWebGraphicsContext3D.h:
70 2012-02-23 James Robinson <jamesr@chromium.org>
72 [chromium] Move Web*Layer* headers into Platform
73 https://bugs.webkit.org/show_bug.cgi?id=79425
75 Reviewed by Adam Barth.
77 Adds forwarding headers for Web*Layer* APIs and their dependencies. The forwarding headers for the Web*Layer*
78 APIs are temporary since Web*Layer* is not exposed in the client interface. The other headers (such as
79 WebColor) are exposed in both the client and platform APIs, so the forwarding headers are permanent, although we
80 might move them back down to public/ at some point.
82 * public/platform/WebCanvas.h:
83 * public/platform/WebColor.h:
84 * public/platform/WebColorName.h:
85 * public/platform/WebContentLayer.h:
86 * public/platform/WebContentLayerClient.h:
87 * public/platform/WebExternalTextureLayer.h:
88 * public/platform/WebLayer.h:
89 * public/platform/WebLayerTreeView.h:
90 * public/platform/WebLayerTreeViewClient.h:
91 * public/platform/WebPrivatePtr.h:
92 * public/platform/WebSolidColorLayer.h:
94 2012-02-24 Peter Collingbourne <peter@pcc.me.uk>
96 [chromium] Have WebFrameImpl::selectionAsMarkup create interchange markup.
97 https://bugs.webkit.org/show_bug.cgi?id=77307
99 Reviewed by Tony Chang.
101 This function is currently used to build markup in order to
102 print the selection, and will also be used to build markup for
103 the clipboard. Without this change, the markup will refer to
104 (for example) nonexistent CSS classes and invalid relative
105 paths and therefore will not be interpreted correctly.
107 Chromium bug: http://crbug.com/23329
109 * src/WebFrameImpl.cpp:
110 (WebKit::WebFrameImpl::selectionAsMarkup):
112 2012-02-24 Pavel Feldman <pfeldman@chromium.org>
114 Not reviewed: chromium image for inspector status bar button updated.
116 * src/js/Images/segmentSelectedEndChromium.png:
118 2012-02-24 Shinya Kawanaka <shinyak@chromium.org>
120 SpellCheckRequest needs to know the context where the spellcheck happened.
121 https://bugs.webkit.org/show_bug.cgi?id=79320
123 Reviewed by Hajime Morita.
125 * src/EditorClientImpl.cpp:
126 (WebKit::EditorClientImpl::requestCheckingOfString):
127 * src/EditorClientImpl.h:
129 * src/WebFrameImpl.cpp:
130 (WebKit::WebFrameImpl::requestTextChecking):
132 2012-02-23 Sheriff Bot <webkit.review.bot@gmail.com>
134 Unreviewed. Rolled DEPS.
138 2012-02-23 Ian Vollick <vollick@chromium.org>
140 [chromium] Implement keyframed animations for the cc thread.
141 https://bugs.webkit.org/show_bug.cgi?id=77229
143 Reviewed by James Robinson.
146 * tests/CCAnimationTestCommon.cpp:
148 (WebCore::addOpacityTransition):
149 (WebKitTests::addOpacityTransitionToController):
150 (WebKitTests::addOpacityTransitionToLayer):
151 * tests/CCAnimationTestCommon.h:
154 * tests/CCKeyframedAnimationCurveTest.cpp: Added.
156 (WebCore::expectTranslateX):
158 * tests/CCLayerAnimationControllerTest.cpp:
159 (WebKitTests::expectTranslateX):
162 * tests/CCLayerTreeHostTest.cpp:
163 (WTF::CCLayerTreeHostTest::dispatchAddAnimation):
164 (WTF::CCLayerTreeHostTest::doBeginTest):
166 2012-02-23 James Robinson <jamesr@chromium.org>
168 [chromium] Clean up GraphicsContext3D initialization paths
169 https://bugs.webkit.org/show_bug.cgi?id=79321
171 Reviewed by Kenneth Russell.
173 This simplifies the GraphicsContext3D initialization paths down to two simple codepaths, one for offscreen
174 contexts initialized from WebCore and one for onscreen (compositor) contexts initialized by WebViewImpl or
175 WebLayerTreeViewImpl.
177 Offscreen initialization path:
178 1) WebCore code calls WebCore::GraphicsContext3D::create(), implemented in GraphicsContext3DChromium.cpp
179 2) GraphicsContext3D::create() instantiates a WebGraphicsContext3D via the static WebKitPlatformSupport interface
180 3) GraphicsContext3DPrivate::createGraphicsContextFromWebContext() wraps the WebGraphicsContext3D in a
181 GraphicsContext3D's m_private pointer.
183 Onscreen initialization path:
184 1) WebViewImpl or WebLayerTreeViewImpl request an onscreen WebGraphicsContext3D from either their WebViewClient
185 or WebLayerTreeViewClient, respectively
186 2) GraphicsContext3DPrivate::createGraphicsContextFromWebContext() wraps the WebGraphicsContext3D in a
187 GraphicsContext3D's m_private pointer.
189 There are no other initialization paths. Specifically, we do not support instantiating onscreen contexts from
192 * src/GraphicsContext3DChromium.cpp:
193 (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
194 (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
196 (WebCore::GraphicsContext3DPrivate::platformTexture):
197 (WebCore::GraphicsContext3D::create):
198 * src/GraphicsContext3DPrivate.h:
199 (GraphicsContext3DPrivate):
200 * src/WebLayerTreeViewImpl.cpp:
201 (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
202 * src/WebViewImpl.cpp:
203 (std::getCompositorContextAttributes):
204 (WebKit::WebViewImpl::createCompositorGraphicsContext3D):
206 (WebKit::WebViewImpl::createLayerTreeHostContext3D):
207 (WebKit::WebViewImpl::graphicsContext3D):
210 * tests/CCLayerTreeHostImplTest.cpp:
211 (WebKit::CCLayerTreeHostImplTest::createContext):
212 (CCLayerTreeHostImplTest):
214 * tests/CCLayerTreeHostTest.cpp:
215 (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
216 * tests/Canvas2DLayerChromiumTest.cpp:
217 (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
218 * tests/CompositorFakeGraphicsContext3D.h:
219 (WebCore::createCompositorMockGraphicsContext3D):
220 * tests/FakeGraphicsContext3DTest.cpp:
223 2012-02-23 Jonathan Backer <backer@chromium.org>
225 [chromium] Plumb video damage to the damage tracker.
226 https://bugs.webkit.org/show_bug.cgi?id=79373
228 Reviewed by James Robinson.
230 * src/WebMediaPlayerClientImpl.cpp:
231 (WebKit::WebMediaPlayerClientImpl::repaint):
233 2012-02-21 James Robinson <jamesr@chromium.org>
235 [chromium] Notify compositor of wheel event registration via ScrollingCoordinator
236 https://bugs.webkit.org/show_bug.cgi?id=79133
238 Reviewed by Dimitri Glazkov.
240 Rips out old wheel event notification and adds unit tests for new LayerChromium property.
242 * src/NonCompositedContentHost.cpp:
243 (WebKit::NonCompositedContentHost::setViewport):
244 * src/WebCompositorInputHandlerImpl.cpp:
245 (WebKit::WebCompositorInputHandlerImpl::handleInputEvent):
246 * src/WebViewImpl.cpp:
247 (WebKit::WebViewImpl::numberOfWheelEventHandlersChanged):
248 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
250 * tests/CCLayerTreeHostImplTest.cpp:
253 * tests/LayerChromiumTest.cpp:
254 * tests/WebCompositorInputHandlerImplTest.cpp:
256 2012-02-23 Adrienne Walker <enne@google.com>
258 Unreviewed, rolling out r108666.
259 http://trac.webkit.org/changeset/108666
260 https://bugs.webkit.org/show_bug.cgi?id=79321
262 Breaks webplugin tests: http://goo.gl/CoHIi
264 * src/GraphicsContext3DChromium.cpp:
265 (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
267 (WebCore::GraphicsContext3DPrivate::create):
268 (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
269 (WebCore::GraphicsContext3DPrivate::createGraphicsContextForAnotherThread):
270 (WebCore::GraphicsContext3DPrivate::platformTexture):
271 (WebCore::GraphicsContext3D::create):
272 * src/GraphicsContext3DPrivate.h:
274 (GraphicsContext3DPrivate):
275 * src/WebLayerTreeViewImpl.cpp:
276 (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
277 * src/WebViewImpl.cpp:
278 (std::getCompositorContextAttributes):
279 (WebKit::WebViewImpl::createLayerTreeHostContext3D):
280 (WebKit::WebViewImpl::graphicsContext3D):
281 * tests/CCLayerTreeHostImplTest.cpp:
282 (CCLayerTreeHostImplTest):
284 * tests/CCLayerTreeHostTest.cpp:
285 (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
286 * tests/Canvas2DLayerChromiumTest.cpp:
287 (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
288 * tests/CompositorFakeGraphicsContext3D.h:
289 (WebCore::createCompositorMockGraphicsContext3D):
290 * tests/FakeGraphicsContext3DTest.cpp:
293 2012-02-23 Daniel Sievers <sievers@chromium.org>
295 [Chromium] Add video stream texture support
296 https://bugs.webkit.org/show_bug.cgi?id=78398
298 This upstreams the abstraction used on Android for
299 hardware video decoding with the compositor.
301 Most of the interfaces are kept generic and the core
302 of this change is to allow texturing from an external
303 texture while receiving notifications (on the compositor
304 thread if we are running it) when there are new frames to
307 Reviewed by James Robinson.
310 * public/WebMediaPlayer.h:
312 (WebKit::WebMediaPlayer::setStreamTextureClient):
314 * public/WebStreamTextureClient.h: Copied from Source/WebKit/chromium/public/WebVideoFrame.h.
316 (WebStreamTextureClient):
317 (WebKit::WebStreamTextureClient::~WebStreamTextureClient):
318 * public/WebVideoFrame.h:
319 * src/WebMediaPlayerClientImpl.cpp:
320 (WebKit::WebMediaPlayerClientImpl::~WebMediaPlayerClientImpl):
321 (WebKit::WebMediaPlayerClientImpl::setVideoFrameProviderClient):
322 (WebKit::WebMediaPlayerClientImpl::didReceiveFrame):
324 (WebKit::WebMediaPlayerClientImpl::didUpdateMatrix):
325 * src/WebMediaPlayerClientImpl.h:
326 (WebMediaPlayerClientImpl):
328 2012-02-22 James Robinson <jamesr@chromium.org>
330 [chromium] Clean up GraphicsContext3D initialization paths
331 https://bugs.webkit.org/show_bug.cgi?id=79321
333 Reviewed by Kenneth Russell.
335 This simplifies the GraphicsContext3D initialization paths down to two simple codepaths, one for offscreen
336 contexts initialized from WebCore and one for onscreen (compositor) contexts initialized by WebViewImpl or
337 WebLayerTreeViewImpl.
339 Offscreen initialization path:
340 1) WebCore code calls WebCore::GraphicsContext3D::create(), implemented in GraphicsContext3DChromium.cpp
341 2) GraphicsContext3D::create() instantiates a WebGraphicsContext3D via the static WebKitPlatformSupport interface
342 3) GraphicsContext3DPrivate::createGraphicsContextFromWebContext() wraps the WebGraphicsContext3D in a
343 GraphicsContext3D's m_private pointer.
345 Onscreen initialization path:
346 1) WebViewImpl or WebLayerTreeViewImpl request an onscreen WebGraphicsContext3D from either their WebViewClient
347 or WebLayerTreeViewClient, respectively
348 2) GraphicsContext3DPrivate::createGraphicsContextFromWebContext() wraps the WebGraphicsContext3D in a
349 GraphicsContext3D's m_private pointer.
351 There are no other initialization paths. Specifically, we do not support instantiating onscreen contexts from
354 * src/GraphicsContext3DChromium.cpp:
355 (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
356 (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
358 (WebCore::GraphicsContext3DPrivate::platformTexture):
359 (WebCore::GraphicsContext3D::create):
360 * src/GraphicsContext3DPrivate.h:
361 (GraphicsContext3DPrivate):
362 * src/WebLayerTreeViewImpl.cpp:
363 (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
364 * src/WebViewImpl.cpp:
365 (std::getCompositorContextAttributes):
366 (WebKit::WebViewImpl::createLayerTreeHostContext3D):
367 (WebKit::WebViewImpl::graphicsContext3D):
368 * tests/CCLayerTreeHostImplTest.cpp:
369 (WebKit::CCLayerTreeHostImplTest::createContext):
370 (CCLayerTreeHostImplTest):
372 * tests/CCLayerTreeHostTest.cpp:
373 (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
374 * tests/Canvas2DLayerChromiumTest.cpp:
375 (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
376 * tests/CompositorFakeGraphicsContext3D.h:
377 (WebCore::createCompositorMockGraphicsContext3D):
378 * tests/FakeGraphicsContext3DTest.cpp:
381 2012-02-23 Greg Billock <gbillock@google.com>
383 Add UserGestureIndicator capability to Chromium API.
384 https://bugs.webkit.org/show_bug.cgi?id=77690
386 Reviewed by Darin Fisher.
389 * public/WebScopedUserGesture.h: Added.
390 * src/WebScopedUserGesture.cpp: Added.
392 2012-02-23 Peter Beverloo <peter@chromium.org>
394 Unreviewed, rolling out r108627 and r108630.
395 https://bugs.webkit.org/show_bug.cgi?id=79367
397 ffmpeg is creating issues and was just reverted upstream as well.
401 2012-02-23 Peter Beverloo <peter@chromium.org>
403 Unreviewed build fix. Remove the ffmpeg binary directory from the
404 Chromium-Windows DEPS file, following the commit done in the
406 http://src.chromium.org/viewvc/chrome?view=rev&revision=123123
410 2012-02-23 Peter Beverloo <peter@chromium.org>
412 Unreviewed. Rolled DEPS.
416 2012-02-22 Hajime Morrita <morrita@chromium.org>
418 NOTIFICATIONS should be implemented as PageSupplement
419 https://bugs.webkit.org/show_bug.cgi?id=79052
421 Reviewed by Adam Barth.
423 * src/WebViewImpl.cpp:
424 (WebKit::WebViewImpl::WebViewImpl):
426 2012-02-22 Dana Jansens <danakj@chromium.org>
428 [chromium] Add unit test for surface occlusion
429 https://bugs.webkit.org/show_bug.cgi?id=79302
431 Reviewed by James Robinson.
433 * tests/CCOcclusionTrackerTest.cpp:
437 2012-02-22 James Robinson <jamesr@chromium.org>
439 Remove GraphicsContext3D::paintsIntoCanvasBuffer and unify WebGL and canvas 2d logic
440 https://bugs.webkit.org/show_bug.cgi?id=79317
442 Reviewed by Kenneth Russell.
444 Remove paintsIntoCanvasBuffer() implementations.
446 * src/GraphicsContext3DChromium.cpp:
448 * src/GraphicsContext3DPrivate.h:
450 2012-02-22 Yuta Kitamura <yutak@chromium.org>
452 Unreviewed, rolling out r108590.
453 http://trac.webkit.org/changeset/108590
455 I mistakenly disabled tests even though the fix was already
458 * tests/CCOcclusionTrackerTest.cpp:
461 2012-02-22 Yuta Kitamura <yutak@chromium.org>
463 [Chromium] Unreviewed. Disable two tests from CCOcclusionTrackerTest
464 which cause assertion failures.
466 * tests/CCOcclusionTrackerTest.cpp:
470 2012-02-22 Dana Jansens <danakj@chromium.org>
472 [chromium] Fix CCOcclusionTracker unit test assertion
473 https://bugs.webkit.org/show_bug.cgi?id=79275
475 Reviewed by James Robinson.
477 * tests/CCOcclusionTrackerTest.cpp:
480 2012-02-22 Ian Vollick <vollick@chromium.org>
482 [chromium] Plumb from GraphicsLayer to the cc thread animation code
483 https://bugs.webkit.org/show_bug.cgi?id=75874
485 Reviewed by James Robinson.
488 * public/WebSettings.h:
489 * public/platform/WebLayerTreeView.h:
490 (WebKit::WebLayerTreeView::Settings::Settings):
492 * src/WebLayerTreeView.cpp:
493 (WebKit::WebLayerTreeView::Settings::operator CCSettings):
494 * src/WebSettingsImpl.cpp:
495 (WebKit::WebSettingsImpl::setThreadedAnimationEnabled):
497 * src/WebSettingsImpl.h:
499 * src/WebViewImpl.cpp:
500 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
501 * tests/CCActiveAnimationTest.cpp:
502 (WebCore::createActiveAnimation):
503 * tests/CCAnimationTestCommon.cpp: Added.
505 (WebKitTests::FakeFloatAnimationCurve::FakeFloatAnimationCurve):
506 (WebKitTests::FakeFloatAnimationCurve::~FakeFloatAnimationCurve):
507 (WebKitTests::FakeFloatAnimationCurve::clone):
508 (WebKitTests::FakeTransformTransition::FakeTransformTransition):
509 (WebKitTests::FakeTransformTransition::~FakeTransformTransition):
510 (WebKitTests::FakeTransformTransition::getValue):
511 (WebKitTests::FakeTransformTransition::clone):
512 (WebKitTests::FakeFloatTransition::FakeFloatTransition):
513 (WebKitTests::FakeFloatTransition::~FakeFloatTransition):
514 (WebKitTests::FakeFloatTransition::getValue):
515 (WebKitTests::FakeLayerAnimationControllerImplClient::FakeLayerAnimationControllerImplClient):
516 (WebKitTests::FakeLayerAnimationControllerImplClient::~FakeLayerAnimationControllerImplClient):
517 (WebKitTests::FakeFloatTransition::clone):
518 (WebKitTests::addOpacityTransition):
519 * tests/CCAnimationTestCommon.h: Added.
522 (FakeFloatAnimationCurve):
523 (WebKitTests::FakeFloatAnimationCurve::duration):
524 (WebKitTests::FakeFloatAnimationCurve::getValue):
525 (FakeTransformTransition):
526 (WebKitTests::FakeTransformTransition::duration):
527 (FakeFloatTransition):
528 (WebKitTests::FakeFloatTransition::duration):
529 (FakeLayerAnimationControllerImplClient):
530 (WebKitTests::FakeLayerAnimationControllerImplClient::id):
531 (WebKitTests::FakeLayerAnimationControllerImplClient::opacity):
532 (WebKitTests::FakeLayerAnimationControllerImplClient::setOpacity):
533 (WebKitTests::FakeLayerAnimationControllerImplClient::transform):
534 (WebKitTests::FakeLayerAnimationControllerImplClient::setTransform):
535 (WebKitTests::FakeLayerAnimationControllerImplClient::bounds):
536 * tests/CCLayerAnimationControllerImplTest.cpp:
537 (WebKitTests::createActiveAnimation):
539 * tests/CCLayerAnimationControllerTest.cpp: Added.
541 (WebKitTests::createActiveAnimation):
543 * tests/CCLayerTreeHostImplTest.cpp:
544 (WebKit::CCLayerTreeHostImplTest::postAnimationEventsToMainThreadOnImplThread):
545 * tests/CCLayerTreeHostTest.cpp:
546 (WTF::TestHooks::animateLayers):
547 (MockLayerTreeHostImpl):
548 (WTF::MockLayerTreeHostImpl::animateLayers):
549 (WTF::MockLayerTreeHost::create):
550 (WTF::MockLayerTreeHost::createLayerTreeHostImpl):
552 (MockLayerAnimationController):
553 (WTF::MockLayerAnimationController::create):
554 (WTF::MockLayerAnimationController::addAnimation):
555 (WTF::MockLayerTreeHostClient::scheduleComposite):
556 (WTF::CCLayerTreeHostTest::postAddAnimationToMainThread):
557 (CCLayerTreeHostTest):
558 (WTF::CCLayerTreeHostTest::dispatchAddAnimation):
559 (WTF::CCLayerTreeHostTest::doBeginTest):
560 (CCLayerTreeHostTestAddAnimation):
561 (WTF::CCLayerTreeHostTestAddAnimation::CCLayerTreeHostTestAddAnimation):
562 (WTF::CCLayerTreeHostTestAddAnimation::beginTest):
563 (WTF::CCLayerTreeHostTestAddAnimation::animateLayers):
564 (WTF::CCLayerTreeHostTestAddAnimation::afterTest):
566 * tests/TreeSynchronizerTest.cpp:
567 (FakeLayerAnimationController):
568 (WebKitTests::FakeLayerAnimationController::create):
569 (WebKitTests::FakeLayerAnimationController::synchronizedAnimations):
570 (WebKitTests::FakeLayerAnimationController::FakeLayerAnimationController):
571 (WebKitTests::FakeLayerAnimationController::synchronizeAnimations):
575 2012-02-21 Ryosuke Niwa <rniwa@webkit.org>
577 Remove the remaining uses of CSSStyleDeclaration in Editor
578 https://bugs.webkit.org/show_bug.cgi?id=78939
580 Reviewed by Enrica Casucci.
582 * src/EditorClientImpl.cpp:
583 (WebKit::EditorClientImpl::shouldApplyStyle):
584 * src/EditorClientImpl.h:
587 2012-02-22 Daniel Cheng <dcheng@chromium.org>
589 [chromium] Cleanup unused WebDragData methods after r107846
590 https://bugs.webkit.org/show_bug.cgi?id=78837
592 Reviewed by Tony Chang.
594 The deleted methods have been replaced by items() and setItems().
596 * public/platform/WebDragData.h:
598 * src/WebDragData.cpp:
599 (WebKit::WebDragData::addItem): Add ensureMutable() call to verify preconditions for
600 mutating the item store.
602 2012-02-22 Tim Dresser <tdresser@chromium.org>
604 CCLayerTreeHostImpl calls didDraw more frequently than willDraw
605 https://bugs.webkit.org/show_bug.cgi?id=79139
607 Reviewed by James Robinson.
609 * tests/CCLayerTreeHostImplTest.cpp:
610 (WebKit::DidDrawCheckLayer::willDraw):
612 (WebKit::DidDrawCheckLayer::willDrawCalled):
613 (WebKit::DidDrawCheckLayer::DidDrawCheckLayer):
617 2012-02-22 Dana Jansens <danakj@chromium.org>
619 [Chromium] New CCOcclusionTracker class with tests
620 https://bugs.webkit.org/show_bug.cgi?id=78549
622 Reviewed by James Robinson.
625 * tests/CCLayerTreeHostCommonTest.cpp:
627 * tests/CCOcclusionTrackerTest.cpp: Added.
629 (WebCore::setLayerPropertiesForTesting):
630 (LayerChromiumWithForcedDrawsContent):
631 (WebCore::LayerChromiumWithForcedDrawsContent::LayerChromiumWithForcedDrawsContent):
632 (WebCore::LayerChromiumWithForcedDrawsContent::drawsContent):
633 (TestCCOcclusionTracker):
634 (WebCore::TestCCOcclusionTracker::occlusionInScreenSpace):
635 (WebCore::TestCCOcclusionTracker::occlusionInTargetSurface):
636 (WebCore::TestCCOcclusionTracker::setOcclusionInScreenSpace):
637 (WebCore::TestCCOcclusionTracker::setOcclusionInTargetSurface):
640 2012-02-22 Hao Zheng <zhenghao@chromium.org>
642 [chromium] Build WebKit with MEDIA_STREAM disabled.
643 https://bugs.webkit.org/show_bug.cgi?id=79214
645 Reviewed by Kent Tamura.
647 * src/UserMediaClientImpl.h:
649 2012-02-20 Roland Steiner <rolandsteiner@chromium.org>
651 <style scoped>: Add runtime-flag
652 https://bugs.webkit.org/show_bug.cgi?id=79074
654 Added a runtime-flag.
655 Enable default STYLE_SCOPED compile-time flag for Chromium.
657 Reviewed by Dimitri Glazkov.
659 * features.gypi: enable STYLE_SCOPED
660 * public/WebRuntimeFeatures.h:
661 (WebRuntimeFeatures):
662 * src/WebRuntimeFeatures.cpp:
663 (WebKit::WebRuntimeFeatures::enableStyleScoped):
665 (WebKit::WebRuntimeFeatures::isStyleScopedEnabled):
667 2012-02-22 Yuta Kitamura <yutak@chromium.org>
669 Unreviewed, rolling out r108453.
670 http://trac.webkit.org/changeset/108453
671 https://bugs.webkit.org/show_bug.cgi?id=78549
673 Broke Chromium's webkit_unit_tests.
676 * tests/CCLayerTreeHostCommonTest.cpp:
679 * tests/CCOcclusionTrackerTest.cpp: Removed.
681 2012-02-22 Ryosuke Niwa <rniwa@webkit.org>
683 Remove the remaining uses of CSSStyleDeclaration in Editor
684 https://bugs.webkit.org/show_bug.cgi?id=78939
686 Reviewed by Enrica Casucci.
688 * src/EditorClientImpl.cpp:
689 (WebKit::EditorClientImpl::shouldApplyStyle):
690 * src/EditorClientImpl.h:
693 2012-02-22 Dana Jansens <danakj@chromium.org>
695 [chromium] Cull quads outside of the scissoring damage rect
696 https://bugs.webkit.org/show_bug.cgi?id=79181
698 Reviewed by James Robinson.
700 * tests/CCQuadCullerTest.cpp:
704 2012-02-21 Dana Jansens <danakj@chromium.org>
706 [Chromium] New CCOcclusionTracker class with tests
707 https://bugs.webkit.org/show_bug.cgi?id=78549
709 Reviewed by James Robinson.
712 * tests/CCLayerTreeHostCommonTest.cpp:
714 * tests/CCOcclusionTrackerTest.cpp: Added.
716 (WebCore::setLayerPropertiesForTesting):
717 (LayerChromiumWithForcedDrawsContent):
718 (WebCore::LayerChromiumWithForcedDrawsContent::LayerChromiumWithForcedDrawsContent):
719 (WebCore::LayerChromiumWithForcedDrawsContent::drawsContent):
720 (TestCCOcclusionTracker):
721 (WebCore::TestCCOcclusionTracker::occlusionInScreenSpace):
722 (WebCore::TestCCOcclusionTracker::occlusionInTargetSurface):
723 (WebCore::TestCCOcclusionTracker::setOcclusionInScreenSpace):
724 (WebCore::TestCCOcclusionTracker::setOcclusionInTargetSurface):
727 2012-02-21 MORITA Hajime <morrita@google.com>
729 INPUT_SPEECH should be implemented as a PageSupplement.
730 https://bugs.webkit.org/show_bug.cgi?id=79051
732 Reviewed by Adam Barth.
734 * src/WebViewImpl.cpp:
735 (WebKit::WebViewImpl::WebViewImpl):
737 2012-02-20 MORITA Hajime <morrita@google.com>
739 MEDIA_STREAM should be implemented as a PageSupplement.
740 https://bugs.webkit.org/show_bug.cgi?id=79050
742 Reviewed by Adam Barth.
744 * src/WebViewImpl.cpp:
745 (WebKit::WebViewImpl::WebViewImpl):
747 2012-02-21 Dana Jansens <danakj@chromium.org>
749 [chromium] Painting a layer clears opaque rect in untouched tiles
750 https://bugs.webkit.org/show_bug.cgi?id=79157
752 Reviewed by James Robinson.
754 * tests/TiledLayerChromiumTest.cpp:
757 2012-02-21 James Robinson <jamesr@chromium.org>
759 Enable ScrollingCoordinator in chromium whenever compositing is enabled
760 https://bugs.webkit.org/show_bug.cgi?id=79165
762 Reviewed by Adam Barth.
764 * src/NonCompositedContentHost.cpp:
765 (WebKit::NonCompositedContentHost::setViewport):
766 Whenever the ScrollingCoordinator is enabled the scroll layer's position is expected to be updated
767 externally to RenderLayerCompositor, so set it here.
768 * src/WebSettingsImpl.cpp:
769 (WebKit::WebSettingsImpl::setAcceleratedCompositingEnabled):
771 2012-02-21 Daniel Cheng <dcheng@chromium.org>
773 [chromium] Fix image drag out on Chromium
774 https://bugs.webkit.org/show_bug.cgi?id=79158
776 Reviewed by Tony Chang.
778 We constructed the WebDragData::Item for dragging out an image but never added it to the
779 item list. This is normally covered by the fast/events/drag-image-filename.html layout test,
780 but the bug wasn't caught in the original patch since the implementations in Chrome and DRT
783 * src/WebDragData.cpp:
784 (WebKit::WebDragData::items):
786 2012-02-21 David Grogan <dgrogan@chromium.org>
788 IndexedDB: webFrame isn't threadsafe, don't use it from a worker thread
789 https://bugs.webkit.org/show_bug.cgi?id=78659
791 After crrev.com/121669, indexed db doesn't use the web frame for
792 anything if called from a web worker.
794 No new tests - this check was defensive and possibly not ever
797 Reviewed by Tony Chang.
799 * src/IDBFactoryBackendProxy.cpp:
800 (WebKit::IDBFactoryBackendProxy::openFromWorker):
802 2012-02-21 Yury Semikhatsky <yurys@chromium.org>
804 [V8] Web Inspector: set breakpoint/pause doesn't work when worker is in a tight loop
805 https://bugs.webkit.org/show_bug.cgi?id=79097
807 Worker script execution will be interrupted for dispatching inspector commands.
809 Reviewed by Pavel Feldman.
811 * src/WebSharedWorkerImpl.cpp:
812 (WebKit::WebSharedWorkerImpl::dispatchDevToolsMessage):
814 2012-02-20 Peter Beverloo <peter@chromium.org>
816 Unreviewed. Rolled DEPS.
820 2012-02-20 Kenichi Ishibashi <bashi@chromium.org>
822 [WebSocket] Add deflater/inflater classes
823 https://bugs.webkit.org/show_bug.cgi?id=78449
825 Add tests which ensure WebSocketDeflater/WebSocketInflater can
826 compress/decompress data correctly.
828 Reviewed by Kent Tamura.
830 * WebKit.gypi: Added zlib dependency.
831 * WebKitUnitTests.gyp: Ditto.
832 * tests/WebSocketDeflaterTest.cpp: Added.
836 2012-02-17 Yury Semikhatsky <yurys@chromium.org>
838 [Chromium] Web Inspector: terminated workers are not removed from dedicated worker list
839 https://bugs.webkit.org/show_bug.cgi?id=78899
841 Pass original WorkerContextProxy object to the inspector instrumentation instead
842 of Chromium-specific one for consistency with WorkerMessagingProxy implementation
845 Reviewed by Pavel Feldman.
847 * src/WebWorkerClientImpl.cpp:
848 (WebKit::WebWorkerClientImpl::startWorkerContext):
850 2012-02-18 raman Tenneti <rtenneti@chromium.org>
852 Track the NPN protocol version negotiated with the server
853 https://bugs.webkit.org/show_bug.cgi?id=77349
855 Reviewed by Darin Fisher.
857 [chromium] Added ExtraData to WebURLResponse.
860 * public/platform/WebURLResponse.h:
862 (WebKit::WebURLResponse::ExtraData::~ExtraData):
864 * src/WebURLResponse.cpp:
865 (WebKit::WebURLResponse::extraData):
867 (WebKit::WebURLResponse::setExtraData):
868 * tests/WebURLResponseTest.cpp: Added.
871 (WebKit::TestExtraData::TestExtraData):
872 (WebKit::TestExtraData::~TestExtraData):
875 2012-02-17 Joshua Bell <jsbell@chromium.org>
877 IndexedDB: Support overloaded methods that take IDBKey or IDBKeyRange
878 https://bugs.webkit.org/show_bug.cgi?id=78399
880 Implements the WebKit API for IDBObjectStore.delete(IDBKeyRange),
881 to exercise the overload capability.
883 Reviewed by Tony Chang.
885 * src/IDBObjectStoreBackendProxy.cpp:
886 (WebKit::IDBObjectStoreBackendProxy::deleteFunction):
888 * src/IDBObjectStoreBackendProxy.h:
889 (IDBObjectStoreBackendProxy):
890 * src/WebIDBObjectStoreImpl.cpp:
891 (WebKit::WebIDBObjectStoreImpl::deleteFunction):
893 * src/WebIDBObjectStoreImpl.h:
894 (WebIDBObjectStoreImpl):
896 2012-02-17 Michal Mocny <mmocny@google.com>
898 [chromium] GL_CHROMIUM_gpu_memory_manager extension
899 https://bugs.webkit.org/show_bug.cgi?id=77155
901 Reviewed by James Robinson.
903 * public/platform/WebGraphicsContext3D.h:
904 (WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
905 (WebKit::WebGraphicsContext3D::WebGraphicsMemoryAllocationChangedCallbackCHROMIUM::~WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
906 (WebGraphicsContext3D):
907 (WebKit::WebGraphicsContext3D::setMemoryAllocationChangedCallbackCHROMIUM):
908 * src/Extensions3DChromium.cpp:
909 (WebCore::Extensions3DChromium::setGpuMemoryAllocationChangedCallbackCHROMIUM):
911 * src/GraphicsContext3DChromium.cpp:
912 (WebCore::GraphicsContext3D::~GraphicsContext3D):
913 (GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
914 (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
915 (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::~GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
916 (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::onMemoryAllocationChanged):
918 (WebCore::GraphicsContext3DPrivate::setGpuMemoryAllocationChangedCallbackCHROMIUM):
919 * src/GraphicsContext3DPrivate.h:
921 * tests/FakeWebGraphicsContext3D.h:
922 (WebKit::FakeWebGraphicsContext3D::setMemoryAllocationChangedCallbackCHROMIUM):
923 (FakeWebGraphicsContext3D):
925 2012-02-17 Mihnea Ovidenie <mihnea@adobe.com>
927 CSS regions enabled by default
928 https://bugs.webkit.org/show_bug.cgi?id=78525
930 Reviewed by David Hyatt.
932 Add a runtime preference to enable/disable regions functionality at runtime(WebKitCSSRegionsEnabled).
933 CSSRegions are still enabled by default.
934 In DRT, use layoutTestController.overridePreference("WebKitCSSRegionsEnabled", "0") to disable the css regions functionality.
936 * public/WebSettings.h:
937 * src/WebSettingsImpl.cpp:
938 (WebKit::WebSettingsImpl::setExperimentalCSSRegionsEnabled):
940 * src/WebSettingsImpl.h:
943 2012-02-17 Scott Graham <scottmg@chromium.org>
945 [Chromium] pack Gamepad shared memory structure
946 https://bugs.webkit.org/show_bug.cgi?id=78022
948 Reviewed by Darin Fisher.
950 Add #pragma pack around definition of shared memory structures to
951 avoid differences across compilers and platforms. Add COMPILE_ASSERT
952 to verify expected size.
954 * public/platform/WebGamepad.h:
956 * public/platform/WebGamepads.h:
959 2012-02-17 Tim Dresser <tdresser@chromium.org>
961 [chromium] Refactor video drawing to be more data driven
962 https://bugs.webkit.org/show_bug.cgi?id=76720
964 Reviewed by James Robinson.
966 CCLayerTreeHostImplTest.didDrawCalledOnAllLayers ensures that
967 CCLayerImpl::didDraw() is called on all layers, including layers
968 on different render surfaces.
970 * tests/CCLayerTreeHostImplTest.cpp:
972 (WebKit::DidDrawCheckLayer::create):
973 (WebKit::DidDrawCheckLayer::didDraw):
974 (WebKit::DidDrawCheckLayer::didDrawCalled):
975 (WebKit::DidDrawCheckLayer::DidDrawCheckLayer):
979 2012-02-17 Ilya Tikhonovsky <loislo@chromium.org>
981 Unreviewed, rolling out r108071.
982 http://trac.webkit.org/changeset/108071
983 https://bugs.webkit.org/show_bug.cgi?id=77155
985 chromium-mac compilation failed
987 * public/platform/WebGraphicsContext3D.h:
988 (WebGraphicsContext3D):
989 * src/Extensions3DChromium.cpp:
990 * src/GraphicsContext3DChromium.cpp:
991 (WebCore::GraphicsContext3D::~GraphicsContext3D):
992 * src/GraphicsContext3DPrivate.h:
994 * tests/FakeWebGraphicsContext3D.h:
996 2012-02-17 Michal Mocny <mmocny@google.com>
998 [chromium] GL_CHROMIUM_gpu_memory_manager extension
999 https://bugs.webkit.org/show_bug.cgi?id=77155
1001 Reviewed by James Robinson.
1003 * public/platform/WebGraphicsContext3D.h:
1004 (WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
1005 (WebKit::WebGraphicsContext3D::WebGraphicsMemoryAllocationChangedCallbackCHROMIUM::~WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
1006 (WebGraphicsContext3D):
1007 (WebKit::WebGraphicsContext3D::setMemoryAllocationChangedCallbackCHROMIUM):
1008 * src/Extensions3DChromium.cpp:
1009 (WebCore::Extensions3DChromium::setGpuMemoryAllocationChangedCallbackCHROMIUM):
1011 * src/GraphicsContext3DChromium.cpp:
1012 (WebCore::GraphicsContext3D::~GraphicsContext3D):
1013 (GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
1014 (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
1015 (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::~GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
1016 (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::onMemoryAllocationChanged):
1018 (WebCore::GraphicsContext3DPrivate::setGpuMemoryAllocationChangedCallbackCHROMIUM):
1019 * src/GraphicsContext3DPrivate.h:
1021 * tests/FakeWebGraphicsContext3D.h:
1022 (WebKit::FakeWebGraphicsContext3D::setMemoryAllocationChangedCallbackCHROMIUM):
1023 (FakeWebGraphicsContext3D):
1025 2012-02-17 Ilya Tikhonovsky <loislo@chromium.org>
1027 Unreviewed. Chromium DEPS roll
1029 * DEPS: from 122122 to 122498
1031 2012-02-16 Alexandre Elias <aelias@google.com>
1033 [chromium] Bundle page scale factor and limits in CCLayerTreeHost
1034 https://bugs.webkit.org/show_bug.cgi?id=78762
1036 Setting page scale factor and its limits in separate methods
1037 may cause clamping bugs if one of them makes it to the
1038 impl thread before the other. Change the API to bundle them together,
1039 which matches the existing impl-side interface.
1041 Reviewed by James Robinson.
1043 * src/WebViewImpl.cpp:
1044 (WebKit::WebViewImpl::computePageScaleFactorLimits):
1045 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1046 (WebKit::WebViewImpl::updateLayerTreeViewport):
1047 * tests/CCLayerTreeHostTest.cpp:
1048 (WTF::CCLayerTreeHostTestStartPageScaleAnimation::applyScrollAndScale):
1050 2012-02-16 Varun Jain <varunjain@google.com>
1052 [Chromium] Add method to WebViewImpl to extract zoom/scroll params for gesture events on touch devices
1053 https://bugs.webkit.org/show_bug.cgi?id=72909
1055 Reviewed by James Robinson.
1057 * src/WebViewImpl.cpp:
1060 (WebKit::WebViewImpl::computeBlockBounds):
1061 (WebKit::WebViewImpl::widenRectWithinPageBounds):
1062 (WebKit::WebViewImpl::computeScaleAndScrollForHitRect):
1063 * src/WebViewImpl.h:
1065 * tests/WebFrameTest.cpp:
1068 * tests/data/get_scale_for_auto_zoom_into_div_test.html: Added.
1070 2012-02-16 Sami Kyostila <skyostil@chromium.org>
1072 [chromium] LayerChromium::setNeedsDisplay does not apply contents scale correctly
1073 https://bugs.webkit.org/show_bug.cgi?id=77464
1075 Added a new unit test for TiledLayerChromium to verify its invalidation behavior when
1076 the contents scale changes. Also enhance and existing unit test for LayerChromium to
1077 verify the paint rectangle dimensions instead just checking that it is not empty.
1079 Reviewed by James Robinson.
1081 * tests/LayerChromiumTest.cpp:
1082 * tests/TiledLayerChromiumTest.cpp:
1083 (WTF::FakeTiledLayerChromium::setNeedsDisplayRect):
1084 (FakeTiledLayerChromium):
1085 (WTF::FakeTiledLayerChromium::lastNeedsDisplayRect):
1089 2012-02-16 MORITA Hajime <morrita@google.com>
1091 https://bugs.webkit.org/show_bug.cgi?id=78065
1092 [Chromium] Should eliminate WebTextCheckingResult legacy APIs
1094 Reviewed by Kent Tamura.
1096 Removed unused legacy members.
1098 * public/WebTextCheckingResult.h:
1099 (WebKit::WebTextCheckingResult::WebTextCheckingResult):
1100 (WebTextCheckingResult):
1101 * src/AssertMatchingEnums.cpp:
1103 2012-02-16 Evan Martin <evan@chromium.org>
1105 [chromium] pull third_party/gold to fix linux build
1106 https://bugs.webkit.org/show_bug.cgi?id=78842
1108 Reviewed by Tony Chang.
1110 The Chrome build now depends on third_party/gold also being checked out.
1114 2012-02-15 Michael Nordman <michaeln@google.com>
1116 Fix bugs in the implementation of WebDatabase::closeDatabaseImmediately.
1117 https://bugs.webkit.org/show_bug.cgi?id=78841
1119 WebDatabase now delegates this function entirely to DatabaseTracker.
1120 This is part of resolving http://crbug.com/98939
1122 Reviewed by David Levin.
1124 * src/WebDatabase.cpp:
1125 (WebKit::WebDatabase::closeDatabaseImmediately):
1127 2012-02-16 Dana Jansens <danakj@chromium.org>
1129 [Chromium] Occlusion tracking with CSS filters
1130 https://bugs.webkit.org/show_bug.cgi?id=77498
1132 Reviewed by James Robinson.
1134 * tests/CCLayerTreeHostTest.cpp:
1135 (CCLayerTreeHostTestLayerOcclusionWithFilters):
1136 (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::CCLayerTreeHostTestLayerOcclusionWithFilters):
1137 (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::beginTest):
1138 (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::afterTest):
1141 2012-02-16 Joshua Bell <jsbell@chromium.org>
1143 IndexedDB: Chromium WebKit API support for IDBObjectStore.delete(IDBKeyRange)
1144 https://bugs.webkit.org/show_bug.cgi?id=78619
1146 Add an overload to WebIDBObjectStore::deleteFunction(). First part of a two-sided patch.
1148 Reviewed by Darin Fisher.
1150 * public/WebIDBObjectStore.h:
1151 (WebKit::WebIDBObjectStore::deleteFunction):
1153 2012-02-16 Dana Jansens <danakj@chromium.org>
1155 [chromium] Clipping/Transforms applied in wrong order in opaque paint tracking
1156 https://bugs.webkit.org/show_bug.cgi?id=78775
1158 Reviewed by Stephen White.
1160 * tests/PlatformContextSkiaTest.cpp:
1163 2012-02-16 Daniel Cheng <dcheng@chromium.org>
1165 [chromium] Add WEBKIT_EXPORT to new WebDragData methods.
1166 https://bugs.webkit.org/show_bug.cgi?id=78843
1168 Reviewed by Tony Chang.
1170 * public/platform/WebDragData.h:
1173 2012-02-16 Viet-Trung Luu <viettrungluu@chromium.org>
1175 [chromium] Add method to WebPluginContainer to check if a rectangle is topmost
1176 https://bugs.webkit.org/show_bug.cgi?id=78166
1178 Reviewed by Darin Fisher.
1180 * public/WebPluginContainer.h:
1181 (WebPluginContainer):
1182 * src/WebPluginContainerImpl.cpp:
1183 * src/WebPluginContainerImpl.h:
1184 (WebPluginContainerImpl):
1186 2012-02-16 Yosifumi Inoue <yosin@chromium.org>
1188 Build Fix: R107894 breaks Chromium Linux Build.
1189 https://bugs.webkit.org/show_bug.cgi?id=78790
1191 WebDragDataPrivate::types, inherited from ChromiumDataObject, returns PassRef<DOMStringList> since r107894. However, WebDragData expected to get old return value type HashSet<String>.
1193 Reviewed by Kent Tamura.
1195 * src/WebDragData.cpp:
1196 (WebKit::WebDragData::items): Use RefPtr<DOMStringList> rather than HashSet<String> for value of m_private->types().
1198 2012-02-15 Sami Kyostila <skyostil@google.com>
1200 Enable -webkit-overflow-scrolling CSS property
1201 https://bugs.webkit.org/show_bug.cgi?id=78664
1203 Reviewed by Eric Seidel.
1207 2012-02-15 Tommy Widenflycht <tommyw@google.com>
1209 MediaStream API: Removing SecurityContext from the embedder API
1210 https://bugs.webkit.org/show_bug.cgi?id=73816
1212 Reviewed by Darin Fisher.
1214 * bridge/PeerConnectionHandler.cpp:
1215 (WebCore::PeerConnectionHandler::create):
1216 (WebCore::PeerConnectionHandler::PeerConnectionHandler):
1217 * bridge/PeerConnectionHandlerInternal.cpp:
1218 (WebCore::PeerConnectionHandlerInternal::PeerConnectionHandlerInternal):
1219 * bridge/PeerConnectionHandlerInternal.h:
1221 (PeerConnectionHandlerInternal):
1222 * public/platform/WebPeerConnectionHandler.h:
1223 (WebPeerConnectionHandler):
1224 (WebKit::WebPeerConnectionHandler::initialize):
1226 2012-02-15 Peter Beverloo <peter@chromium.org>
1228 [Chromium] Roll DEPS to r122122
1229 https://bugs.webkit.org/show_bug.cgi?id=78754
1231 Unreviewed DEPS roll.
1235 2012-02-01 Daniel Cheng <dcheng@chromium.org>
1237 [chromium] Add setter/getter to expose drag data as a list of items
1238 https://bugs.webkit.org/show_bug.cgi?id=77125
1240 This change supports the unification of the data store backing ChromiumDataObject and
1241 DataTransferItemListChromium. ChromiumDataObject will represent dragging and clipboard data
1242 as a list of data nodes to make it more straightforward to implement the HTML spec for
1243 DataTransferItemList. Thus, we extend the abstraction to the webkit glue layer to
1244 simplify the serialization/deserialization between platform-specific data and WebDragData.
1245 The other setter/getter methods are deprecated and will be removed once the dependencies in
1246 Chromium code are gone.
1248 Reviewed by Darin Fisher.
1250 * public/platform/WebDragData.h:
1253 * src/WebDragData.cpp:
1254 (WebKit::WebDragData::items):
1256 (WebKit::WebDragData::setItems):
1257 (WebKit::WebDragData::addItem):
1259 2012-02-15 Sadrul Habib Chowdhury <sadrul@chromium.org>
1261 Notify ChromeClient when touch-event handlers are installed/removed.
1262 https://bugs.webkit.org/show_bug.cgi?id=77440
1264 Reviewed by Darin Fisher and Ryosuke Niwa.
1266 * public/WebViewClient.h:
1267 (WebKit::WebViewClient::numberOfTouchEventHandlersChanged):
1268 * src/ChromeClientImpl.cpp:
1269 (WebKit::ChromeClientImpl::numTouchEventHandlersChanged):
1271 * src/ChromeClientImpl.h:
1273 * src/WebViewImpl.cpp:
1274 (WebKit::WebViewImpl::numberOfTouchEventHandlersChanged):
1276 * src/WebViewImpl.h:
1279 2012-02-15 Anders Carlsson <andersca@apple.com>
1281 Remove ScrollableArea::handleGestureEvent
1282 https://bugs.webkit.org/show_bug.cgi?id=78661
1284 Reviewed by Adam Roben.
1286 Update for WebCore changes.
1288 * src/WebPluginContainerImpl.cpp:
1289 * src/WebPluginContainerImpl.h:
1290 (WebPluginContainerImpl):
1291 * src/WebViewImpl.cpp:
1292 (WebKit::WebViewImpl::gestureEvent):
1294 2012-02-14 Takashi Toyoshima <toyoshim@chromium.org>
1296 Provide SocketStreamHandleInternal::toWebSocketStreamHandle(SocketStreamHandle*).
1297 https://bugs.webkit.org/show_bug.cgi?id=78581
1299 Reviewed by Kent Tamura.
1301 Now, there is no way to convert SocketStreamHandle to
1302 WebSocketStreamHandle. In subsequent changes, I'll use this function
1303 in FrameLoaderClientImpl.
1305 * src/SocketStreamHandle.cpp: Remove SocketStreamHandleInternal class declaration.
1306 * src/SocketStreamHandleInternal.h: Move SocketStreamHandleInternal class declaration from SocketStreamHandle.cpp to expose, and add conversion function to WebSocketStreamHandle from SocketStreamHandle.
1309 (SocketStreamHandleInternal):
1310 (WebCore::SocketStreamHandleInternal::create):
1311 (WebCore::SocketStreamHandleInternal::toWebSocketStreamHandle):
1312 * WebKit.gyp: Add SocketStreamHandleInternal.h entry.
1314 2012-02-14 Sheriff Bot <webkit.review.bot@gmail.com>
1316 Unreviewed, rolling out r107766.
1317 http://trac.webkit.org/changeset/107766
1318 https://bugs.webkit.org/show_bug.cgi?id=78665
1320 Breaks Chromium Win build (Requested by bashi1 on #webkit).
1323 * tests/WebSocketDeflaterTest.cpp: Removed.
1325 2012-02-14 Kenichi Ishibashi <bashi@chromium.org>
1327 [WebSocket] Add extension attribute support
1328 https://bugs.webkit.org/show_bug.cgi?id=78557
1330 Add WebSocketExtensionDispatcher::acceptedExtensions() checks.
1332 Reviewed by Kent Tamura.
1334 * tests/WebSocketExtensionDispatcherTest.cpp:
1337 2012-02-14 Kenichi Ishibashi <bashi@chromium.org>
1339 [WebSocket] Add deflater/inflater classes.
1340 https://bugs.webkit.org/show_bug.cgi?id=78449
1342 Add tests which ensure WebSocketDeflater/WebSocketInflater can
1343 compress/decompress data correctly.
1345 Reviewed by Kent Tamura.
1348 * tests/WebSocketDeflaterTest.cpp: Added.
1352 2012-02-14 Dana Jansens <danakj@chromium.org>
1354 [chromium] Compare filters on impl thread when setting them, and test setting in unit tests
1355 https://bugs.webkit.org/show_bug.cgi?id=78643
1357 Reviewed by James Robinson.
1359 * tests/CCLayerImplTest.cpp:
1362 2012-02-14 Ramya Chandrasekaran <cramya@google.com>
1364 Last character display for passwords in Android.
1365 https://bugs.webkit.org/show_bug.cgi?id=78532
1367 Reviewed by Adam Barth.
1369 * public/WebSettings.h:
1370 * src/WebSettingsImpl.cpp:
1371 (WebKit::WebSettingsImpl::setPasswordEchoEnabled):
1373 (WebKit::WebSettingsImpl::setPasswordEchoDurationInSeconds):
1374 * src/WebSettingsImpl.h:
1377 2012-02-14 David Reveman <reveman@chromium.org>
1379 [Chromium] Expose perTilePainting setting through WebLayerTreeView::Settings interface.
1380 https://bugs.webkit.org/show_bug.cgi?id=76937
1382 Reviewed by James Robinson.
1384 Add perTilePainting to WebLayerTreeView::Settings.
1386 * public/platform/WebLayerTreeView.h:
1387 (WebKit::WebLayerTreeView::Settings::Settings):
1389 * src/WebLayerTreeView.cpp:
1390 (WebKit::WebLayerTreeView::Settings::operator CCSettings):
1392 2012-02-14 Vsevolod Vlasov <vsevik@chromium.org>
1394 Web Inspector: Make ScriptsNavigator default file selector.
1395 https://bugs.webkit.org/show_bug.cgi?id=78349
1397 Reviewed by Pavel Feldman.
1400 (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkNoDuplicates):
1401 (.TestSuite.prototype.uiSourceCodesToString_):
1402 (.TestSuite.prototype.nonAnonymousUISourceCodes_):
1403 (.TestSuite.prototype._scriptsAreParsed):
1404 (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts):
1405 (.TestSuite.prototype._waitUntilScriptsAreParsed):
1407 2012-02-14 Hayato Ito <hayato@chromium.org>
1409 Make ShadowRoot.nodeType return DOCUMENT_FRAGMENT_NODE.
1410 https://bugs.webkit.org/show_bug.cgi?id=77514
1412 Reviewed by Dimitri Glazkov.
1414 NodeType.SHADOW_ROOT_NODE type is finally gone.
1416 * src/WebPageSerializerImpl.cpp:
1417 (WebKit::WebPageSerializerImpl::buildContentForNode):
1419 2012-02-14 David Reveman <reveman@chromium.org>
1421 [Chromium] Inconsistent initialization of CCSettings in WebLayerTreeView.
1422 https://bugs.webkit.org/show_bug.cgi?id=76927
1424 Reviewed by James Robinson.
1426 Remove unnecessary initialization and include maxPartialTextureUpdates
1429 * src/WebLayerTreeView.cpp:
1430 (WebKit::WebLayerTreeView::Settings::operator CCSettings):
1432 2012-02-14 Sheriff Bot <webkit.review.bot@gmail.com>
1434 Unreviewed, rolling out r107661.
1435 http://trac.webkit.org/changeset/107661
1436 https://bugs.webkit.org/show_bug.cgi?id=78591
1438 crash on lion/qt bots (Requested by hayato on #webkit).
1440 * src/WebPageSerializerImpl.cpp:
1441 (WebKit::WebPageSerializerImpl::buildContentForNode):
1443 2012-02-14 Yuzhu Shen <yzshen@chromium.com>
1445 [chromium] Pepper plugins don't receive mouse movement information in
1446 non-mouse-lock mode.
1447 https://bugs.webkit.org/show_bug.cgi?id=78014
1449 This change makes WebMouseEventBuilder pass along mouse movement
1450 information properly.
1452 There isn't test for this change because:
1453 - the movement information added is only used by pepper, and there
1454 isn't any test for pepper at the WebKit side. (WebKit doesn't know
1456 - this change is trivial. It just copies two newly-added data fields
1457 from MouseEvent to WebMouseEventBuilder during conversion.
1459 Reviewed by Tony Chang.
1461 * src/WebInputEventConversion.cpp:
1462 (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
1464 2012-02-11 Nikolas Zimmermann <nzimmermann@rim.com>
1466 Convert svg/animations to use SMIL methods for driving the timeline
1467 https://bugs.webkit.org/show_bug.cgi?id=78422
1469 Reviewed by Dirk Schulze.
1471 Remove SVG animation sampling functionality provided for DRT, which no longer uses it.
1472 Instead we switched the svg/animations tests to use SVGSVGElement.setCurrentTime.
1474 * public/WebFrame.h:
1476 * src/WebFrameImpl.cpp:
1477 * src/WebFrameImpl.h:
1480 2012-02-13 Mihai Parparita <mihaip@chromium.org>
1482 [Chromium] Remove BoundObject
1483 https://bugs.webkit.org/show_bug.cgi?id=78531
1485 Reviewed by Pavel Feldman.
1487 Remove the BoundObject class, references to it were removed in r56999.
1490 * src/BoundObject.cpp: Removed.
1491 * src/BoundObject.h: Removed.
1492 * src/WebDevToolsFrontendImpl.cpp:
1494 2012-02-13 W. James MacLean <wjmaclean@chromium.org>
1496 [chromium] Remove obsolete zoom animation pathway.
1497 https://bugs.webkit.org/show_bug.cgi?id=78359
1499 Reviewed by James Robinson.
1501 This patch removes dead code from the previous incarnation of zoom animation for chromium.
1503 * src/WebViewImpl.cpp:
1505 2012-02-13 Hayato Ito <hayato@chromium.org>
1507 Make ShadowRoot.nodeType return DOCUMENT_FRAGMENT_NODE.
1508 https://bugs.webkit.org/show_bug.cgi?id=77514
1510 Reviewed by Dimitri Glazkov.
1512 NodeType.SHADOW_ROOT_NODE type is finally gone.
1514 * src/WebPageSerializerImpl.cpp:
1515 (WebKit::WebPageSerializerImpl::buildContentForNode):
1517 2012-02-13 Nico Weber <thakis@chromium.org>
1519 [chromium] Let WebKit::initialize call InitWebCoreSystemInterface on mac.
1520 https://bugs.webkit.org/show_bug.cgi?id=78246
1522 This allows removing a bunch of code in chromium land (https://chromiumcodereview.appspot.com/9374020/),
1523 and helps with the component build on mac (InitWebCoreSystemInterface is not an
1524 exported function, and it shouldn't be).
1526 Source/WebKit/mac/WebCoreSupport/WebSystemInterface.mm early-returns when it's
1527 called twice, so it's safe to land this change, and remove the calls in client
1530 Reviewed by Darin Fisher.
1533 (WebKit::initializeWithoutV8):
1535 2012-02-13 Yosifumi Inoue <yosin@chromium.org>
1537 [Forms] Use enum instead of bool for HTMLInputElement::setValue
1538 https://bugs.webkit.org/show_bug.cgi?id=75217
1540 Reviewed by Kent Tamura.
1542 * src/WebInputElement.cpp:
1543 (WebKit::WebInputElement::setValue): Use enum for HTMLInputElement::setValue
1545 2012-02-12 Hajime Morrita <morrita@chromium.org>
1547 Page should have less intrusive way to associate API implementation objects.
1548 https://bugs.webkit.org/show_bug.cgi?id=78085
1550 Reviewed by Adam Barth.
1552 * src/WebViewImpl.cpp:
1553 (WebKit::WebViewImpl::WebViewImpl):
1555 2012-02-10 David Grogan <dgrogan@chromium.org>
1557 Disable IndexedDB permissions check from shared workers
1558 https://bugs.webkit.org/show_bug.cgi?id=78316
1560 We want to temporarily bypass this check because it causes a crash
1561 when called from a shared worker. We'll have to fix it before
1562 including idb on shared workers in a release but don't want to stop
1563 developers from testing out idb on shared workers.
1565 No new tests because it affects shared workers only, which aren't
1568 Reviewed by Tony Chang.
1570 * src/IDBFactoryBackendProxy.cpp:
1571 (WebKit::IDBFactoryBackendProxy::allowIDBFromWorkerThread):
1573 2012-02-10 Sheriff Bot <webkit.review.bot@gmail.com>
1575 Unreviewed. Rolled DEPS.
1579 2012-02-09 Kenichi Ishibashi <bashi@chromium.org>
1581 Add WebSocket extension support
1582 https://bugs.webkit.org/show_bug.cgi?id=78079
1584 Add some tests which check WebSocketExtensions::processHeaderValue()
1585 parses the given response correctly.
1587 Reviewed by Kent Tamura.
1590 * tests/WebSocketExtensionDispatcherTest.cpp: Added.
1592 (MockWebSocketExtensionProcessor):
1593 (WebCore::MockWebSocketExtensionProcessor::MockWebSocketExtensionProcessor):
1594 (WebSocketExtensionDispatcherTest):
1595 (WebCore::WebSocketExtensionDispatcherTest::WebSocketExtensionDispatcherTest):
1596 (WebCore::WebSocketExtensionDispatcherTest::SetUp):
1597 (WebCore::WebSocketExtensionDispatcherTest::TearDown):
1598 (WebCore::WebSocketExtensionDispatcherTest::addMockProcessor):
1599 (WebCore::WebSocketExtensionDispatcherTest::appendResult):
1600 (WebCore::MockWebSocketExtensionProcessor::processResponse):
1603 2012-02-09 W. James MacLean <wjmaclean@chromium.org>
1605 [chromium] Add support for starting page/scale animations on CC impl thread from WebViewImpl
1606 https://bugs.webkit.org/show_bug.cgi?id=77872
1608 Reviewed by James Robinson.
1610 Provides a pathway to invoke CCLayerTreeHostImpl::startPageScaleAnimation() from
1611 WebViewImpl. This is intended to support scale and scroll animations, such as WebInputEvent::GestureDoubleTap.
1613 * src/WebViewImpl.cpp:
1615 (WebKit::WebViewImpl::startPageScaleAnimation):
1616 * src/WebViewImpl.h:
1618 * tests/CCLayerTreeHostTest.cpp:
1620 (CCLayerTreeHostTestStartPageScaleAnimation):
1621 (WTF::CCLayerTreeHostTestStartPageScaleAnimation::CCLayerTreeHostTestStartPageScaleAnimation):
1622 (WTF::CCLayerTreeHostTestStartPageScaleAnimation::beginTest):
1623 (WTF::CCLayerTreeHostTestStartPageScaleAnimation::requestStartPageScaleAnimation):
1624 (WTF::CCLayerTreeHostTestStartPageScaleAnimation::drawLayersOnCCThread):
1625 (WTF::CCLayerTreeHostTestStartPageScaleAnimation::applyScrollAndScale):
1626 (WTF::CCLayerTreeHostTestStartPageScaleAnimation::commitCompleteOnCCThread):
1627 (WTF::CCLayerTreeHostTestStartPageScaleAnimation::afterTest):
1630 2012-02-09 John Bates <jbates@google.com>
1632 [Chromium] Add chromium-style tracing support
1633 https://bugs.webkit.org/show_bug.cgi?id=76885
1635 Reviewed by Darin Fisher.
1637 This code enables WebKit trace events to pass through more data to the
1638 chromium platform tracing API and generally to use the full tracing
1639 API provided by chromium.
1641 * public/platform/WebKitPlatformSupport.h:
1642 (WebKit::WebKitPlatformSupport::getTraceCategoryEnabledFlag):
1643 (WebKit::WebKitPlatformSupport::addTraceEvent):
1644 * src/PlatformSupport.cpp:
1645 (WebCore::PlatformSupport::getTraceCategoryEnabledFlag):
1646 (WebCore::PlatformSupport::addTraceEvent):
1648 2012-02-09 Jonathan Backer <backer@chromium.org>
1650 [chromium] Plumb setNeedsRedraw.
1651 https://bugs.webkit.org/show_bug.cgi?id=78248
1653 Reviewed by James Robinson.
1655 * public/platform/WebLayerTreeView.h:
1657 * src/WebLayerTreeView.cpp:
1658 (WebKit::WebLayerTreeView::setNeedsRedraw):
1661 2012-02-09 Jonathan Backer <backer@chromium.org>
1663 [chromium] Add setNeedsRedraw to WebWidget
1664 https://bugs.webkit.org/show_bug.cgi?id=77555
1666 Reviewed by James Robinson.
1668 * public/WebWidget.h:
1670 (WebKit::WebWidget::setNeedsRedraw):
1671 * src/WebViewImpl.cpp:
1672 (WebKit::WebViewImpl::setNeedsRedraw):
1674 * src/WebViewImpl.h:
1677 2012-02-08 Raymond Liu <raymond.liu@intel.com>
1679 Fix a typo for r107125
1680 https://bugs.webkit.org/show_bug.cgi?id=77804
1682 Reviewed by James Robinson.
1684 * tests/WebCompositorInputHandlerImplTest.cpp:
1686 2012-02-08 David Reveman <reveman@chromium.org>
1688 [Chromium] Avoid unnecessary full tile updates without breaking atomicity of commits.
1689 https://bugs.webkit.org/show_bug.cgi?id=76740
1691 Reviewed by James Robinson.
1693 Add CCLayerTreeHostTestAtomicCommitWithPartialUpdate and
1694 TiledLayerChromiumTest.partialUpdates tests that verifies
1695 atomicity of commits with partial updates.
1697 * tests/CCLayerTreeHostTest.cpp:
1698 (WTF::CCLayerTreeHostTestAtomicCommit::CCLayerTreeHostTestAtomicCommit):
1699 (WTF::CCLayerTreeHostTestAtomicCommit::beginTest):
1700 (WTF::CCLayerTreeHostTestAtomicCommit::commitCompleteOnCCThread):
1701 (WTF::CCLayerTreeHostTestAtomicCommit::layout):
1702 (CCLayerTreeHostTestAtomicCommit):
1703 (CCLayerTreeHostTestAtomicCommitWithPartialUpdate):
1704 (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::CCLayerTreeHostTestAtomicCommitWithPartialUpdate):
1705 (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::beginTest):
1706 (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::commitCompleteOnCCThread):
1707 (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::drawLayersOnCCThread):
1708 (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::layout):
1709 (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::afterTest):
1712 * tests/TiledLayerChromiumTest.cpp:
1713 (WTF::FakeLayerTextureUpdater::Texture::Texture):
1714 (WTF::FakeLayerTextureUpdater::Texture::updateRect):
1716 (WTF::FakeLayerTextureUpdater::FakeLayerTextureUpdater):
1717 (FakeLayerTextureUpdater):
1718 (WTF::FakeLayerTextureUpdater::updateCount):
1719 (WTF::FakeLayerTextureUpdater::clearUpdateCount):
1720 (WTF::FakeLayerTextureUpdater::updateRect):
1721 (WTF::FakeLayerTextureUpdater::createTexture):
1722 (FakeTiledLayerChromium):
1726 2012-02-07 MORITA Hajime <morrita@google.com>
1728 Replacement text should be available from the marker.
1729 https://bugs.webkit.org/show_bug.cgi?id=77934
1731 didFinishCheckingText() accidentally dropped the description text
1732 given from the backend. Fixed to copy it on the API-to-Core
1733 convertion. The test won't work without this fix.
1735 Reviewed by Kent Tamura.
1737 * src/WebTextCheckingCompletionImpl.cpp:
1738 (WebKit::toCoreResults):
1740 2012-02-08 Dmitry Lomov <dslomov@chromium.org>
1742 [V8][Chromium] Race between worker accessing WebDatabase and frame closing down.
1743 https://bugs.webkit.org/show_bug.cgi?id=78150
1744 Handle case when the frame is shut down under us gracefully.
1746 Reviewed by David Levin.
1748 * src/DatabaseObserver.cpp:
1749 (WebCore::DatabaseObserver::canEstablishDatabase): Handle WebWorkerBase::view returning 0.
1750 * src/IDBFactoryBackendProxy.cpp:
1751 (WebKit::IDBFactoryBackendProxy::openFromWorker): Handle WebWorkerBase::view returning 0.
1752 * src/WebWorkerClientImpl.cpp:
1753 (WebKit::WebWorkerClientImpl::allowFileSystem):
1754 (WebKit::WebWorkerClientImpl::allowDatabase):
1755 (WebKit::WebWorkerClientImpl::view):
1757 2012-02-08 Adam Klein <adamk@chromium.org>
1759 DOM mutations should not be delivered on worker threads
1760 https://bugs.webkit.org/show_bug.cgi?id=77898
1762 Reviewed by Dmitry Titov.
1764 * src/WebDevToolsFrontendImpl.cpp:
1765 (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
1767 2012-02-08 Scott Graham <scottmg@chromium.org>
1770 https://bugs.webkit.org/show_bug.cgi?id=78152
1772 Reviewed by Adam Barth.
1776 2012-02-08 Dana Jansens <danakj@chromium.org>
1778 [Chromium] Fix opaque tracking for box shadows and non-composited child elements
1779 https://bugs.webkit.org/show_bug.cgi?id=78073
1781 Reviewed by Stephen White.
1783 * tests/PlatformContextSkiaTest.cpp:
1787 2012-02-08 Shawn Singh <shawnsingh@chromium.org>
1789 [chromium] Remove incorrect early exit in CCDamageTracker
1790 https://bugs.webkit.org/show_bug.cgi?id=76924
1792 Reviewed by James Robinson.
1794 * tests/CCDamageTrackerTest.cpp:
1795 (WebKitTests::emulateDrawingOneFrame):
1796 (WebKitTests::TEST_F):
1799 2012-02-08 Sadrul Habib Chowdhury <sadrul@chromium.org>
1801 Add support for pinch gesture processing in the MT compositor.
1802 https://bugs.webkit.org/show_bug.cgi?id=77804
1804 Reviewed by James Robinson.
1806 * public/WebInputEvent.h:
1807 * src/WebCompositorInputHandlerImpl.cpp:
1808 (WebKit::WebCompositorInputHandlerImpl::WebCompositorInputHandlerImpl):
1809 (WebKit::WebCompositorInputHandlerImpl::handleInputEvent):
1810 * src/WebCompositorInputHandlerImpl.h:
1811 (WebCompositorInputHandlerImpl):
1812 * src/WebInputEventConversion.cpp:
1813 (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
1814 * src/WebPopupMenuImpl.cpp:
1815 (WebKit::WebPopupMenuImpl::handleInputEvent):
1816 * src/WebViewImpl.cpp:
1817 (WebKit::WebViewImpl::handleInputEvent):
1818 * tests/WebCompositorInputHandlerImplTest.cpp:
1820 2012-02-08 Nico Weber <nicolasweber@gmx.de>
1822 [chromium] Make dependency on Accelerate.framework explicit.
1823 https://bugs.webkit.org/show_bug.cgi?id=78131
1825 It's used by platform/audio/mac/FFTFrameMac.cpp. The explicit
1826 dependency is needed to build a libwebkit.dylib.
1828 Reviewed by Tony Chang.
1832 2012-02-08 Bernhard Bauer <bauerb@google.com>
1834 [Chromium] Don't add selection from password fields to context menu.
1835 https://bugs.webkit.org/show_bug.cgi?id=77733
1837 Reviewed by Adam Barth.
1839 * src/ContextMenuClientImpl.cpp:
1840 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
1842 2012-02-08 Nico Weber <nicolasweber@gmx.de>
1844 [chromium] Let -Wglobal-constructors hack in shared build metastasize to mac
1845 https://bugs.webkit.org/show_bug.cgi?id=78130
1847 Reviewed by Tony Chang.
1851 2012-02-08 Alexei Svitkine <asvitkine@chromium.org>
1853 Chromium: Fix Mac rubber band overhang drawing on composited pages and re-enable tests.
1854 https://bugs.webkit.org/show_bug.cgi?id=78007
1856 This got broken by: http://trac.webkit.org/changeset/105470
1857 And the tests were accidentally(?) disabled in: http://trac.webkit.org/changeset/95191
1859 There is still three tests that fail from the set, but the cause for these is different,
1860 which I'm still investigating.
1862 Reviewed by James Robinson.
1864 * src/NonCompositedContentHost.cpp:
1865 (WebKit::NonCompositedContentHost::NonCompositedContentHost):
1867 2012-02-07 James Robinson <jamesr@chromium.org>
1869 [chromium] Move geometry headers in Platform API to Platform directory
1870 https://bugs.webkit.org/show_bug.cgi?id=78067
1872 Reviewed by Adam Barth.
1874 Add forwarding headers for several API types moved into Platform.
1876 * public/platform/WebFloatPoint.h:
1877 * public/platform/WebFloatQuad.h:
1878 * public/platform/WebFloatRect.h:
1879 * public/platform/WebPoint.h:
1880 * public/platform/WebRect.h:
1881 * public/platform/WebSize.h:
1883 2012-02-07 MORITA Hajime <morrita@google.com>
1885 [Chromium] WebTextCheckingResult should have new default constructor
1886 https://bugs.webkit.org/show_bug.cgi?id=78066
1888 Reviewed by Ryosuke Niwa.
1890 Added a new default constructor. ex-default constructor will be removed
1891 in an upcoming change.
1893 * public/WebTextCheckingResult.h:
1894 (WebKit::WebTextCheckingResult::WebTextCheckingResult):
1895 (WebTextCheckingResult):
1897 2012-02-07 Gregg Tavares <gman@google.com>
1899 Plumb through webGLErrorsToConsoleEnable in WebSettings
1900 https://bugs.webkit.org/show_bug.cgi?id=78061
1902 Reviewed by Kenneth Russell.
1904 * public/WebSettings.h:
1905 * src/WebSettingsImpl.cpp:
1906 (WebKit::WebSettingsImpl::setWebGLErrorsToConsoleEnabled):
1908 * src/WebSettingsImpl.h:
1911 2012-02-07 Robert Kroeger <rjkroege@chromium.org>
1913 [chromium] Remove no longer necessary Chromium gesture recognizer code.
1914 https://bugs.webkit.org/show_bug.cgi?id=77492
1916 Reviewed by Adam Barth.
1920 * src/WebFrameImpl.cpp:
1921 (WebKit::WebFrameImpl::createFrameView):
1922 * src/WebPopupMenuImpl.cpp:
1923 (WebKit::WebPopupMenuImpl::WebPopupMenuImpl):
1924 (WebKit::WebPopupMenuImpl::handleTouchEvent):
1925 * src/WebPopupMenuImpl.h:
1926 * src/WebViewImpl.cpp:
1927 (WebKit::WebViewImpl::WebViewImpl):
1928 (WebKit::WebViewImpl::touchEvent):
1929 * src/WebViewImpl.h:
1932 * tests/InnerGestureRecognizerTest.cpp: Removed.
1934 2012-02-07 David Reveman <reveman@chromium.org>
1936 [Chromium] REGRESSION(r101854): Causing large amounts of unnecessary repainting.
1937 https://bugs.webkit.org/show_bug.cgi?id=78020
1939 Reviewed by James Robinson.
1941 Update TextureManagerTest.requestTextureExceedingPreferredLimit test.
1943 * tests/TextureManagerTest.cpp:
1944 (WTF::TextureManagerTest::requestTexture):
1947 2012-02-07 Dana Jansens <danakj@chromium.org>
1949 [chromium] Unit test for bug #77996
1950 https://bugs.webkit.org/show_bug.cgi?id=78019
1952 Reviewed by James Robinson.
1954 * tests/CCLayerTreeHostTest.cpp:
1955 (CCLayerTreeHostTestManySurfaces):
1956 (WTF::CCLayerTreeHostTestManySurfaces::CCLayerTreeHostTestManySurfaces):
1957 (WTF::CCLayerTreeHostTestManySurfaces::beginTest):
1958 (WTF::CCLayerTreeHostTestManySurfaces::afterTest):
1961 2012-02-07 Sadrul Habib Chowdhury <sadrul@chromium.org>
1963 Process Scroll-gesture events from the compositor.
1964 https://bugs.webkit.org/show_bug.cgi?id=77477
1966 Reviewed by James Robinson.
1968 * src/WebCompositorInputHandlerImpl.cpp:
1969 (WebKit::WebCompositorInputHandlerImpl::WebCompositorInputHandlerImpl):
1970 (WebKit::WebCompositorInputHandlerImpl::handleInputEvent):
1971 * src/WebCompositorInputHandlerImpl.h:
1972 (WebCompositorInputHandlerImpl):
1974 2012-02-07 Anders Carlsson <andersca@apple.com>
1976 ScrollableAreaSet should be moved from Page to FrameView
1977 https://bugs.webkit.org/show_bug.cgi?id=62762
1979 Reviewed by Beth Dakin.
1981 Update for changes to WebCore now that the scrollable area set is kept per frame view.
1983 * src/ScrollbarGroup.cpp:
1984 (WebKit::ScrollbarGroup::ScrollbarGroup):
1985 (WebKit::ScrollbarGroup::~ScrollbarGroup):
1986 * src/ScrollbarGroup.h:
1989 * src/WebPluginContainerImpl.cpp:
1990 (WebKit::WebPluginContainerImpl::scrollbarGroup):
1992 2012-02-07 Hans Wennborg <hans@chromium.org>
1994 Chromium: remove WebSpeechInputResult::set
1995 https://bugs.webkit.org/show_bug.cgi?id=77977
1997 Reviewed by Darin Fisher.
1999 It was renamed to assign() in r106475.
2001 * public/WebSpeechInputResult.h:
2003 2012-02-07 Sheriff Bot <webkit.review.bot@gmail.com>
2005 Unreviewed, rolling out r106935.
2006 http://trac.webkit.org/changeset/106935
2007 https://bugs.webkit.org/show_bug.cgi?id=77994
2009 "Crashes runMultiThread webkit_unit_test" (Requested by tonyg-
2012 * public/WebWidget.h:
2014 * src/WebViewImpl.cpp:
2015 * src/WebViewImpl.h:
2018 2012-02-07 Jonathan Backer <backer@chromium.org>
2020 [chromium] Add setNeedsRedraw to WebWidget
2021 https://bugs.webkit.org/show_bug.cgi?id=77555
2023 Reviewed by James Robinson.
2025 * public/WebWidget.h:
2027 (WebKit::WebWidget::setNeedsRedraw):
2028 * src/WebViewImpl.cpp:
2029 (WebKit::WebViewImpl::setNeedsRedraw):
2031 * src/WebViewImpl.h:
2034 2012-02-07 Sheriff Bot <webkit.review.bot@gmail.com>
2036 Unreviewed. Rolled DEPS.
2040 2012-02-06 James Robinson <jamesr@chromium.org>
2042 [chromium] canvas demo is slow due to unnecessary resource cleanups
2043 https://bugs.webkit.org/show_bug.cgi?id=77135
2045 Reviewed by Kenneth Russell.
2047 * tests/Canvas2DLayerChromiumTest.cpp:
2048 (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
2049 * tests/TextureManagerTest.cpp:
2050 * tests/TiledLayerChromiumTest.cpp:
2052 2012-02-06 Julien Chaffraix <jchaffraix@webkit.org>
2054 Unreviewed gardening.
2056 * DEPS: Rolling the DEPS to get the apple_webkit update
2057 and fix the Chromium build.
2059 2012-02-06 Emil A Eklund <eae@chromium.org>
2061 Convert PopupMenuClient::clientPadding over to new layout abstraction
2062 https://bugs.webkit.org/show_bug.cgi?id=77798
2064 Reviewed by Eric Seidel.
2066 Change PopupMenuClient and all classes inheriting from it to use the new
2067 layout types for padding.
2069 * src/AutofillPopupMenuClient.cpp:
2070 (WebKit::AutofillPopupMenuClient::clientPaddingLeft):
2071 (WebKit::AutofillPopupMenuClient::clientPaddingRight):
2072 * src/AutofillPopupMenuClient.h:
2073 (AutofillPopupMenuClient):
2074 * tests/PopupMenuTest.cpp:
2075 (WebKit::TestPopupMenuClient::clientPaddingLeft):
2076 (WebKit::TestPopupMenuClient::clientPaddingRight):
2078 2012-02-06 James Robinson <jamesr@chromium.org>
2080 [chromium] Drop tiles completely outside of layer bounds when resizing to a smaller size
2081 https://bugs.webkit.org/show_bug.cgi?id=77910
2083 Reviewed by Kenneth Russell.
2085 Adds test for resizing a layer to cover fewer tiles. Test hits ASSERT()s without any code changes.
2087 * tests/TiledLayerChromiumTest.cpp:
2090 2012-02-06 Ryosuke Niwa <rniwa@webkit.org>
2092 Revert r106859. It was completely bogus.
2094 * src/WebViewImpl.cpp:
2095 (WebKit::WebViewImpl::doPixelReadbackToCanvas):
2097 2012-02-06 Ryosuke Niwa <rniwa@webkit.org>
2099 Chromium build fix after r106836.
2101 * src/WebViewImpl.cpp:
2102 (WebKit::WebViewImpl::doPixelReadbackToCanvas):
2104 2012-02-06 Eric Uhrhane <ericu@chromium.org>
2106 [filesystem/Chromium] crackFileSystemURL needs to use innerURL
2107 https://bugs.webkit.org/show_bug.cgi?id=77881
2109 Reviewed by Adam Barth.
2111 * src/AsyncFileSystemChromium.cpp:
2112 (WebCore::AsyncFileSystem::crackFileSystemURL):
2113 Add the new code path, taken only if innerURL is present.
2115 2012-02-03 James Robinson <jamesr@chromium.org>
2117 [chromium] Support detaching TextureManager from ManagedTexture
2118 https://bugs.webkit.org/show_bug.cgi?id=77655
2120 Adds unit test for destroying a TextureManager while ManagedTextures are still alive referring to it.
2122 Reviewed by Kenneth Russell.
2124 * tests/TextureManagerTest.cpp:
2126 2012-02-06 Matthew Delaney <mdelaney@apple.com>
2128 toDataURL() uses stale data after putImageData()
2129 https://bugs.webkit.org/show_bug.cgi?id=65767
2131 Reviewed by Chris Marrin.
2133 * src/WebViewImpl.cpp: Updated method name.
2134 (WebKit::WebViewImpl::doPixelReadbackToCanvas):
2136 2012-02-06 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
2138 Provide more attribute methods in Element
2139 https://bugs.webkit.org/show_bug.cgi?id=77800
2141 Reviewed by Ryosuke Niwa.
2143 * src/WebPageSerializerImpl.cpp:
2144 (WebKit::WebPageSerializerImpl::openTagToString): access attributes via Element interface.
2146 2012-02-04 Shawn Singh <shawnsingh@chromium.org>
2148 [chromium] Add support to force full damage in CCDamageTracker
2149 https://bugs.webkit.org/show_bug.cgi?id=76805
2151 Reviewed by James Robinson.
2153 * tests/CCDamageTrackerTest.cpp:
2154 (WebKitTests::TEST_F):
2157 2012-02-03 James Robinson <jamesr@chromium.org>
2159 [chromium] Defer makeContextCurrent in compositor until first frame
2160 https://bugs.webkit.org/show_bug.cgi?id=77269
2162 Reviewed by Kenneth Russell.
2164 * tests/CCLayerTreeHostTest.cpp:
2165 (WTF::CCLayerTreeHostTestSetViewportSize::beginTest):
2166 * tests/TiledLayerChromiumTest.cpp:
2169 2012-02-03 Beth Dakin <bdakin@apple.com>
2171 https://bugs.webkit.org/show_bug.cgi?id=77691
2172 Fix PlatformScreen layering violation and PlatformScreenMac's incorrect use
2175 Reviewed by Andy Estes.
2177 These two functions now take a Widget again rather than a FrameView.
2178 * src/PlatformSupport.cpp:
2179 (WebCore::PlatformSupport::screenRect):
2180 (WebCore::PlatformSupport::screenAvailableRect):
2182 2012-02-03 John Knottenbelt <jknotten@chromium.org>
2184 [skia] Fix unit test PlatformContextSkiaTest.trackOpaqueOvalTest
2185 https://bugs.webkit.org/show_bug.cgi?id=77738
2187 We need to clear the bitmap before the test runs, otherwise the
2188 contents of the bitmap will be uninitialised. This causes an
2189 unpredicatable result as the canvas draw operations blend the
2190 destination bitmap with the source colour.
2192 Similarly, valgrind discovered that
2193 PlatformContextSkiaTest.trackOpaqueTest and
2194 PlatformContextSkiaTest.trackOpaqueLineTest suffers from the same
2197 Also, re-enable WebFrameTest.FindInPage which was falsely
2198 blamed for making this test fail.
2200 Reviewed by Stephen White.
2202 * tests/PlatformContextSkiaTest.cpp:
2204 * tests/WebFrameTest.cpp:
2207 2012-02-03 Dana Jansens <danakj@chromium.org>
2209 [Chromium] Use the current clip when marking paints as opaque
2210 https://bugs.webkit.org/show_bug.cgi?id=77582
2212 Reviewed by Stephen White.
2214 * tests/PlatformContextSkiaTest.cpp:
2218 2012-02-03 Yury Semikhatsky <yurys@chromium.org>
2220 Unreviewed. Update Chromium deps.
2224 2012-02-02 Tommy Widenflycht <tommyw@google.com>
2226 [chromium] MediaStream API: Adding the embedding code for MediaStreamCenter
2227 https://bugs.webkit.org/show_bug.cgi?id=73130
2229 Reviewed by Darin Fisher.
2232 * bridge/MediaStreamCenter.cpp: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
2234 (WebCore::MediaStreamCenter::MediaStreamCenter):
2235 (WebCore::MediaStreamCenter::~MediaStreamCenter):
2236 (WebCore::MediaStreamCenter::queryMediaStreamSources):
2237 (WebCore::MediaStreamCenter::didSetMediaStreamTrackEnabled):
2238 (WebCore::MediaStreamCenter::didStopLocalMediaStream):
2239 (WebCore::MediaStreamCenter::didConstructMediaStream):
2240 * bridge/MediaStreamCenterInternal.cpp: Added.
2242 (WebCore::MediaStreamCenterInternal::MediaStreamCenterInternal):
2243 (WebCore::MediaStreamCenterInternal::~MediaStreamCenterInternal):
2244 (WebCore::MediaStreamCenterInternal::queryMediaStreamSources):
2245 (WebCore::MediaStreamCenterInternal::didSetMediaStreamTrackEnabled):
2246 (WebCore::MediaStreamCenterInternal::didStopLocalMediaStream):
2247 (WebCore::MediaStreamCenterInternal::didConstructMediaStream):
2248 (WebCore::MediaStreamCenterInternal::stopLocalMediaStream):
2249 * bridge/MediaStreamCenterInternal.h: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
2252 (MediaStreamCenterInternal):
2253 * public/platform/WebKitPlatformSupport.h:
2255 (WebKit::WebKitPlatformSupport::createMediaStreamCenter):
2256 * public/platform/WebMediaStreamCenter.h: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
2258 (WebMediaStreamCenter):
2259 (WebKit::WebMediaStreamCenter::~WebMediaStreamCenter):
2260 * public/platform/WebMediaStreamCenterClient.h: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
2262 (WebMediaStreamCenterClient):
2263 (WebKit::WebMediaStreamCenterClient::~WebMediaStreamCenterClient):
2264 * public/platform/WebMediaStreamComponent.h: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
2267 (WebMediaStreamComponent):
2268 (WebKit::WebMediaStreamComponent::WebMediaStreamComponent):
2269 (WebKit::WebMediaStreamComponent::~WebMediaStreamComponent):
2270 (WebKit::WebMediaStreamComponent::isNull):
2271 * public/platform/WebMediaStreamDescriptor.h:
2273 (WebMediaStreamDescriptor):
2274 * public/platform/WebMediaStreamSourcesRequest.h: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
2277 (WebMediaStreamSourcesRequest):
2278 (WebKit::WebMediaStreamSourcesRequest::WebMediaStreamSourcesRequest):
2279 (WebKit::WebMediaStreamSourcesRequest::~WebMediaStreamSourcesRequest):
2280 (WebKit::WebMediaStreamSourcesRequest::isNull):
2281 * src/UserMediaClientImpl.h:
2282 (UserMediaClientImpl):
2283 * src/WebMediaStreamComponent.cpp: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
2285 (WebKit::WebMediaStreamComponent::WebMediaStreamComponent):
2286 (WebKit::WebMediaStreamComponent::operator=):
2287 (WebKit::WebMediaStreamComponent::reset):
2288 (WebKit::WebMediaStreamComponent::operator PassRefPtr<MediaStreamComponent>):
2289 (WebKit::WebMediaStreamComponent::operator MediaStreamComponent*):
2290 (WebKit::WebMediaStreamComponent::isEnabled):
2291 (WebKit::WebMediaStreamComponent::source):
2292 * src/WebMediaStreamDescriptor.cpp:
2293 (WebKit::WebMediaStreamDescriptor::WebMediaStreamDescriptor):
2295 (WebKit::WebMediaStreamDescriptor::audioSources):
2296 (WebKit::WebMediaStreamDescriptor::videoSources):
2297 * src/WebMediaStreamSourcesRequest.cpp: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
2299 (WebKit::WebMediaStreamSourcesRequest::WebMediaStreamSourcesRequest):
2300 (WebKit::WebMediaStreamSourcesRequest::reset):
2301 (WebKit::WebMediaStreamSourcesRequest::audio):
2302 (WebKit::WebMediaStreamSourcesRequest::video):
2303 (WebKit::WebMediaStreamSourcesRequest::didCompleteQuery):
2305 2012-02-02 Sheriff Bot <webkit.review.bot@gmail.com>
2307 Unreviewed. Rolled DEPS.
2311 2012-02-02 Allan Sandfeld Jensen <allan.jensen@nokia.com>
2313 Update enum name for HitTestRequest::RequestType
2314 https://bugs.webkit.org/show_bug.cgi?id=77620
2316 Reviewed by Kenneth Rohde Christiansen.
2318 * src/WebFrameImpl.cpp:
2319 (WebKit::WebFrameImpl::visiblePositionForWindowPoint):
2321 2012-02-02 Kinuko Yasuda <kinuko@chromium.org>
2323 Cleanup: Move chrome-specific filesystem type handling code (for FileSystem API) under chromium directory (re-landing r105395)
2324 https://bugs.webkit.org/show_bug.cgi?id=76551
2326 * src/AssertMatchingEnums.cpp: Removed the matching assertion for AsyncFileSystem::External (as now we directly use WebFileSystem::TypeExternal).
2327 * src/AsyncFileSystemChromium.cpp:
2328 (WebCore::AsyncFileSystem::crackFileSystemURL): Added.
2329 (WebCore::AsyncFileSystem::isValidType): Added.
2330 (WebCore::AsyncFileSystemChromium::toURL): Added.
2331 * src/AsyncFileSystemChromium.h:
2332 (AsyncFileSystemChromium):
2333 * src/WorkerAsyncFileSystemChromium.cpp: Made this subclass of AsyncFileSystemChromium (rather than that of AsyncFileSystem)
2334 (WebCore::WorkerAsyncFileSystemChromium::WorkerAsyncFileSystemChromium):
2335 * src/WorkerAsyncFileSystemChromium.h:
2336 (WorkerAsyncFileSystemChromium):
2338 2012-02-01 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
2340 Avoid creating NamedNodeMap unnecessarily
2341 https://bugs.webkit.org/show_bug.cgi?id=77574
2343 Reviewed by Ryosuke Niwa.
2345 * src/WebPageSerializerImpl.cpp:
2346 (WebKit::WebPageSerializerImpl::openTagToString): use updatedAttributes().
2348 2012-02-01 Justin Novosad <junov@chromium.org>
2350 [Chromium] Enable deferred canvas rendering in the skia port
2351 https://bugs.webkit.org/show_bug.cgi?id=76732
2353 Reviewed by Stephen White.
2355 Adding a new setting for enabling deferred 2d canvas rendering
2357 * public/WebSettings.h:
2358 * src/WebSettingsImpl.cpp:
2359 (WebKit::WebSettingsImpl::setDeferred2dCanvasEnabled):
2361 * src/WebSettingsImpl.h:
2364 2012-02-01 Sheriff Bot <webkit.review.bot@gmail.com>
2366 Unreviewed, rolling out r106382.
2367 http://trac.webkit.org/changeset/106382
2368 https://bugs.webkit.org/show_bug.cgi?id=77571
2370 Causing chromium crashes in PNGImageDecoder (Requested by
2373 * public/platform/WebKitPlatformSupport.h:
2374 (WebKitPlatformSupport):
2375 (WebKit::WebKitPlatformSupport::isTraceEventEnabled):
2376 (WebKit::WebKitPlatformSupport::traceEventBegin):
2377 (WebKit::WebKitPlatformSupport::traceEventEnd):
2378 * src/PlatformSupport.cpp:
2379 (WebCore::PlatformSupport::isTraceEventEnabled):
2381 (WebCore::PlatformSupport::traceEventBegin):
2382 (WebCore::PlatformSupport::traceEventEnd):
2384 2012-02-01 Dirk Pranke <dpranke@chromium.org>
2386 TestWebKitAPI isn't being built on chromium bots any more
2387 https://bugs.webkit.org/show_bug.cgi?id=77563
2389 Reviewed by Dimitri Glazkov.
2391 I accidentally dropped it in the refactoring in r105449.
2395 2012-02-01 Hans Wennborg <hans@chromium.org>
2397 Rename WebSpeechInputResult::set() to assign()
2398 https://bugs.webkit.org/show_bug.cgi?id=77540
2400 Reviewed by Darin Fisher.
2402 It was suggested in a previous code review
2403 (https://bugs.webkit.org/show_bug.cgi?id=77083#c5)
2404 that this function should be called assign().
2406 * public/WebSpeechInputResult.h:
2407 (WebSpeechInputResult):
2408 (WebKit::WebSpeechInputResult::set):
2409 * src/WebSpeechInputResult.cpp:
2410 (WebKit::WebSpeechInputResult::assign):
2412 2012-02-01 Kent Tamura <tkent@chromium.org>
2414 [Chromium] Disable WebFrameTest.FindInPage
2415 https://bugs.webkit.org/show_bug.cgi?id=77186
2417 Disable it because PlatformContextSkiaTest.trackOpaqueOvalTest has
2418 been failing since FindInPage test was committed.
2420 * tests/WebFrameTest.cpp:
2423 2012-01-31 Ami Fischman <fischman@chromium.org>
2425 [chromium] enable -Wexit-time-destructors for webkit unit tests
2426 https://bugs.webkit.org/show_bug.cgi?id=77300
2427 Fix the only extant violation (verified by building webkit_unit_tests in static build).
2429 Reviewed by Tony Chang.
2431 * WebKitUnitTests.gyp:
2432 * tests/FrameTestHelpers.cpp:
2433 (WebKit::FrameTestHelpers::defaultWebFrameClient):
2434 (WebKit::FrameTestHelpers::defaultWebViewClient):
2436 2012-01-31 Nico Weber <thakis@chromium.org>
2438 [chromium] Expose windowResizerRectChanged() on WebWidget.
2439 https://bugs.webkit.org/show_bug.cgi?id=77453
2441 Needed for http://crbug.com/111266
2443 Reviewed by Darin Fisher.
2445 * public/WebWidget.h:
2447 (WebKit::WebWidget::didChangeWindowResizerRect):
2448 * src/WebViewImpl.cpp:
2449 (WebKit::WebViewImpl::didChangeWindowResizerRect):
2451 * src/WebViewImpl.h:
2454 2012-01-31 Nat Duca <nduca@chromium.org>
2456 [chromium] Import PaintAggregator
2457 https://bugs.webkit.org/show_bug.cgi?id=53715
2459 Reviewed by Darin Fisher.
2463 * src/painting/PaintAggregator.cpp: Added.
2464 (WebKit::calculateArea):
2465 (WebKit::subtractIntersection):
2466 (WebKit::sharesEdge):
2467 (WebKit::PaintAggregator::PendingUpdate::PendingUpdate):
2468 (WebKit::PaintAggregator::PendingUpdate::~PendingUpdate):
2469 (WebKit::PaintAggregator::PendingUpdate::calculateScrollDamage):
2470 (WebKit::PaintAggregator::PendingUpdate::calculatePaintBounds):
2471 (WebKit::PaintAggregator::hasPendingUpdate):
2472 (WebKit::PaintAggregator::clearPendingUpdate):
2473 (WebKit::PaintAggregator::popPendingUpdate):
2474 (WebKit::PaintAggregator::invalidateRect):
2475 (WebKit::PaintAggregator::scrollRect):
2476 (WebKit::PaintAggregator::scrollPaintRect):
2477 (WebKit::PaintAggregator::shouldInvalidateScrollRect):
2478 (WebKit::PaintAggregator::invalidateScrollRect):
2479 (WebKit::PaintAggregator::combinePaintRects):
2480 * src/painting/PaintAggregator.h: Added.
2481 * tests/PaintAggregatorTest.cpp: Added.
2484 2012-01-31 Fady Samuel <fsamuel@chromium.org>
2486 [Chromium] ChromeClientImpl::dispatchViewportPropertiesDidChange is repeatedly called in Google News
2487 https://bugs.webkit.org/show_bug.cgi?id=77429
2489 Reviewed by Darin Fisher.
2491 m_webView->isPageScaleFactorSet() is tested in ChromeClientImpl::layoutUpdated, and it is never true,
2492 because WebViewImpl::setPageScaleFactorPreservingScrollOffset is called repeatedly and exits early
2493 and thus never calls WebViewImpl::setPageScaleFactor which sets the flag.
2495 The simplest solution is to simply get rid of the early return in
2496 WebViewImpl::setPageScaleFactorPreservingScrollOffset.
2498 * src/WebViewImpl.cpp:
2499 (WebKit::WebViewImpl::setPageScaleFactorPreservingScrollOffset):
2501 2012-01-31 Fady Samuel <fsamuel@chromium.org>
2503 [Chromium] Expose setLayoutFallbackWidth as a WebSetting
2504 https://bugs.webkit.org/show_bug.cgi?id=77431
2506 Reviewed by Darin Fisher.
2508 The layout fallback width is the default fixed layout width
2509 set for desktop web pages that lack a viewport tag. This width
2510 can vary from platform to platform and can depend on other factors,
2511 and so it should be a setting exposed to Chromium.
2513 * public/WebSettings.h:
2515 * src/WebSettingsImpl.cpp:
2516 (WebKit::WebSettingsImpl::setLayoutFallbackWidth):
2518 * src/WebSettingsImpl.h:
2521 2012-01-31 Dana Jansens <danakj@chromium.org>
2523 [chromium] Compute occlusion during paint loop
2524 https://bugs.webkit.org/show_bug.cgi?id=76858
2526 Reviewed by James Robinson.
2528 * tests/CCLayerTreeHostCommonTest.cpp:
2531 * tests/CCLayerTreeHostTest.cpp:
2532 (WTF::ContentLayerChromiumWithUpdateTracking::paintContentsIfDirty):
2534 (TestLayerChromium):
2535 (WTF::TestLayerChromium::create):
2536 (WTF::TestLayerChromium::paintContentsIfDirty):
2537 (WTF::TestLayerChromium::drawsContent):
2538 (WTF::TestLayerChromium::occludedScreenSpace):
2539 (WTF::TestLayerChromium::clearOccludedScreenSpace):
2540 (WTF::TestLayerChromium::TestLayerChromium):
2541 (WTF::setLayerPropertiesForTesting):
2542 (CCLayerTreeHostTestLayerOcclusion):
2543 (WTF::CCLayerTreeHostTestLayerOcclusion::CCLayerTreeHostTestLayerOcclusion):
2544 (WTF::CCLayerTreeHostTestLayerOcclusion::beginTest):
2545 (WTF::CCLayerTreeHostTestLayerOcclusion::afterTest):
2546 * tests/Canvas2DLayerChromiumTest.cpp:
2547 (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
2548 * tests/TiledLayerChromiumTest.cpp:
2549 (WTF::FakeLayerTextureUpdater::setOpaquePaintRect):
2550 (FakeLayerTextureUpdater):
2551 (WTF::FakeTiledLayerChromium::paintContentsIfDirty):
2552 (WTF::FakeLayerTextureUpdater::prepareToUpdate):
2556 2012-01-31 John Bates <jbates@google.com>
2558 [Chromium] Add chromium-style tracing support
2559 https://bugs.webkit.org/show_bug.cgi?id=76885
2561 Reviewed by Darin Fisher.
2563 This code enables WebKit trace events to pass through more data to the
2564 chromium platform tracing API and generally to use the full tracing
2565 API provided by chromium.
2567 * public/platform/WebKitPlatformSupport.h:
2568 (WebKit::WebKitPlatformSupport::getTraceCategoryEnabledFlag):
2569 (WebKit::WebKitPlatformSupport::addTraceEvent):
2570 * src/PlatformSupport.cpp:
2571 (WebCore::PlatformSupport::getTraceCategoryEnabledFlag):
2572 (WebCore::PlatformSupport::addTraceEvent):
2574 2012-01-31 Antoine Labour <piman@chromium.org>
2576 Add back temporarily WebKitPlatformSupport::createGraphicsContext3D() to fix build
2577 https://bugs.webkit.org/show_bug.cgi?id=77467
2579 Rubber-stamped by Nate Chapin <japhet@chromium.org>.
2581 * public/platform/WebKitPlatformSupport.h:
2582 (WebKitPlatformSupport):
2583 (WebKit::WebKitPlatformSupport::createGraphicsContext3D):
2585 2012-01-31 Antoine Labour <piman@chromium.org>
2587 Merge WebGraphicsContext3D creation and initialization, and move it to
2589 https://bugs.webkit.org/show_bug.cgi?id=76593
2591 Reviewed by Darin Fisher.
2593 * public/WebViewClient.h:
2594 (WebKit::WebViewClient::createGraphicsContext3D):
2595 * public/platform/WebGraphicsContext3D.h:
2596 (WebKit::WebGraphicsContext3D::initialize):
2597 * public/platform/WebKitPlatformSupport.h:
2598 * src/GraphicsContext3DChromium.cpp:
2600 2012-01-26 Hans Wennborg <hans@chromium.org>
2602 Speech Input: move MockSpeechInputClient into Chromium DumpRenderTree implementation
2603 https://bugs.webkit.org/show_bug.cgi?id=77083
2605 Reviewed by Darin Fisher.
2607 Remove the WebSpeechInputControllerMock interface and proxy
2608 implementation. The mock is moving to the DumpRenderTree
2609 implementation instead, which removes the need to expose this
2610 interface in the WebKit API.
2612 Also add a proper copy constructor for WebSpeechInputResult.
2613 The default one doesn't do a proper copy.
2616 * public/WebSpeechInputControllerMock.h: Removed.
2617 * public/WebSpeechInputResult.h:
2618 (WebKit::WebSpeechInputResult::WebSpeechInputResult):
2619 (WebSpeechInputResult):
2620 * src/WebSpeechInputControllerMockImpl.cpp: Removed.
2621 * src/WebSpeechInputControllerMockImpl.h: Removed.
2622 * src/WebSpeechInputResult.cpp:
2623 (WebKit::WebSpeechInputResult::set):
2626 2012-01-31 Sheriff Bot <webkit.review.bot@gmail.com>
2628 Unreviewed. Rolled DEPS.
2632 2012-01-30 Sheriff Bot <webkit.review.bot@gmail.com>
2634 Unreviewed, rolling out r106324.
2635 http://trac.webkit.org/changeset/106324
2636 https://bugs.webkit.org/show_bug.cgi?id=77406
2638 Broke CCLayerTreeHostTestLayerOcclusion.runMultiThread and
2639 runSingleThread (Requested by yuzo1 on #webkit).
2641 * tests/CCLayerTreeHostCommonTest.cpp:
2643 * tests/CCLayerTreeHostTest.cpp:
2644 (WTF::ContentLayerChromiumWithUpdateTracking::paintContentsIfDirty):
2645 * tests/Canvas2DLayerChromiumTest.cpp:
2646 (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
2647 * tests/TiledLayerChromiumTest.cpp:
2648 (FakeLayerTextureUpdater):
2649 (WTF::FakeTiledLayerChromium::paintContentsIfDirty):
2650 (WTF::FakeLayerTextureUpdater::prepareToUpdate):
2652 2012-01-30 Dana Jansens <danakj@chromium.org>
2654 [chromium] Compute occlusion during paint loop
2655 https://bugs.webkit.org/show_bug.cgi?id=76858
2657 Reviewed by James Robinson.
2659 * tests/CCLayerTreeHostCommonTest.cpp:
2662 * tests/CCLayerTreeHostTest.cpp:
2663 (WTF::ContentLayerChromiumWithUpdateTracking::paintContentsIfDirty):
2665 (TestLayerChromium):
2666 (WTF::TestLayerChromium::create):
2667 (WTF::TestLayerChromium::paintContentsIfDirty):
2668 (WTF::TestLayerChromium::drawsContent):
2669 (WTF::TestLayerChromium::occludedScreenSpace):
2670 (WTF::TestLayerChromium::clearOccludedScreenSpace):
2671 (WTF::TestLayerChromium::TestLayerChromium):
2672 (WTF::setLayerPropertiesForTesting):
2673 (CCLayerTreeHostTestLayerOcclusion):
2674 (WTF::CCLayerTreeHostTestLayerOcclusion::CCLayerTreeHostTestLayerOcclusion):
2675 (WTF::CCLayerTreeHostTestLayerOcclusion::beginTest):
2676 (WTF::CCLayerTreeHostTestLayerOcclusion::afterTest):
2677 * tests/Canvas2DLayerChromiumTest.cpp:
2678 (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
2679 * tests/TiledLayerChromiumTest.cpp:
2680 (WTF::FakeLayerTextureUpdater::setOpaquePaintRect):
2681 (FakeLayerTextureUpdater):
2682 (WTF::FakeTiledLayerChromium::paintContentsIfDirty):
2683 (WTF::FakeLayerTextureUpdater::prepareToUpdate):
2687 2012-01-30 Gregg Tavares <gman@google.com>
2689 Add Plumming to get graphics error messages to JS Console
2690 https://bugs.webkit.org/show_bug.cgi?id=77238
2692 Reviewed by Kenneth Russell.
2694 * public/platform/WebGraphicsContext3D.h:
2695 (WebGraphicsErrorMessageCallback):
2696 (WebKit::WebGraphicsContext3D::WebGraphicsErrorMessageCallback::~WebGraphicsErrorMessageCallback):
2697 (WebGraphicsContext3D):
2698 (WebKit::WebGraphicsContext3D::setErrorMessageCallback):
2699 * src/GraphicsContext3DChromium.cpp:
2700 (WebCore::GraphicsContext3D::~GraphicsContext3D):
2702 (GraphicsErrorMessageCallbackAdapter):
2703 (WebCore::GraphicsErrorMessageCallbackAdapter::~GraphicsErrorMessageCallbackAdapter):
2704 (WebCore::GraphicsErrorMessageCallbackAdapter::GraphicsErrorMessageCallbackAdapter):
2705 (WebCore::GraphicsErrorMessageCallbackAdapter::onErrorMessage):
2706 (WebCore::GraphicsErrorMessageCallbackAdapter::create):
2707 (WebCore::GraphicsContext3DPrivate::setErrorMessageCallback):
2708 * src/GraphicsContext3DPrivate.h:
2712 2012-01-30 Sheriff Bot <webkit.review.bot@gmail.com>
2714 Unreviewed, rolling out r106259.
2715 http://trac.webkit.org/changeset/106259
2716 https://bugs.webkit.org/show_bug.cgi?id=77395
2718 Breaks shared builders as they also build webkittests with
2719 -Wexit-time-destructors. (Requested by leviw on #webkit).
2721 * WebKitUnitTests.gyp:
2723 2012-01-30 Dana Jansens <danakj@chromium.org>
2725 [chromium] Use region reported painted opaque for draw culling
2726 https://bugs.webkit.org/show_bug.cgi?id=76015
2728 Reviewed by James Robinson.
2730 * tests/CCLayerTreeHostImplTest.cpp:
2731 (WebKit::BlendStateCheckLayer::appendQuads):
2732 (WebKit::BlendStateCheckLayer::setOpaqueColor):
2733 (BlendStateCheckLayer):
2734 (WebKit::BlendStateCheckLayer::BlendStateCheckLayer):
2736 * tests/CCQuadCullerTest.cpp:
2737 (WebCore::MakeTileQuad):
2738 (WebCore::setQuads):
2741 * tests/CCTiledLayerImplTest.cpp:
2742 (CCLayerTestCommon::createLayer):
2743 (CCLayerTestCommon::TEST):
2744 (CCLayerTestCommon::getQuads):
2745 (CCLayerTestCommon::coverageVisibleRectOnTileBoundaries):
2746 (CCLayerTestCommon::coverageVisibleRectIntersectsTiles):
2747 (CCLayerTestCommon::coverageVisibleRectIntersectsBounds):
2748 (CCLayerTestCommon):
2750 2012-01-30 Adrienne Walker <enne@google.com>
2752 [chromium] Always pre-reserve scrollbar and scroll corner textures
2753 https://bugs.webkit.org/show_bug.cgi?id=77251
2755 Reviewed by James Robinson.
2757 * src/NonCompositedContentHost.cpp:
2758 (WebKit::reserveScrollbarLayers):
2760 (WebKit::NonCompositedContentHost::setViewport):
2762 2012-01-30 Ryosuke Niwa <rniwa@webkit.org>
2764 Roll Chromium DEPS from 119623 to 119700.
2768 2012-01-30 Beth Dakin <bdakin@apple.com>
2770 https://bugs.webkit.org/show_bug.cgi?id=77263
2771 PlatformScreenMac should not rely on NSWindow for important bits of data
2773 Reviewed by Geoff Garen.
2775 These two functions now take a FrameView instead of a Widget.
2776 * src/PlatformSupport.cpp:
2777 (WebCore::PlatformSupport::screenRect):
2778 (WebCore::PlatformSupport::screenAvailableRect):
2780 2012-01-30 Ami Fischman <fischman@chromium.org>
2782 [chromium] enable -Wexit-time-destructors for webkit unit tests
2783 https://bugs.webkit.org/show_bug.cgi?id=77300
2785 Reviewed by Tony Chang.
2787 * WebKitUnitTests.gyp: Enable clang check for exit time destructors.
2789 2012-01-30 Tommy Widenflycht <tommyw@google.com>
2791 [chromium] MediaStream API: Fix a few memory leaks
2792 https://bugs.webkit.org/show_bug.cgi?id=77334
2794 Reviewed by Darin Fisher.
2796 It seems that either the behaviour of WebPrivatePtr has changed or I misunderstood
2797 something, but I fixed a memory leak in WebMediaStreamDescriptor and safeguarded
2798 WebMediaStreamSource.
2800 * public/platform/WebMediaStreamDescriptor.h:
2801 (WebKit::WebMediaStreamDescriptor::WebMediaStreamDescriptor):
2802 * public/platform/WebMediaStreamSource.h:
2803 (WebKit::WebMediaStreamSource::WebMediaStreamSource):
2804 (WebKit::WebMediaStreamSource::operator=):
2805 (WebMediaStreamSource):
2806 * src/WebMediaStreamDescriptor.cpp:
2807 (WebKit::WebMediaStreamDescriptor::assign):
2808 * src/WebMediaStreamSource.cpp:
2809 (WebKit::WebMediaStreamSource::assign):
2812 2012-01-30 Jochen Eisinger <jochen@chromium.org>
2814 [chromium] remove exit time destructors from TextureManagerTest
2815 https://bugs.webkit.org/show_bug.cgi?id=77333
2817 Reviewed by Tony Gentilcore.
2819 Non-trivial, global objects require an at-exit time destructor which add
2820 unnecessary complexity and delays to shutdown.
2822 * tests/FakeCCLayerTreeHostClient.h: added newline at EOF
2823 * tests/TextureManagerTest.cpp:
2824 (WTF::FakeTextureAllocator::~FakeTextureAllocator):
2825 (TextureManagerTest):
2826 (WTF::TextureManagerTest::TextureManagerTest):
2827 (WTF::TextureManagerTest::~TextureManagerTest):
2828 (WTF::TextureManagerTest::texturesMemorySize):
2829 (WTF::TextureManagerTest::createTextureManager):
2830 (WTF::TextureManagerTest::requestTexture):
2833 2012-01-30 Hans Wennborg <hans@chromium.org>
2835 Unreviewed, rolling out r106219.
2836 http://trac.webkit.org/changeset/106219
2837 https://bugs.webkit.org/show_bug.cgi?id=77083
2839 This broke Chromium's test_shell.
2842 * public/WebSpeechInputControllerMock.h: Added.
2844 (WebSpeechInputControllerMock):
2845 (WebKit::WebSpeechInputControllerMock::~WebSpeechInputControllerMock):
2846 * public/WebSpeechInputResult.h:
2847 (WebSpeechInputResult):
2848 * src/WebSpeechInputControllerMockImpl.cpp: Added.
2850 (WebKit::WebSpeechInputControllerMock::create):
2851 (WebKit::WebSpeechInputControllerMockImpl::WebSpeechInputControllerMockImpl):
2852 (WebKit::WebSpeechInputControllerMockImpl::~WebSpeechInputControllerMockImpl):
2853 (WebKit::WebSpeechInputControllerMockImpl::addMockRecognitionResult):
2854 (WebKit::WebSpeechInputControllerMockImpl::clearResults):
2855 (WebKit::WebSpeechInputControllerMockImpl::didCompleteRecording):
2856 (WebKit::WebSpeechInputControllerMockImpl::didCompleteRecognition):
2857 (WebKit::WebSpeechInputControllerMockImpl::setRecognitionResult):
2858 (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
2859 (WebKit::WebSpeechInputControllerMockImpl::cancelRecognition):
2860 (WebKit::WebSpeechInputControllerMockImpl::stopRecording):
2861 * src/WebSpeechInputControllerMockImpl.h: Added.
2864 (WebSpeechInputControllerMockImpl):
2865 * src/WebSpeechInputResult.cpp:
2867 2012-01-26 Hans Wennborg <hans@chromium.org>
2869 Speech Input: move MockSpeechInputClient into Chromium DumpRenderTree implementation
2870 https://bugs.webkit.org/show_bug.cgi?id=77083
2872 Reviewed by Darin Fisher.
2874 Remove the WebSpeechInputControllerMock interface and proxy
2875 implementation. The mock is moving to the DumpRenderTree
2876 implementation instead, which removes the need to expose this
2877 interface in the WebKit API.
2879 Also add a proper copy constructor for WebSpeechInputResult.
2880 The default one doesn't do a proper copy.
2883 * public/WebSpeechInputControllerMock.h: Removed.
2884 * public/WebSpeechInputResult.h:
2885 (WebKit::WebSpeechInputResult::WebSpeechInputResult):
2886 (WebSpeechInputResult):
2887 * src/WebSpeechInputControllerMockImpl.cpp: Removed.
2888 * src/WebSpeechInputControllerMockImpl.h: Removed.
2889 * src/WebSpeechInputResult.cpp:
2890 (WebKit::WebSpeechInputResult::set):
2893 2012-01-29 Kent Tamura <tkent@chromium.org>
2895 [Chromium] REGRESSION(r87067): WebFrame::setFindEndstateFocusAndSelection()
2896 doesn't set the selection for <input> and <textarea>
2897 https://bugs.webkit.org/show_bug.cgi?id=77186
2899 Reviewed by Hajime Morita.
2901 When the find-in-page box is closed, WebFrame::stopFinding(false) is
2902 called. It calls setFindEndstateFocusAndSelection(). Before r87067,
2903 m_activeMatch was stored as the normal selection in <input> or
2904 <textarea> by accident. r87067 stopped this accidental behavior.
2906 However the behavior of pre-r87067 is useful and we should support it
2907 for contentEditable elements too.
2909 * src/WebFrameImpl.cpp:
2910 (WebKit::WebFrameImpl::setFindEndstateFocusAndSelection):
2911 - Add special handing for <input> and <textarea> to find a focusable parent.
2912 - Sets the active match as the selection even if a focusable parent is found.
2913 * tests/WebFrameTest.cpp:
2914 (WebKit::TEST_F): Add tests for find() and stopFinding().
2915 * tests/data/find.html: Added.
2917 2012-01-29 Nico Weber <nicolasweber@gmx.de>
2919 [chromium/mac] Fix two-finger scrolling
2920 https://bugs.webkit.org/show_bug.cgi?id=77316
2922 http://trac.webkit.org/changeset/106021/trunk changed the phase enums
2923 to match AppKit. This changes WebMouseWheelEvent accordingly.
2925 No tests, because DRT doesn't support synthetic scroll events with
2928 Reviewed by Anders Carlsson.
2930 * public/WebInputEvent.h:
2931 * src/mac/WebInputEventFactory.mm:
2933 2012-01-28 Sheriff Bot <webkit.review.bot@gmail.com>
2935 Unreviewed. Rolled DEPS.
2939 2012-01-28 Nico Weber <thakis@chromium.org>
2941 [chromium] Add support for building standalone webkit/chromium checkouts with ninja.
2942 https://bugs.webkit.org/show_bug.cgi?id=77243
2944 Reviewed by Adam Barth.
2948 2012-01-27 Jeff Timanus <twiz@chromium.org>
2950 [chromium] Increase the size of the Ganesh texture cache to prevent performance problems on advanced Canvas2D pages.
2951 The cache was previously 50 MB; it is now 96 MB.
2953 Bug 76666 - Ganesh's Texture Cache is too small
2954 https://bugs.webkit.org/show_bug.cgi?id=76666
2956 Reviewed by Stephen White.
2958 * src/GraphicsContext3DChromium.cpp:
2959 (WebCore::GraphicsContext3DPrivate::grContext):
2961 2012-01-27 Adrienne Walker <enne@google.com>
2963 [chromium] Don't ever skip drawing the non-composited content layer
2964 https://bugs.webkit.org/show_bug.cgi?id=77236
2966 Reviewed by James Robinson.
2968 This is a tiny fix. If the non-composited content layer never gets
2969 painted, then the background color never gets set and it is just
2972 * src/WebViewImpl.cpp:
2973 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2975 2012-01-27 Fady Samuel <fsamuel@chromium.org>
2977 Rename shouldLayoutFixedElementsRelativeToFrame and make it a setting
2978 https://bugs.webkit.org/show_bug.cgi?id=76459
2980 Reviewed by Darin Fisher.
2982 * public/WebSettings.h:
2986 * src/WebSettingsImpl.cpp:
2987 (WebKit::WebSettingsImpl::setFixedElementsLayoutRelativeToFrame):
2989 * src/WebSettingsImpl.h:
2991 * src/WebViewImpl.cpp:
2992 * src/WebViewImpl.h:
2995 2012-01-24 Vincent Scheib <scheib@chromium.org>
2997 Pointer Lock: Implement pointer interface
2998 https://bugs.webkit.org/show_bug.cgi?id=75762
3000 Add calls to the PointerLockController added in this patch to WebCore.
3002 * src/WebViewImpl.cpp:
3003 (WebKit::WebViewImpl::close):
3004 (WebKit::WebViewImpl::didAcquirePointerLock):
3005 (WebKit::WebViewImpl::didNotAcquirePointerLock):
3006 (WebKit::WebViewImpl::didLosePointerLock):
3007 (WebKit::WebViewImpl::pointerLockMouseEvent):
3009 2012-01-26 Kent Tamura <tkent@chromium.org>
3011 [Chromium] Cleanup of WebPopupMenuImpl
3012 https://bugs.webkit.org/show_bug.cgi?id=76441
3014 Reviewed by Kentaro Hara.
3016 Removed WebPopupMenuImpl::invalidateContents() and scrollRectIntoView()
3017 because they were removed from HostWindow in r58445 and r55864. They
3018 were found by OVERRIDE.
3020 * src/ChromeClientImpl.cpp:
3021 (WebKit::ChromeClientImpl::popupOpened): Rename WebPopupMenuImpl::Init().
3022 * src/WebPopupMenuImpl.cpp:
3023 (WebKit::WebPopupMenuImpl::WebPopupMenuImpl): Update a comment.
3024 (WebKit::WebPopupMenuImpl::init): Renamed from Init(). Update a comment.
3025 (WebKit::WebPopupMenuImpl::handleMouseMove): Prepend "handle" to the name.
3026 (WebKit::WebPopupMenuImpl::handleMouseLeave): ditto.
3027 (WebKit::WebPopupMenuImpl::handleMouseDown): ditto.
3028 (WebKit::WebPopupMenuImpl::handleMouseUp): ditto.
3029 (WebKit::WebPopupMenuImpl::handleMouseWheel): ditto.
3030 (WebKit::WebPopupMenuImpl::handleGestureEvent): ditto.
3031 (WebKit::WebPopupMenuImpl::handleTouchEvent): ditto.
3032 (WebKit::WebPopupMenuImpl::handleKeyEvent): ditto.
3033 (WebKit::WebPopupMenuImpl::close): Update a comment.
3034 (WebKit::WebPopupMenuImpl::composite): Remove a unused argument name.
3035 (WebKit::WebPopupMenuImpl::handleInputEvent): Update a comment. Update callsites for handle*().
3036 (WebKit::WebPopupMenuImpl::setFocus): Remove a unused argument name.
3037 (WebKit::WebPopupMenuImpl::setComposition): ditto.
3038 (WebKit::WebPopupMenuImpl::confirmComposition): ditto.
3039 (WebKit::WebPopupMenuImpl::setTextDirection): ditto.
3040 (WebKit::WebPopupMenuImpl::scroll): Unfold folded lines.
3041 * src/WebPopupMenuImpl.h:
3042 - Remove useless argument names.
3045 2012-01-26 W. James MacLean <wjmaclean@chromium.org>
3047 [chromium] Allow modification of size of partially occluded quads.
3048 https://bugs.webkit.org/show_bug.cgi?id=76349
3050 Reviewed by James Robinson.
3052 * tests/CCQuadCullerTest.cpp:
3053 (WebCore::makeTileQuads)
3054 (WebCore::setQuads):
3057 2012-01-26 Michal Mocny <mmocny@google.com>
3059 [chromium] Revert changes which added setResourceUsageCHROMIUM gl extension since feature changed directions
3060 https://bugs.webkit.org/show_bug.cgi?id=77120
3062 Reviewed by Kenneth Russell.
3064 * public/platform/WebGraphicsContext3D.h:
3065 (WebGraphicsContext3D):
3066 * src/GraphicsContext3DChromium.cpp:
3068 * tests/FakeWebGraphicsContext3D.h:
3069 (WebKit::FakeWebGraphicsContext3D::setVisibilityCHROMIUM):
3071 2012-01-26 Sadrul Habib Chowdhury <sadrul@chromium.org>
3073 Add GestureTapDown and GestureDoubleTap gesture types to WebGestureEvent.
3074 https://bugs.webkit.org/show_bug.cgi?id=77140
3076 Reviewed by Darin Fisher.
3078 * public/WebInputEvent.h:
3080 * src/WebInputEventConversion.cpp:
3081 (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
3082 * src/WebPopupMenuImpl.cpp:
3083 (WebKit::WebPopupMenuImpl::handleInputEvent):
3084 * src/WebViewImpl.cpp:
3085 (WebKit::WebViewImpl::handleInputEvent):
3087 2012-01-25 Cris Neckar <cdn@chromium.org>
3089 Add API to register schemes which can be sent simple CORS requests.
3090 https://bugs.webkit.org/show_bug.cgi?id=77041
3092 Reviewed by Alexey Proskuryakov.
3094 * public/WebSecurityPolicy.h:
3095 (WebSecurityPolicy):
3096 * src/WebSecurityPolicy.cpp:
3097 (WebKit::WebSecurityPolicy::registerCORSEnabledScheme):
3100 2012-01-10 James Robinson <jamesr@chromium.org>
3102 [chromium] Add enter/exitRunLoop to WebThread API
3103 https://bugs.webkit.org/show_bug.cgi?id=76012
3105 Reviewed by Darin Fisher.
3107 This adds those two APIs to WebKit::WebThread and converts CCLayerTreeHostTest over to use these APIs instead
3108 of webkit_support. The immediate motivation is that we can't use webkit_support in webkit_unit_tests in the
3112 * public/platform/WebThread.h:
3113 * tests/CCLayerTreeHostTest.cpp:
3114 (WTF::CCLayerTreeHostTest::onEndTest):
3115 (WTF::CCLayerTreeHostTest::TimeoutTask::run):
3116 (WTF::CCLayerTreeHostTest::BeginTask::BeginTask):
3117 (WTF::CCLayerTreeHostTest::BeginTask::~BeginTask):
3118 (WTF::CCLayerTreeHostTest::BeginTask::run):
3119 (WTF::CCLayerTreeHostTest::runTest):
3121 2012-01-26 John Bates <jbates@google.com>
3123 Roll chromium_rev to 119248
3124 https://bugs.webkit.org/show_bug.cgi?id=77124
3126 Reviewed by James Robinson.
3130 2012-01-25 Greg Billock <gbillock@google.com>
3132 Add IntentRequest include for FrameLoaderClientImpl.
3133 https://bugs.webkit.org/show_bug.cgi?id=77039
3135 Reviewed by Darin Fisher.
3137 * src/FrameLoaderClientImpl.cpp:
3139 2012-01-25 Daniel Cheng <dcheng@chromium.org>
3141 [chromium] Fix ClipboardChromium::validateFilename to actually operate on extensions
3142 https://bugs.webkit.org/show_bug.cgi?id=76996
3144 Reviewed by Tony Chang.
3147 * tests/ClipboardChromiumTest.cpp: Added.
3151 2012-01-25 James Robinson <jamesr@chromium.org>
3153 [chromium] Rollout r100751, this mechanism does not work and is very slow
3154 https://bugs.webkit.org/show_bug.cgi?id=77055
3156 Unreviewed rollout of http://trac.webkit.org/changeset/100751. The refresh rate mechanism is not implemented,
3157 but it still triggers a very slow codepath and triggers races on some platforms.
3159 * public/WebScreenInfo.h:
3161 (WebKit::WebScreenInfo::WebScreenInfo):
3162 * src/PlatformSupport.cpp:
3163 * src/WebViewImpl.cpp:
3164 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3165 * tests/CCLayerTreeHostTest.cpp:
3166 (WTF::CCLayerTreeHostTest::runTest):
3168 2012-01-25 Eric Uhrhane <ericu@chromium.org>
3170 Add full support for filesystem URLs.
3171 https://bugs.webkit.org/show_bug.cgi?id=75049
3173 Reviewed by Adam Barth.
3175 No new tests; existing layout tests cover the basic functionality, and
3176 the new functionality won't be there until Chromium adds it. This patch
3177 merely enables that, without changing behavior.
3179 * tests/KURLTest.cpp:
3180 TEST(KURLTest, Encode): Update expectation that '/' sails through unescaped.
3182 2012-01-25 Joshua Bell <jsbell@chromium.org>
3184 IndexedDB: Need to distinguish key paths that don't yield value vs. yield invalid key
3185 https://bugs.webkit.org/show_bug.cgi?id=76487
3187 Added a NullType to represent a null IDBKey pointer. This is needed to distinguish the
3188 cases in the spec where the key resolution algorithm returns no value (null) versus
3189 returns a value but that value is not a valid key (invalid).
3191 Reviewed by Tony Chang.
3193 * public/WebIDBKey.h:
3194 * src/WebIDBKey.cpp:
3195 (WebKit::WebIDBKey::createNull): Added.
3196 (WebKit::WebIDBKey::createFromValueAndKeyPath): Now returns null if value is null.
3197 (WebKit::convertFromWebIDBKeyArray): Null keys should never exist within arrays.
3198 (WebKit::WebIDBKey::assignInvalid):
3199 (WebKit::WebIDBKey::assignNull):
3200 (WebKit::WebIDBKey::type):
3202 2012-01-24 Vsevolod Vlasov <vsevik@chromium.org>
3204 Unreviewed chromium test fix.
3207 (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts):
3208 (.TestSuite.prototype._waitUntilScriptsAreParsed):
3210 2012-01-24 Vangelis Kokkevis <vangelis@chromium.org>
3212 Adding a test to verify that m_skipsDraw gets reset between frames for
3214 https://bugs.webkit.org/show_bug.cgi?id=76735
3216 Reviewed by James Robinson.
3219 * tests/FakeCCLayerTreeHostClient.h: Added.
3220 (WebCore::FakeCCLayerTreeHostClient::updateAnimations):
3221 (WebCore::FakeCCLayerTreeHostClient::layout):
3222 (WebCore::FakeCCLayerTreeHostClient::applyScrollAndScale):
3223 (WebCore::FakeCCLayerTreeHostClient::createLayerTreeHostContext3D):
3224 (WebCore::FakeCCLayerTreeHostClient::didRecreateGraphicsContext):
3225 (WebCore::FakeCCLayerTreeHostClient::didCommitAndDrawFrame):
3226 (WebCore::FakeCCLayerTreeHostClient::didCompleteSwapBuffers):
3227 (WebCore::FakeCCLayerTreeHostClient::scheduleComposite):
3228 * tests/LayerChromiumTest.cpp:
3229 * tests/TiledLayerChromiumTest.cpp:
3230 (WTF::FakeTiledLayerChromium::skipsDraw):
3231 (WTF::FakeTiledLayerChromium::paintContentsIfDirty):
3234 2012-01-24 Dmitry Lomov <dslomov@google.com>
3236 Unreviewed: removing WebWorker.h again after r105684.
3240 2012-01-24 Tommy Widenflycht <tommyw@google.com>
3242 MediaStream API: Split the MediaStream track list into audio/video specific ones.
3243 https://bugs.webkit.org/show_bug.cgi?id=76614
3245 Reviewed by Darin Fisher.
3247 * public/WebUserMediaClient.h:
3248 (WebKit::WebUserMediaClient::requestUserMedia):
3249 * public/WebUserMediaRequest.h:
3250 * public/platform/WebMediaStreamDescriptor.h:
3251 * src/UserMediaClientImpl.cpp:
3252 (WebKit::UserMediaClientImpl::requestUserMedia):
3253 * src/UserMediaClientImpl.h:
3254 * src/WebMediaStreamDescriptor.cpp:
3255 (WebKit::WebMediaStreamDescriptor::sources):
3256 (WebKit::WebMediaStreamDescriptor::audioSources):
3257 (WebKit::WebMediaStreamDescriptor::videoSources):
3258 (WebKit::WebMediaStreamDescriptor::initialize):
3259 * src/WebUserMediaRequest.cpp:
3260 (WebKit::WebUserMediaRequest::requestSucceeded):
3262 2012-01-23 Simon Fraser <simon.fraser@apple.com>
3264 Show layer borders for scrollbar layers
3265 https://bugs.webkit.org/show_bug.cgi?id=76888
3267 Reviewed by Beth Dakin.
3269 Update for new signature of GraphicsLayerClient::showDebugBorders()
3270 and GraphicsLayerClient::showRepaintCounter().
3272 * src/NonCompositedContentHost.cpp:
3273 (WebKit::NonCompositedContentHost::showDebugBorders):
3274 (WebKit::NonCompositedContentHost::showRepaintCounter):
3275 * src/NonCompositedContentHost.h:
3276 * src/PageOverlay.cpp:
3277 (WebKit::OverlayGraphicsLayerClientImpl::showDebugBorders):
3278 (WebKit::OverlayGraphicsLayerClientImpl::showRepaintCounter):
3279 * tests/ImageLayerChromiumTest.cpp:
3280 (WebCore::MockGraphicsLayerClient::showDebugBorders):
3281 (WebCore::MockGraphicsLayerClient::showRepaintCounter):
3283 2012-01-24 Vincent Scheib <scheib@chromium.org>
3285 [Chromium] Add WebKit API for Pointer Lock
3286 https://bugs.webkit.org/show_bug.cgi?id=76410
3288 Reviewed by Darin Fisher.
3290 Breaking up https://bugs.webkit.org/show_bug.cgi?id=75762
3291 into a series of patches, this stubs out the API.
3293 * public/WebWidget.h:
3294 (WebKit::WebWidget::didCompletePointerLock):
3295 (WebKit::WebWidget::didNotCompletePointerLock):
3296 (WebKit::WebWidget::didLosePointerLock):
3297 * public/WebWidgetClient.h:
3298 (WebKit::WebWidgetClient::requestPointerLock):
3299 (WebKit::WebWidgetClient::requestPointerUnlock):
3300 (WebKit::WebWidgetClient::isPointerLocked):
3301 * src/ChromeClientImpl.cpp:
3302 (WebKit::ChromeClientImpl::requestPointerLock):
3303 (WebKit::ChromeClientImpl::requestPointerUnlock):
3304 (WebKit::ChromeClientImpl::isPointerLocked):
3305 * src/ChromeClientImpl.h:
3306 * src/WebViewImpl.cpp:
3307 (WebKit::WebViewImpl::handleInputEvent):
3308 (WebKit::WebViewImpl::didCompletePointerLock):
3309 (WebKit::WebViewImpl::didNotCompletePointerLock):
3310 (WebKit::WebViewImpl::didLosePointerLock):
3311 (WebKit::WebViewImpl::requestPointerLock):
3312 (WebKit::WebViewImpl::requestPointerUnlock):
3313 (WebKit::WebViewImpl::isPointerLocked):
3314 (WebKit::WebViewImpl::pointerLockMouseEvent):
3315 * src/WebViewImpl.h:
3317 2012-01-23 Sheriff Bot <webkit.review.bot@gmail.com>
3319 Unreviewed. Rolled DEPS.
3323 2012-01-23 Tom Sepez <tsepez@chromium.org>
3325 [chromium] Clean up old WebSharedWorker::startWorkerContext() method.
3326 https://bugs.webkit.org/show_bug.cgi?id=76853
3328 Reviewed by Darin Fisher.
3330 * public/WebSharedWorker.h:
3331 * src/WebSharedWorkerImpl.cpp:
3332 * src/WebSharedWorkerImpl.h:
3334 2012-01-23 Dmitry Lomov <dslomov@google.com>
3336 [Chromium] Implement layoutTestController.workerThreadCount in DRT
3337 https://bugs.webkit.org/show_bug.cgi?id=74653.
3338 Expose WebCore::WorkerThread::workerThreadCount() in API layer
3341 Reviewed by Darin Fisher.
3344 * public/WebWorkerInfo.h: Copied from Source/WebKit/chromium/public/WebCommonWorkerClient.h.
3345 * src/WebWorkerInfo.cpp: Copied from Source/WebKit/chromium/public/WebCommonWorkerClient.h.
3346 (WebKit::WebWorkerInfo::dedicatedWorkerCount):
3348 2012-01-23 Greg Billock <gbillock@google.com>
3350 Fine tune Web Intents Chromium API
3351 https://bugs.webkit.org/show_bug.cgi?id=76754
3353 Reviewed by Darin Fisher.
3355 * public/WebIntent.h:
3356 * public/WebIntentServiceInfo.h:
3357 * src/WebIntent.cpp:
3358 * src/WebIntentServiceInfo.cpp:
3359 (WebKit::WebIntentServiceInfo::WebIntentServiceInfo):
3361 2012-01-23 Shawn Singh <shawnsingh@chromium.org>
3363 [chromium] updateRect is incorrect when contentBounds != bounds
3364 https://bugs.webkit.org/show_bug.cgi?id=72919
3366 Reviewed by James Robinson.
3368 * tests/TiledLayerChromiumTest.cpp:
3369 (WTF::FakeTiledLayerWithScaledBounds::FakeTiledLayerWithScaledBounds):
3370 (WTF::FakeTiledLayerWithScaledBounds::setContentBounds):
3371 (WTF::FakeTiledLayerWithScaledBounds::contentBounds):
3372 (WTF::FakeTiledLayerWithScaledBounds::updateRect):
3375 2012-01-23 Takashi Toyoshima <toyoshim@chromium.org>
3377 [Chromium][WebSocket] Remove binary communication using WebData in WebKit API
3378 https://bugs.webkit.org/show_bug.cgi?id=76608
3380 Reviewed by Darin Fisher.
3382 * public/WebSocket.h: Remove BinaryTypeData definition and sendBinary(const WebData&).
3383 * public/WebSocketClient.h: Remove didReceiveBinaryData(const WebData&).
3384 * src/WebSocketImpl.cpp: Remove WebData related code and set default binary type as BinaryTypeBlob.
3385 (WebKit::WebSocketImpl::WebSocketImpl): Remove sendBinary(const WebData&).
3386 (WebKit::WebSocketImpl::didReceiveBinaryData): Remove WebData supporting code.
3387 * src/WebSocketImpl.h: Remove sendBinary(const WebData&).
3389 2012-01-23 James Robinson <jamesr@chromium.org>
3391 [chromium] Add <(SHARED_INTERMEDIATE_DIR)/webkit to include path of targets that depend on WebKit API so they pick up the copied headers in an onion build
3392 https://bugs.webkit.org/show_bug.cgi?id=76879
3394 Reviewed by Dirk Pranke.
3398 2012-01-23 Stephen White <senorblanco@chromium.org>
3400 Unreviewed, rolling out r105640.
3401 http://trac.webkit.org/changeset/105640
3402 https://bugs.webkit.org/show_bug.cgi?id=76849
3404 Broke the chromium build.
3408 2012-01-23 Justin Novosad <junov@chromium.org>
3410 rolling chromium DEPS to r118713
3411 https://bugs.webkit.org/show_bug.cgi?id=76849
3413 Reviewed by Stephen White.
3415 This is to pick up a change to skia build configuration
3419 2012-01-23 Xianzhu Wang <wangxianzhu@chromium.org>
3421 Basic enhancements to StringBuilder
3422 https://bugs.webkit.org/show_bug.cgi?id=67081
3424 This change is because we explicitly disallowed StringBuilder's
3425 copy constructor and assignment operator.
3427 Reviewed by Darin Adler.
3429 No new tests. All layout tests and unit tests should run as before.
3431 * src/WebPageSerializerImpl.cpp:
3432 (WebKit::WebPageSerializerImpl::encodeAndFlushBuffer):
3434 2012-01-23 W. James MacLean <wjmaclean@chromium.org>
3436 [chromium] Add WebSolidColorLayer interface to draw non-textured color layers from Aura.
3437 https://bugs.webkit.org/show_bug.cgi?id=75732
3439 Reviewed by James Robinson.
3443 * public/platform/WebSolidColorLayer.h: Added.
3444 * src/WebSolidColorLayer.cpp: Added.
3445 (WebKit::WebSolidColorLayer::create):
3446 (WebKit::WebSolidColorLayer::WebSolidColorLayer):
3447 (WebKit::WebSolidColorLayer::setBackgroundColor):
3448 * src/WebSolidColorLayerImpl.cpp: Added.
3449 (WebKit::WebSolidColorLayerImpl::create):
3450 (WebKit::WebSolidColorLayerImpl::WebSolidColorLayerImpl):
3451 (WebKit::WebSolidColorLayerImpl::~WebSolidColorLayerImpl):
3452 * src/WebSolidColorLayerImpl.h: Added.
3453 * tests/CCLayerTestCommon.cpp: Added.
3454 (CCLayerTestCommon::completelyContains):
3455 (CCLayerTestCommon::verifyQuadsExactlyCoverRect):
3456 * tests/CCLayerTestCommon.h: Added.
3457 * tests/CCSolidColorLayerImplTest.cpp: Added.
3458 (CCLayerTestCommon::TEST):
3459 * tests/CCTiledLayerImplTest.cpp:
3461 2012-01-20 Pavel Feldman <pfeldman@google.com>
3463 Web Inspector: PageAgent.open() dosen't belong to the protocol.
3464 https://bugs.webkit.org/show_bug.cgi?id=74790
3466 Reviewed by Yury Semikhatsky.
3468 * public/WebDevToolsFrontendClient.h:
3469 (WebKit::WebDevToolsFrontendClient::openInNewTab):
3470 * src/InspectorFrontendClientImpl.cpp:
3471 (WebKit::InspectorFrontendClientImpl::openInNewTab):
3472 (WebKit::InspectorFrontendClientImpl::saveAs):
3473 * src/InspectorFrontendClientImpl.h:
3475 2012-01-21 David Reveman <reveman@chromium.org>
3477 [Chromium] Incremental texture updates are not atomic.
3478 https://bugs.webkit.org/show_bug.cgi?id=72672
3480 Reviewed by Adam Barth.
3482 Add CCLayerTreeHostTestAtomicCommit test that verifies atomicity
3485 * tests/CCLayerTreeHostTest.cpp:
3486 (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::create):
3487 (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::createTexture):
3488 (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::deleteTexture):
3489 (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::bindTexture):
3490 (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::numTextures):
3491 (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::texture):
3492 (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::resetTextures):
3493 (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::numUsedTextures):
3494 (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::usedTexture):
3495 (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::resetUsedTextures):
3496 (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::CompositorFakeWebGraphicsContext3DWithTextureTracking):
3497 (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
3498 (WTF::MockContentLayerDelegate::drawsContent):
3499 (WTF::MockContentLayerDelegate::paintContents):
3500 (WTF::MockContentLayerDelegate::notifySyncRequired):
3501 (WTF::CCLayerTreeHostTestAtomicCommit::CCLayerTreeHostTestAtomicCommit):
3502 (WTF::CCLayerTreeHostTestAtomicCommit::beginTest):
3503 (WTF::CCLayerTreeHostTestAtomicCommit::commitCompleteOnCCThread):
3504 (WTF::CCLayerTreeHostTestAtomicCommit::drawLayersOnCCThread):
3505 (WTF::CCLayerTreeHostTestAtomicCommit::layout):
3506 (WTF::CCLayerTreeHostTestAtomicCommit::afterTest):
3508 * tests/CompositorFakeWebGraphicsContext3D.h:
3510 2012-01-21 Sheriff Bot <webkit.review.bot@gmail.com>
3512 Unreviewed, rolling out r105564.
3513 http://trac.webkit.org/changeset/105564
3514 https://bugs.webkit.org/show_bug.cgi?id=76792
3516 Does not compile on Chromium Mac (Requested by abarth on
3519 * tests/CCLayerTreeHostTest.cpp: