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

Side by Side Diff: ash/wm/shadow.h

Issue 9033007: Rename the aura_shell namespace to ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 12 months 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 ASH_WM_SHADOW_H_ 5 #ifndef ASH_WM_SHADOW_H_
6 #define ASH_WM_SHADOW_H_ 6 #define ASH_WM_SHADOW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "ash/ash_export.h" 11 #include "ash/ash_export.h"
12 #include "ui/gfx/rect.h" 12 #include "ui/gfx/rect.h"
13 13
14 namespace ui { 14 namespace ui {
15 class Layer; 15 class Layer;
16 } // namespace ui 16 } // namespace ui
17 17
18 namespace aura_shell { 18 namespace ash {
19 namespace internal { 19 namespace internal {
20 20
21 class ImageGrid; 21 class ImageGrid;
22 22
23 // Simple class that draws a drop shadow around content at given bounds. 23 // Simple class that draws a drop shadow around content at given bounds.
24 class ASH_EXPORT Shadow { 24 class ASH_EXPORT Shadow {
25 public: 25 public:
26 Shadow(); 26 Shadow();
27 ~Shadow(); 27 ~Shadow();
28 28
(...skipping 13 matching lines...) Expand all
42 private: 42 private:
43 scoped_ptr<ImageGrid> image_grid_; 43 scoped_ptr<ImageGrid> image_grid_;
44 44
45 // Bounds of the content that the shadow encloses. 45 // Bounds of the content that the shadow encloses.
46 gfx::Rect content_bounds_; 46 gfx::Rect content_bounds_;
47 47
48 DISALLOW_COPY_AND_ASSIGN(Shadow); 48 DISALLOW_COPY_AND_ASSIGN(Shadow);
49 }; 49 };
50 50
51 } // namespace internal 51 } // namespace internal
52 } // namespace aura_shell 52 } // namespace ash
53 53
54 #endif // ASH_WM_SHADOW_H_ 54 #endif // ASH_WM_SHADOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698