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

Side by Side Diff: cc/trees/layer_tree_host_client.h

Issue 2503283002: cc: Cleanup class/struct forward declarations (Closed)
Patch Set: Add missing fwd class decl in blimp_embedder_compositor.h Created 4 years, 1 month 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/trees/layer_tree.h ('k') | cc/trees/layer_tree_host_impl.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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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_TREES_LAYER_TREE_HOST_CLIENT_H_ 5 #ifndef CC_TREES_LAYER_TREE_HOST_CLIENT_H_
6 #define CC_TREES_LAYER_TREE_HOST_CLIENT_H_ 6 #define CC_TREES_LAYER_TREE_HOST_CLIENT_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 11
12 namespace gfx { 12 namespace gfx {
13 class Vector2d;
14 class Vector2dF; 13 class Vector2dF;
15 } 14 }
16 15
17 namespace cc { 16 namespace cc {
18 class ContextProvider;
19 class InputHandlerClient;
20 class CompositorFrameSink; 17 class CompositorFrameSink;
21 struct BeginFrameArgs; 18 struct BeginFrameArgs;
22 19
23 class LayerTreeHostClient { 20 class LayerTreeHostClient {
24 public: 21 public:
25 virtual void WillBeginMainFrame() = 0; 22 virtual void WillBeginMainFrame() = 0;
26 // Marks finishing compositing-related tasks on the main thread. In threaded 23 // Marks finishing compositing-related tasks on the main thread. In threaded
27 // mode, this corresponds to DidCommit(). 24 // mode, this corresponds to DidCommit().
28 virtual void BeginMainFrame(const BeginFrameArgs& args) = 0; 25 virtual void BeginMainFrame(const BeginFrameArgs& args) = 0;
29 virtual void BeginMainFrameNotExpectedSoon() = 0; 26 virtual void BeginMainFrameNotExpectedSoon() = 0;
(...skipping 29 matching lines...) Expand all
59 virtual void DidReceiveCompositorFrameAck() = 0; 56 virtual void DidReceiveCompositorFrameAck() = 0;
60 virtual void DidCompletePageScaleAnimation() = 0; 57 virtual void DidCompletePageScaleAnimation() = 0;
61 58
62 protected: 59 protected:
63 virtual ~LayerTreeHostClient() {} 60 virtual ~LayerTreeHostClient() {}
64 }; 61 };
65 62
66 } // namespace cc 63 } // namespace cc
67 64
68 #endif // CC_TREES_LAYER_TREE_HOST_CLIENT_H_ 65 #endif // CC_TREES_LAYER_TREE_HOST_CLIENT_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree.h ('k') | cc/trees/layer_tree_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698