OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_TAB_LAYER_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_TAB_LAYER_H_ |
6 #define CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_TAB_LAYER_H_ | 6 #define CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_TAB_LAYER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "chrome/browser/android/compositor/layer/layer.h" | 11 #include "chrome/browser/android/compositor/layer/layer.h" |
12 | 12 |
13 namespace cc { | 13 namespace cc { |
14 class ImageLayer; | |
15 class Layer; | 14 class Layer; |
16 class NinePatchLayer; | 15 class NinePatchLayer; |
17 class SolidColorLayer; | 16 class SolidColorLayer; |
18 class UIResourceLayer; | 17 class UIResourceLayer; |
19 } | 18 } |
20 | 19 |
21 namespace gfx { | 20 namespace gfx { |
22 class Size; | 21 class Size; |
23 } | 22 } |
24 | 23 |
25 namespace ui { | 24 namespace ui { |
26 class ResourceManager; | 25 class ResourceManager; |
27 } | 26 } |
28 | 27 |
29 class SkBitmap; | |
30 | |
31 namespace android { | 28 namespace android { |
32 | 29 |
33 class ContentLayer; | 30 class ContentLayer; |
34 class DecorationTitle; | 31 class DecorationTitle; |
35 class LayerTitleCache; | 32 class LayerTitleCache; |
36 class TabContentManager; | 33 class TabContentManager; |
37 class ToolbarLayer; | 34 class ToolbarLayer; |
38 | 35 |
39 // Sub layer tree representation of a tab. A TabLayer is not tied to | 36 // Sub layer tree representation of a tab. A TabLayer is not tied to |
40 // specific tab. To specialize it call CustomizeForId() and SetProperties(). | 37 // specific tab. To specialize it call CustomizeForId() and SetProperties(). |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 scoped_refptr<cc::NinePatchLayer> shadow_; | 142 scoped_refptr<cc::NinePatchLayer> shadow_; |
146 scoped_refptr<cc::UIResourceLayer> back_logo_; | 143 scoped_refptr<cc::UIResourceLayer> back_logo_; |
147 float brightness_; | 144 float brightness_; |
148 | 145 |
149 DISALLOW_COPY_AND_ASSIGN(TabLayer); | 146 DISALLOW_COPY_AND_ASSIGN(TabLayer); |
150 }; | 147 }; |
151 | 148 |
152 } // namespace android | 149 } // namespace android |
153 | 150 |
154 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_TAB_LAYER_H_ | 151 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_TAB_LAYER_H_ |
OLD | NEW |