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

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

Issue 2068413002: cc: Remove fixed raster scale, stop rasterizing with will-change. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compile fix Created 4 years, 6 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 #ifndef WebLayerTreeViewImplForTesting_h 5 #ifndef WebLayerTreeViewImplForTesting_h
6 #define WebLayerTreeViewImplForTesting_h 6 #define WebLayerTreeViewImplForTesting_h
7 7
8 #include "cc/test/test_task_graph_runner.h" 8 #include "cc/test/test_task_graph_runner.h"
9 #include "cc/trees/layer_tree_host_client.h" 9 #include "cc/trees/layer_tree_host_client.h"
10 #include "cc/trees/layer_tree_host_single_thread_client.h" 10 #include "cc/trees/layer_tree_host_single_thread_client.h"
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 float pageScale, 84 float pageScale,
85 float topControlsDelta) override; 85 float topControlsDelta) override;
86 void RequestNewOutputSurface() override; 86 void RequestNewOutputSurface() override;
87 void DidInitializeOutputSurface() override {} 87 void DidInitializeOutputSurface() override {}
88 void DidFailToInitializeOutputSurface() override; 88 void DidFailToInitializeOutputSurface() override;
89 void WillCommit() override {} 89 void WillCommit() override {}
90 void DidCommit() override {} 90 void DidCommit() override {}
91 void DidCommitAndDrawFrame() override {} 91 void DidCommitAndDrawFrame() override {}
92 void DidCompleteSwapBuffers() override {} 92 void DidCompleteSwapBuffers() override {}
93 void DidCompletePageScaleAnimation() override {} 93 void DidCompletePageScaleAnimation() override {}
94 void ReportFixedRasterScaleUseCounters(
95 bool hasBlurryContent,
96 bool hasPotentialPerformanceRegression) override {}
97 94
98 // cc::LayerTreeHostSingleThreadClient implementation. 95 // cc::LayerTreeHostSingleThreadClient implementation.
99 void DidPostSwapBuffers() override {} 96 void DidPostSwapBuffers() override {}
100 void DidAbortSwapBuffers() override {} 97 void DidAbortSwapBuffers() override {}
101 98
102 private: 99 private:
103 cc::TestTaskGraphRunner m_taskGraphRunner; 100 cc::TestTaskGraphRunner m_taskGraphRunner;
104 std::unique_ptr<cc::LayerTreeHost> m_layerTreeHost; 101 std::unique_ptr<cc::LayerTreeHost> m_layerTreeHost;
105 }; 102 };
106 103
107 } // namespace blink 104 } // namespace blink
108 105
109 #endif // WebLayerTreeViewImplForTesting_h 106 #endif // WebLayerTreeViewImplForTesting_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/UseCounter.h ('k') | third_party/WebKit/Source/web/WebViewImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698