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

Side by Side Diff: cc/test/proxy_impl_for_test.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
« no previous file with comments | « cc/test/layer_tree_test.cc ('k') | cc/test/proxy_main_for_test.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 #ifndef CC_TEST_PROXY_IMPL_FOR_TEST_H_ 5 #ifndef CC_TEST_PROXY_IMPL_FOR_TEST_H_
6 #define CC_TEST_PROXY_IMPL_FOR_TEST_H_ 6 #define CC_TEST_PROXY_IMPL_FOR_TEST_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "cc/test/test_hooks.h" 9 #include "cc/test/test_hooks.h"
10 #include "cc/trees/proxy_impl.h" 10 #include "cc/trees/proxy_impl.h"
(...skipping 13 matching lines...) Expand all
24 using ProxyImpl::PostAnimationEventsToMainThreadOnImplThread; 24 using ProxyImpl::PostAnimationEventsToMainThreadOnImplThread;
25 using ProxyImpl::DidLoseOutputSurfaceOnImplThread; 25 using ProxyImpl::DidLoseOutputSurfaceOnImplThread;
26 using ProxyImpl::DidCompletePageScaleAnimationOnImplThread; 26 using ProxyImpl::DidCompletePageScaleAnimationOnImplThread;
27 using ProxyImpl::SendBeginMainFrameNotExpectedSoon; 27 using ProxyImpl::SendBeginMainFrameNotExpectedSoon;
28 28
29 bool HasCommitCompletionEvent() const; 29 bool HasCommitCompletionEvent() const;
30 bool GetNextCommitWaitsForActivation() const; 30 bool GetNextCommitWaitsForActivation() const;
31 const DelayedUniqueNotifier& smoothness_priority_expiration_notifier() const { 31 const DelayedUniqueNotifier& smoothness_priority_expiration_notifier() const {
32 return smoothness_priority_expiration_notifier_; 32 return smoothness_priority_expiration_notifier_;
33 } 33 }
34 const BeginFrameArgs& last_begin_frame_args() const {
35 return last_begin_main_frame_args_;
36 }
37 34
38 ProxyImplForTest( 35 ProxyImplForTest(
39 TestHooks* test_hooks, 36 TestHooks* test_hooks,
40 ChannelImpl* channel_impl, 37 ChannelImpl* channel_impl,
41 LayerTreeHost* layer_tree_host, 38 LayerTreeHost* layer_tree_host,
42 TaskRunnerProvider* task_runner_provider, 39 TaskRunnerProvider* task_runner_provider,
43 std::unique_ptr<BeginFrameSource> external_begin_frame_source); 40 std::unique_ptr<BeginFrameSource> external_begin_frame_source);
44 41
45 void ScheduledActionSendBeginMainFrame(const BeginFrameArgs& args) override; 42 void ScheduledActionSendBeginMainFrame(const BeginFrameArgs& args) override;
46 DrawResult ScheduledActionDrawAndSwapIfPossible() override; 43 DrawResult ScheduledActionDrawAndSwapIfPossible() override;
(...skipping 23 matching lines...) Expand all
70 LayerTreeHost* layer_tree_host, 67 LayerTreeHost* layer_tree_host,
71 base::TimeTicks main_thread_start_time, 68 base::TimeTicks main_thread_start_time,
72 bool hold_commit_for_activation) override; 69 bool hold_commit_for_activation) override;
73 70
74 TestHooks* test_hooks_; 71 TestHooks* test_hooks_;
75 }; 72 };
76 73
77 } // namespace cc 74 } // namespace cc
78 75
79 #endif // CC_TEST_PROXY_IMPL_FOR_TEST_H_ 76 #endif // CC_TEST_PROXY_IMPL_FOR_TEST_H_
OLDNEW
« no previous file with comments | « cc/test/layer_tree_test.cc ('k') | cc/test/proxy_main_for_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698