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

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

Issue 9033007: Rename the aura_shell namespace to ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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_CONTROLLER_H_ 5 #ifndef ASH_WM_SHADOW_CONTROLLER_H_
6 #define ASH_WM_SHADOW_CONTROLLER_H_ 6 #define ASH_WM_SHADOW_CONTROLLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/memory/linked_ptr.h" 13 #include "base/memory/linked_ptr.h"
14 #include "ui/aura/root_window_observer.h" 14 #include "ui/aura/root_window_observer.h"
15 #include "ui/aura/window_observer.h" 15 #include "ui/aura/window_observer.h"
16 #include "ash/ash_export.h" 16 #include "ash/ash_export.h"
17 17
18 namespace aura { 18 namespace aura {
19 class Window; 19 class Window;
20 } 20 }
21 namespace gfx { 21 namespace gfx {
22 class Rect; 22 class Rect;
23 } 23 }
24 24
25 namespace aura_shell { 25 namespace ash {
26 namespace internal { 26 namespace internal {
27 27
28 class Shadow; 28 class Shadow;
29 29
30 // ShadowController observes changes to windows and creates and updates drop 30 // ShadowController observes changes to windows and creates and updates drop
31 // shadows as needed. 31 // shadows as needed.
32 class ASH_EXPORT ShadowController : public aura::RootWindowObserver, 32 class ASH_EXPORT ShadowController : public aura::RootWindowObserver,
33 public aura::WindowObserver { 33 public aura::WindowObserver {
34 public: 34 public:
35 class TestApi { 35 class TestApi {
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 76
77 // Creates a new shadow for |window| and stores it in |window_shadows_|. The 77 // Creates a new shadow for |window| and stores it in |window_shadows_|. The
78 // shadow's bounds are initialized and it is added to the window's layer. 78 // shadow's bounds are initialized and it is added to the window's layer.
79 void CreateShadowForWindow(aura::Window* window); 79 void CreateShadowForWindow(aura::Window* window);
80 80
81 WindowShadowMap window_shadows_; 81 WindowShadowMap window_shadows_;
82 82
83 DISALLOW_COPY_AND_ASSIGN(ShadowController); 83 DISALLOW_COPY_AND_ASSIGN(ShadowController);
84 }; 84 };
85 85
86 } // namepsace aura_shell
87 } // namepsace internal 86 } // namepsace internal
87 } // namepsace ash
88 88
89 #endif // ASH_WM_SHADOW_CONTROLLER_H_ 89 #endif // ASH_WM_SHADOW_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698