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

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

Issue 1946403003: Add fixed raster scale use counter histograms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase+fix Created 4 years, 7 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 float pageScale, 86 float pageScale,
87 float topControlsDelta) override; 87 float topControlsDelta) override;
88 void RequestNewOutputSurface() override; 88 void RequestNewOutputSurface() override;
89 void DidInitializeOutputSurface() override {} 89 void DidInitializeOutputSurface() override {}
90 void DidFailToInitializeOutputSurface() override; 90 void DidFailToInitializeOutputSurface() override;
91 void WillCommit() override {} 91 void WillCommit() override {}
92 void DidCommit() override {} 92 void DidCommit() override {}
93 void DidCommitAndDrawFrame() override {} 93 void DidCommitAndDrawFrame() override {}
94 void DidCompleteSwapBuffers() override {} 94 void DidCompleteSwapBuffers() override {}
95 void DidCompletePageScaleAnimation() override {} 95 void DidCompletePageScaleAnimation() override {}
96 void ReportFixedRasterScaleUseCounters(
97 bool hasBlurryContent,
98 bool hasPotentialPerformanceRegression) override {}
96 99
97 // cc::LayerTreeHostSingleThreadClient implementation. 100 // cc::LayerTreeHostSingleThreadClient implementation.
98 void DidPostSwapBuffers() override {} 101 void DidPostSwapBuffers() override {}
99 void DidAbortSwapBuffers() override {} 102 void DidAbortSwapBuffers() override {}
100 103
101 private: 104 private:
102 cc::TestTaskGraphRunner m_taskGraphRunner; 105 cc::TestTaskGraphRunner m_taskGraphRunner;
103 std::unique_ptr<cc::LayerTreeHost> m_layerTreeHost; 106 std::unique_ptr<cc::LayerTreeHost> m_layerTreeHost;
104 }; 107 };
105 108
106 } // namespace blink 109 } // namespace blink
107 110
108 #endif // WebLayerTreeViewImplForTesting_h 111 #endif // WebLayerTreeViewImplForTesting_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698