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: cc/test/test_hooks.h

Issue 2320823003: cc/blimp: Remove Initialize and Close messages. (Closed)
Patch Set: format Created 4 years, 3 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/remote_proto_channel_bridge.cc ('k') | cc/trees/remote_channel_impl.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_TEST_HOOKS_H_ 5 #ifndef CC_TEST_TEST_HOOKS_H_
6 #define CC_TEST_TEST_HOOKS_H_ 6 #define CC_TEST_TEST_HOOKS_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "cc/animation/animation_delegate.h" 9 #include "cc/animation/animation_delegate.h"
10 #include "cc/trees/layer_tree_host.h" 10 #include "cc/trees/layer_tree_host.h"
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 void NotifyAnimationAborted(base::TimeTicks monotonic_time, 105 void NotifyAnimationAborted(base::TimeTicks monotonic_time,
106 TargetProperty::Type target_property, 106 TargetProperty::Type target_property,
107 int group) override {} 107 int group) override {}
108 void NotifyAnimationTakeover(base::TimeTicks monotonic_time, 108 void NotifyAnimationTakeover(base::TimeTicks monotonic_time,
109 TargetProperty::Type target_property, 109 TargetProperty::Type target_property,
110 double animation_start_time, 110 double animation_start_time,
111 std::unique_ptr<AnimationCurve> curve) override { 111 std::unique_ptr<AnimationCurve> curve) override {
112 } 112 }
113 113
114 virtual void RequestNewOutputSurface() = 0; 114 virtual void RequestNewOutputSurface() = 0;
115
116 // Used to notify the test to create the Remote client LayerTreeHost on
117 // receiving a CompositorMessageToImpl of type INITIALIZE_IMPL.
118 virtual void CreateRemoteClientHost(
119 const proto::CompositorMessageToImpl& proto) {}
120
121 // Used to notify the test to destroy the Remote client LayerTreeHost on
122 // receiving a CompositorMessageToImpl of type CLOSE_IMPL.
123 virtual void DestroyRemoteClientHost() {}
124 }; 115 };
125 116
126 } // namespace cc 117 } // namespace cc
127 118
128 #endif // CC_TEST_TEST_HOOKS_H_ 119 #endif // CC_TEST_TEST_HOOKS_H_
OLDNEW
« no previous file with comments | « cc/test/remote_proto_channel_bridge.cc ('k') | cc/trees/remote_channel_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698