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

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

Issue 2374183006: Remove GLFrameData from CompositorFrame. (Closed)
Patch Set: Rebase. Created 4 years, 2 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/pixel_test_output_surface.cc ('k') | cc/trees/layer_tree_host_unittest.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"
11 #include "cc/trees/layer_tree_host_impl.h" 11 #include "cc/trees/layer_tree_host_impl.h"
12 12
13 namespace cc { 13 namespace cc {
14 14
15 class CompositorFrame;
16
15 namespace proto { 17 namespace proto {
16 class CompositorMessageToImpl; 18 class CompositorMessageToImpl;
17 } 19 }
18 20
19 // Used by test stubs to notify the test when something interesting happens. 21 // Used by test stubs to notify the test when something interesting happens.
20 class TestHooks : public AnimationDelegate { 22 class TestHooks : public AnimationDelegate {
21 public: 23 public:
22 TestHooks(); 24 TestHooks();
23 ~TestHooks() override; 25 ~TestHooks() override;
24 26
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 double animation_start_time, 112 double animation_start_time,
111 std::unique_ptr<AnimationCurve> curve) override { 113 std::unique_ptr<AnimationCurve> curve) override {
112 } 114 }
113 115
114 virtual void RequestNewCompositorFrameSink() = 0; 116 virtual void RequestNewCompositorFrameSink() = 0;
115 }; 117 };
116 118
117 } // namespace cc 119 } // namespace cc
118 120
119 #endif // CC_TEST_TEST_HOOKS_H_ 121 #endif // CC_TEST_TEST_HOOKS_H_
OLDNEW
« no previous file with comments | « cc/test/pixel_test_output_surface.cc ('k') | cc/trees/layer_tree_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698