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

Side by Side Diff: cc/test/proxy_main_for_test.cc

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
« no previous file with comments | « cc/test/proxy_main_for_test.h ('k') | cc/trees/channel_impl.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "cc/test/proxy_main_for_test.h" 5 #include "cc/test/proxy_main_for_test.h"
6 6
7 #include "cc/animation/animation_events.h" 7 #include "cc/animation/animation_events.h"
8 #include "cc/test/threaded_channel_for_test.h" 8 #include "cc/test/threaded_channel_for_test.h"
9 #include "cc/trees/remote_channel_main.h" 9 #include "cc/trees/remote_channel_main.h"
10 10
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 const RendererCapabilities& capabilities) { 92 const RendererCapabilities& capabilities) {
93 test_hooks_->ReceivedDidInitializeOutputSurface(success, capabilities); 93 test_hooks_->ReceivedDidInitializeOutputSurface(success, capabilities);
94 ProxyMain::DidInitializeOutputSurface(success, capabilities); 94 ProxyMain::DidInitializeOutputSurface(success, capabilities);
95 } 95 }
96 96
97 void ProxyMainForTest::DidCompletePageScaleAnimation() { 97 void ProxyMainForTest::DidCompletePageScaleAnimation() {
98 test_hooks_->ReceivedDidCompletePageScaleAnimation(); 98 test_hooks_->ReceivedDidCompletePageScaleAnimation();
99 ProxyMain::DidCompletePageScaleAnimation(); 99 ProxyMain::DidCompletePageScaleAnimation();
100 } 100 }
101 101
102 void ProxyMainForTest::PostFrameTimingEventsOnMain(
103 std::unique_ptr<FrameTimingTracker::CompositeTimingSet> composite_events,
104 std::unique_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events) {
105 test_hooks_->ReceivedPostFrameTimingEventsOnMain();
106 ProxyMain::PostFrameTimingEventsOnMain(std::move(composite_events),
107 std::move(main_frame_events));
108 }
109
110 void ProxyMainForTest::BeginMainFrame( 102 void ProxyMainForTest::BeginMainFrame(
111 std::unique_ptr<BeginMainFrameAndCommitState> begin_main_frame_state) { 103 std::unique_ptr<BeginMainFrameAndCommitState> begin_main_frame_state) {
112 test_hooks_->ReceivedBeginMainFrame(); 104 test_hooks_->ReceivedBeginMainFrame();
113 ProxyMain::BeginMainFrame(std::move(begin_main_frame_state)); 105 ProxyMain::BeginMainFrame(std::move(begin_main_frame_state));
114 } 106 }
115 107
116 } // namespace cc 108 } // namespace cc
OLDNEW
« no previous file with comments | « cc/test/proxy_main_for_test.h ('k') | cc/trees/channel_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698