Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(372)

Side by Side Diff: third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.cpp

Issue 2337913003: Fork cc::OutputSurface into cc::CompositorFrameSink. (Closed)
Patch Set: cfsfork: android-vulkan Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "platform/testing/WebLayerTreeViewImplForTesting.h" 5 #include "platform/testing/WebLayerTreeViewImplForTesting.h"
6 6
7 #include "base/threading/thread_task_runner_handle.h" 7 #include "base/threading/thread_task_runner_handle.h"
8 #include "cc/animation/animation_host.h" 8 #include "cc/animation/animation_host.h"
9 #include "cc/animation/animation_timeline.h" 9 #include "cc/animation/animation_timeline.h"
10 #include "cc/blink/web_layer_impl.h" 10 #include "cc/blink/web_layer_impl.h"
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 139
140 void WebLayerTreeViewImplForTesting::ApplyViewportDeltas( 140 void WebLayerTreeViewImplForTesting::ApplyViewportDeltas(
141 const gfx::Vector2dF& innerDelta, 141 const gfx::Vector2dF& innerDelta,
142 const gfx::Vector2dF& outerDelta, 142 const gfx::Vector2dF& outerDelta,
143 const gfx::Vector2dF& elasticOverscrollDelta, 143 const gfx::Vector2dF& elasticOverscrollDelta,
144 float pageScale, 144 float pageScale,
145 float topControlsDelta) 145 float topControlsDelta)
146 { 146 {
147 } 147 }
148 148
149 void WebLayerTreeViewImplForTesting::RequestNewOutputSurface() 149 void WebLayerTreeViewImplForTesting::RequestNewCompositorFrameSink()
150 { 150 {
151 // Intentionally do not create and set an OutputSurface. 151 // Intentionally do not create and set an CompositorFrameSink.
152 } 152 }
153 153
154 void WebLayerTreeViewImplForTesting::DidFailToInitializeOutputSurface() 154 void WebLayerTreeViewImplForTesting::DidFailToInitializeCompositorFrameSink()
155 { 155 {
156 ASSERT_NOT_REACHED(); 156 ASSERT_NOT_REACHED();
157 } 157 }
158 158
159 void WebLayerTreeViewImplForTesting::registerViewportLayers( 159 void WebLayerTreeViewImplForTesting::registerViewportLayers(
160 const blink::WebLayer* overscrollElasticityLayer, 160 const blink::WebLayer* overscrollElasticityLayer,
161 const blink::WebLayer* pageScaleLayer, 161 const blink::WebLayer* pageScaleLayer,
162 const blink::WebLayer* innerViewportScrollLayer, 162 const blink::WebLayer* innerViewportScrollLayer,
163 const blink::WebLayer* outerViewportScrollLayer) 163 const blink::WebLayer* outerViewportScrollLayer)
164 { 164 {
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 { 216 {
217 m_layerTreeHost->GetLayerTree()->SetHaveScrollEventHandlers(haveEentHandlers ); 217 m_layerTreeHost->GetLayerTree()->SetHaveScrollEventHandlers(haveEentHandlers );
218 } 218 }
219 219
220 bool WebLayerTreeViewImplForTesting::haveScrollEventHandlers() const 220 bool WebLayerTreeViewImplForTesting::haveScrollEventHandlers() const
221 { 221 {
222 return m_layerTreeHost->GetLayerTree()->have_scroll_event_handlers(); 222 return m_layerTreeHost->GetLayerTree()->have_scroll_event_handlers();
223 } 223 }
224 224
225 } // namespace blink 225 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.h ('k') | tools/valgrind/memcheck/suppressions.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698