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

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

Issue 1584743002: CC Animation: Replace AnimiationEventsVector with AnimiationEvents class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 11 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/fake_layer_tree_host_impl_client.cc ('k') | cc/test/proxy_main_for_test.cc » ('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_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 14 matching lines...) Expand all
25 ProxyMainForTest(TestHooks* test_hooks, 25 ProxyMainForTest(TestHooks* test_hooks,
26 LayerTreeHost* host, 26 LayerTreeHost* host,
27 TaskRunnerProvider* task_runner_provider); 27 TaskRunnerProvider* task_runner_provider);
28 28
29 void SetNeedsUpdateLayers() override; 29 void SetNeedsUpdateLayers() override;
30 void DidCompleteSwapBuffers() override; 30 void DidCompleteSwapBuffers() override;
31 void SetRendererCapabilities( 31 void SetRendererCapabilities(
32 const RendererCapabilities& capabilities) override; 32 const RendererCapabilities& capabilities) override;
33 void BeginMainFrameNotExpectedSoon() override; 33 void BeginMainFrameNotExpectedSoon() override;
34 void DidCommitAndDrawFrame() override; 34 void DidCommitAndDrawFrame() override;
35 void SetAnimationEvents(scoped_ptr<AnimationEventsVector> events) override; 35 void SetAnimationEvents(scoped_ptr<AnimationEvents> events) override;
36 void DidLoseOutputSurface() override; 36 void DidLoseOutputSurface() override;
37 void RequestNewOutputSurface() override; 37 void RequestNewOutputSurface() override;
38 void DidInitializeOutputSurface( 38 void DidInitializeOutputSurface(
39 bool success, 39 bool success,
40 const RendererCapabilities& capabilities) override; 40 const RendererCapabilities& capabilities) override;
41 void DidCompletePageScaleAnimation() override; 41 void DidCompletePageScaleAnimation() override;
42 void PostFrameTimingEventsOnMain( 42 void PostFrameTimingEventsOnMain(
43 scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events, 43 scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events,
44 scoped_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events) 44 scoped_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events)
45 override; 45 override;
46 void BeginMainFrame( 46 void BeginMainFrame(
47 scoped_ptr<BeginMainFrameAndCommitState> begin_main_frame_state) override; 47 scoped_ptr<BeginMainFrameAndCommitState> begin_main_frame_state) override;
48 48
49 TestHooks* test_hooks_; 49 TestHooks* test_hooks_;
50 }; 50 };
51 51
52 } // namespace cc 52 } // namespace cc
53 53
54 #endif // CC_TEST_PROXY_MAIN_FOR_TEST_H_ 54 #endif // CC_TEST_PROXY_MAIN_FOR_TEST_H_
OLDNEW
« no previous file with comments | « cc/test/fake_layer_tree_host_impl_client.cc ('k') | cc/test/proxy_main_for_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698