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

Side by Side Diff: content/browser/web_contents/aura/shadow_layer_delegate.h

Issue 2473003002: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Another missing forward declaration 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
OLDNEW
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 <memory> 8 #include <memory>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "ui/compositor/layer_delegate.h" 12 #include "ui/compositor/layer_delegate.h"
13 13
14 namespace aura {
15 class Window;
16 }
17
18 namespace ui { 14 namespace ui {
19 class Layer; 15 class Layer;
20 } 16 }
21 17
22 namespace content { 18 namespace content {
23 19
24 // ShadowLayerDelegate takes care of drawing a shadow on the left edge of 20 // ShadowLayerDelegate takes care of drawing a shadow on the left edge of
25 // another layer. 21 // another layer.
26 class ShadowLayerDelegate : public ui::LayerDelegate { 22 class ShadowLayerDelegate : public ui::LayerDelegate {
27 public: 23 public:
(...skipping 11 matching lines...) Expand all
39 void OnDeviceScaleFactorChanged(float device_scale_factor) override; 35 void OnDeviceScaleFactorChanged(float device_scale_factor) override;
40 36
41 std::unique_ptr<ui::Layer> layer_; 37 std::unique_ptr<ui::Layer> layer_;
42 38
43 DISALLOW_COPY_AND_ASSIGN(ShadowLayerDelegate); 39 DISALLOW_COPY_AND_ASSIGN(ShadowLayerDelegate);
44 }; 40 };
45 41
46 } // namespace content 42 } // namespace content
47 43
48 #endif // CONTENT_BROWSER_WEB_CONTENTS_AURA_SHADOW_LAYER_DELEGATE_H_ 44 #endif // CONTENT_BROWSER_WEB_CONTENTS_AURA_SHADOW_LAYER_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/aura/overscroll_window_animation.h ('k') | content/browser/web_contents/web_contents_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698