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

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

Issue 2443613002: Rename classes related to top controls (Closed)
Patch Set: fix test Created 4 years, 1 month 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 m_layerTreeHost->SetDeferCommits(deferCommits); 143 m_layerTreeHost->SetDeferCommits(deferCommits);
144 } 144 }
145 145
146 void WebLayerTreeViewImplForTesting::UpdateLayerTreeHost() {} 146 void WebLayerTreeViewImplForTesting::UpdateLayerTreeHost() {}
147 147
148 void WebLayerTreeViewImplForTesting::ApplyViewportDeltas( 148 void WebLayerTreeViewImplForTesting::ApplyViewportDeltas(
149 const gfx::Vector2dF& innerDelta, 149 const gfx::Vector2dF& innerDelta,
150 const gfx::Vector2dF& outerDelta, 150 const gfx::Vector2dF& outerDelta,
151 const gfx::Vector2dF& elasticOverscrollDelta, 151 const gfx::Vector2dF& elasticOverscrollDelta,
152 float pageScale, 152 float pageScale,
153 float topControlsDelta) {} 153 float browserControlsDelta) {}
154 154
155 void WebLayerTreeViewImplForTesting::RequestNewCompositorFrameSink() { 155 void WebLayerTreeViewImplForTesting::RequestNewCompositorFrameSink() {
156 // Intentionally do not create and set an CompositorFrameSink. 156 // Intentionally do not create and set an CompositorFrameSink.
157 } 157 }
158 158
159 void WebLayerTreeViewImplForTesting::DidFailToInitializeCompositorFrameSink() { 159 void WebLayerTreeViewImplForTesting::DidFailToInitializeCompositorFrameSink() {
160 ASSERT_NOT_REACHED(); 160 ASSERT_NOT_REACHED();
161 } 161 }
162 162
163 void WebLayerTreeViewImplForTesting::registerViewportLayers( 163 void WebLayerTreeViewImplForTesting::registerViewportLayers(
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 void WebLayerTreeViewImplForTesting::setHaveScrollEventHandlers( 216 void WebLayerTreeViewImplForTesting::setHaveScrollEventHandlers(
217 bool haveEentHandlers) { 217 bool haveEentHandlers) {
218 m_layerTreeHost->GetLayerTree()->SetHaveScrollEventHandlers(haveEentHandlers); 218 m_layerTreeHost->GetLayerTree()->SetHaveScrollEventHandlers(haveEentHandlers);
219 } 219 }
220 220
221 bool WebLayerTreeViewImplForTesting::haveScrollEventHandlers() const { 221 bool WebLayerTreeViewImplForTesting::haveScrollEventHandlers() const {
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') | third_party/WebKit/Source/web/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698