OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 CONTENT_BROWSER_WEB_CONTENTS_AURA_SHADOW_LAYER_DELEGATE_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_AURA_SHADOW_LAYER_DELEGATE_H_ |
6 #define CONTENT_BROWSER_WEB_CONTENTS_AURA_SHADOW_LAYER_DELEGATE_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_AURA_SHADOW_LAYER_DELEGATE_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" |
9 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
10 #include "ui/compositor/layer_delegate.h" | 11 #include "ui/compositor/layer_delegate.h" |
11 | 12 |
12 namespace aura { | 13 namespace aura { |
13 class Window; | 14 class Window; |
14 } | 15 } |
15 | 16 |
16 namespace ui { | 17 namespace ui { |
17 class Layer; | 18 class Layer; |
18 } | 19 } |
(...skipping 19 matching lines...) Expand all Loading... |
38 base::Closure PrepareForLayerBoundsChange() override; | 39 base::Closure PrepareForLayerBoundsChange() override; |
39 | 40 |
40 scoped_ptr<ui::Layer> layer_; | 41 scoped_ptr<ui::Layer> layer_; |
41 | 42 |
42 DISALLOW_COPY_AND_ASSIGN(ShadowLayerDelegate); | 43 DISALLOW_COPY_AND_ASSIGN(ShadowLayerDelegate); |
43 }; | 44 }; |
44 | 45 |
45 } // namespace content | 46 } // namespace content |
46 | 47 |
47 #endif // CONTENT_BROWSER_WEB_CONTENTS_AURA_SHADOW_LAYER_DELEGATE_H_ | 48 #endif // CONTENT_BROWSER_WEB_CONTENTS_AURA_SHADOW_LAYER_DELEGATE_H_ |
OLD | NEW |