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

Side by Side Diff: content/test/web_layer_tree_view_impl_for_testing.h

Issue 1137823002: Pass collected frame timing events to Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missed implementing virtual function on Android html_viewer. Created 5 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
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.cc ('k') | ui/compositor/compositor.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 CONTENT_TEST_WEB_LAYER_TREE_VIEW_IMPL_FOR_TESTING_H_ 5 #ifndef CONTENT_TEST_WEB_LAYER_TREE_VIEW_IMPL_FOR_TESTING_H_
6 #define CONTENT_TEST_WEB_LAYER_TREE_VIEW_IMPL_FOR_TESTING_H_ 6 #define CONTENT_TEST_WEB_LAYER_TREE_VIEW_IMPL_FOR_TESTING_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 float page_scale, 75 float page_scale,
76 float top_controls_delta) override; 76 float top_controls_delta) override;
77 void RequestNewOutputSurface() override; 77 void RequestNewOutputSurface() override;
78 void DidInitializeOutputSurface() override {} 78 void DidInitializeOutputSurface() override {}
79 void DidFailToInitializeOutputSurface() override; 79 void DidFailToInitializeOutputSurface() override;
80 void WillCommit() override {} 80 void WillCommit() override {}
81 void DidCommit() override {} 81 void DidCommit() override {}
82 void DidCommitAndDrawFrame() override {} 82 void DidCommitAndDrawFrame() override {}
83 void DidCompleteSwapBuffers() override {} 83 void DidCompleteSwapBuffers() override {}
84 void DidCompletePageScaleAnimation() override {} 84 void DidCompletePageScaleAnimation() override {}
85 void RecordFrameTimingEvents(
86 scoped_ptr<cc::FrameTimingTracker::CompositeTimingSet> composite_events,
87 scoped_ptr<cc::FrameTimingTracker::MainFrameTimingSet> main_frame_events)
88 override {}
85 89
86 // cc::LayerTreeHostSingleThreadClient implementation. 90 // cc::LayerTreeHostSingleThreadClient implementation.
87 void DidPostSwapBuffers() override {} 91 void DidPostSwapBuffers() override {}
88 void DidAbortSwapBuffers() override {} 92 void DidAbortSwapBuffers() override {}
89 93
90 private: 94 private:
91 scoped_ptr<cc::LayerTreeHost> layer_tree_host_; 95 scoped_ptr<cc::LayerTreeHost> layer_tree_host_;
92 96
93 DISALLOW_COPY_AND_ASSIGN(WebLayerTreeViewImplForTesting); 97 DISALLOW_COPY_AND_ASSIGN(WebLayerTreeViewImplForTesting);
94 }; 98 };
95 99
96 } // namespace content 100 } // namespace content
97 101
98 #endif // CONTENT_TEST_WEB_LAYER_TREE_VIEW_IMPL_FOR_TESTING_H_ 102 #endif // CONTENT_TEST_WEB_LAYER_TREE_VIEW_IMPL_FOR_TESTING_H_
OLDNEW
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.cc ('k') | ui/compositor/compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698