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

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

Issue 1897123002: Remove current implementation of frame timing events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 8 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 float pageScale, 81 float pageScale,
82 float topControlsDelta) override; 82 float topControlsDelta) override;
83 void RequestNewOutputSurface() override; 83 void RequestNewOutputSurface() override;
84 void DidInitializeOutputSurface() override {} 84 void DidInitializeOutputSurface() override {}
85 void DidFailToInitializeOutputSurface() override; 85 void DidFailToInitializeOutputSurface() override;
86 void WillCommit() override {} 86 void WillCommit() override {}
87 void DidCommit() override {} 87 void DidCommit() override {}
88 void DidCommitAndDrawFrame() override {} 88 void DidCommitAndDrawFrame() override {}
89 void DidCompleteSwapBuffers() override {} 89 void DidCompleteSwapBuffers() override {}
90 void DidCompletePageScaleAnimation() override {} 90 void DidCompletePageScaleAnimation() override {}
91 void RecordFrameTimingEvents(
92 std::unique_ptr<cc::FrameTimingTracker::CompositeTimingSet> compositeEve nts,
93 std::unique_ptr<cc::FrameTimingTracker::MainFrameTimingSet> mainFrameEve nts)
94 override {}
95 91
96 // cc::LayerTreeHostSingleThreadClient implementation. 92 // cc::LayerTreeHostSingleThreadClient implementation.
97 void DidPostSwapBuffers() override {} 93 void DidPostSwapBuffers() override {}
98 void DidAbortSwapBuffers() override {} 94 void DidAbortSwapBuffers() override {}
99 95
100 private: 96 private:
101 cc::TestTaskGraphRunner m_taskGraphRunner; 97 cc::TestTaskGraphRunner m_taskGraphRunner;
102 std::unique_ptr<cc::LayerTreeHost> m_layerTreeHost; 98 std::unique_ptr<cc::LayerTreeHost> m_layerTreeHost;
103 }; 99 };
104 100
105 } // namespace blink 101 } // namespace blink
106 102
107 #endif // WebLayerTreeViewImplForTesting_h 103 #endif // WebLayerTreeViewImplForTesting_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp ('k') | third_party/WebKit/Source/web/WebViewFrameWidget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698