OLD | NEW |
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_MAIN_FOR_TEST_H_ | 5 #ifndef CC_TEST_PROXY_MAIN_FOR_TEST_H_ |
6 #define CC_TEST_PROXY_MAIN_FOR_TEST_H_ | 6 #define CC_TEST_PROXY_MAIN_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_main.h" | 10 #include "cc/trees/proxy_main.h" |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 const RendererCapabilities& capabilities) override; | 43 const RendererCapabilities& capabilities) override; |
44 void BeginMainFrameNotExpectedSoon() override; | 44 void BeginMainFrameNotExpectedSoon() override; |
45 void DidCommitAndDrawFrame() override; | 45 void DidCommitAndDrawFrame() override; |
46 void SetAnimationEvents(std::unique_ptr<AnimationEvents> events) override; | 46 void SetAnimationEvents(std::unique_ptr<AnimationEvents> events) override; |
47 void DidLoseOutputSurface() override; | 47 void DidLoseOutputSurface() override; |
48 void RequestNewOutputSurface() override; | 48 void RequestNewOutputSurface() override; |
49 void DidInitializeOutputSurface( | 49 void DidInitializeOutputSurface( |
50 bool success, | 50 bool success, |
51 const RendererCapabilities& capabilities) override; | 51 const RendererCapabilities& capabilities) override; |
52 void DidCompletePageScaleAnimation() override; | 52 void DidCompletePageScaleAnimation() override; |
53 void PostFrameTimingEventsOnMain( | |
54 std::unique_ptr<FrameTimingTracker::CompositeTimingSet> composite_events, | |
55 std::unique_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events) | |
56 override; | |
57 void BeginMainFrame(std::unique_ptr<BeginMainFrameAndCommitState> | 53 void BeginMainFrame(std::unique_ptr<BeginMainFrameAndCommitState> |
58 begin_main_frame_state) override; | 54 begin_main_frame_state) override; |
59 | 55 |
60 TestHooks* test_hooks_; | 56 TestHooks* test_hooks_; |
61 ThreadedChannelForTest* threaded_channel_for_test_; | 57 ThreadedChannelForTest* threaded_channel_for_test_; |
62 }; | 58 }; |
63 | 59 |
64 } // namespace cc | 60 } // namespace cc |
65 | 61 |
66 #endif // CC_TEST_PROXY_MAIN_FOR_TEST_H_ | 62 #endif // CC_TEST_PROXY_MAIN_FOR_TEST_H_ |
OLD | NEW |