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

Side by Side Diff: cc/layers/ui_resource_layer.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/layers/texture_layer_client.h ('k') | cc/output/compositor_frame_sink.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_LAYERS_UI_RESOURCE_LAYER_H_ 5 #ifndef CC_LAYERS_UI_RESOURCE_LAYER_H_
6 #define CC_LAYERS_UI_RESOURCE_LAYER_H_ 6 #define CC_LAYERS_UI_RESOURCE_LAYER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "cc/base/cc_export.h" 11 #include "cc/base/cc_export.h"
12 #include "cc/layers/layer.h" 12 #include "cc/layers/layer.h"
13 #include "cc/resources/ui_resource_client.h" 13 #include "cc/resources/ui_resource_client.h"
14 #include "ui/gfx/geometry/rect.h" 14 #include "ui/gfx/geometry/rect.h"
15 15
16 namespace cc { 16 namespace cc {
17 17
18 class LayerTreeHost; 18 class LayerTreeHost;
19 class ScopedUIResource;
20 19
21 class CC_EXPORT UIResourceLayer : public Layer { 20 class CC_EXPORT UIResourceLayer : public Layer {
22 public: 21 public:
23 static scoped_refptr<UIResourceLayer> Create(); 22 static scoped_refptr<UIResourceLayer> Create();
24 23
25 void PushPropertiesTo(LayerImpl* layer) override; 24 void PushPropertiesTo(LayerImpl* layer) override;
26 25
27 void SetLayerTreeHost(LayerTreeHost* host) override; 26 void SetLayerTreeHost(LayerTreeHost* host) override;
28 27
29 void SetBitmap(const SkBitmap& skbitmap); 28 void SetBitmap(const SkBitmap& skbitmap);
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 private: 64 private:
66 std::unique_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) override; 65 std::unique_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) override;
67 void RecreateUIResourceHolder(); 66 void RecreateUIResourceHolder();
68 67
69 DISALLOW_COPY_AND_ASSIGN(UIResourceLayer); 68 DISALLOW_COPY_AND_ASSIGN(UIResourceLayer);
70 }; 69 };
71 70
72 } // namespace cc 71 } // namespace cc
73 72
74 #endif // CC_LAYERS_UI_RESOURCE_LAYER_H_ 73 #endif // CC_LAYERS_UI_RESOURCE_LAYER_H_
OLDNEW
« no previous file with comments | « cc/layers/texture_layer_client.h ('k') | cc/output/compositor_frame_sink.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698