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

Side by Side Diff: ui/wm/core/shadow_controller.h

Issue 237873003: Rename wm_core_export.h to wm_export.h and the wm_core target to just wm (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 8 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
« no previous file with comments | « ui/wm/core/shadow.h ('k') | ui/wm/core/shadow_types.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 UI_WM_CORE_SHADOW_CONTROLLER_H_ 5 #ifndef UI_WM_CORE_SHADOW_CONTROLLER_H_
6 #define UI_WM_CORE_SHADOW_CONTROLLER_H_ 6 #define UI_WM_CORE_SHADOW_CONTROLLER_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "ui/wm/core/wm_core_export.h"
14 #include "ui/wm/public/activation_change_observer.h" 13 #include "ui/wm/public/activation_change_observer.h"
14 #include "ui/wm/wm_export.h"
15 15
16 namespace aura { 16 namespace aura {
17 class Window; 17 class Window;
18 namespace client { 18 namespace client {
19 class ActivationClient; 19 class ActivationClient;
20 } 20 }
21 } 21 }
22 namespace gfx { 22 namespace gfx {
23 class Rect; 23 class Rect;
24 } 24 }
25 25
26 namespace wm { 26 namespace wm {
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. ShadowController itself is light weight and per 31 // shadows as needed. ShadowController itself is light weight and per
32 // ActivationClient. ShadowController delegates to its implementation class, 32 // ActivationClient. ShadowController delegates to its implementation class,
33 // which observes all window creation. 33 // which observes all window creation.
34 class WM_CORE_EXPORT ShadowController : 34 class WM_EXPORT ShadowController :
35 public aura::client::ActivationChangeObserver { 35 public aura::client::ActivationChangeObserver {
36 public: 36 public:
37 class WM_CORE_EXPORT TestApi { 37 class WM_EXPORT TestApi {
38 public: 38 public:
39 explicit TestApi(ShadowController* controller) : controller_(controller) {} 39 explicit TestApi(ShadowController* controller) : controller_(controller) {}
40 ~TestApi() {} 40 ~TestApi() {}
41 41
42 Shadow* GetShadowForWindow(aura::Window* window); 42 Shadow* GetShadowForWindow(aura::Window* window);
43 43
44 private: 44 private:
45 ShadowController* controller_; // not owned 45 ShadowController* controller_; // not owned
46 46
47 DISALLOW_COPY_AND_ASSIGN(TestApi); 47 DISALLOW_COPY_AND_ASSIGN(TestApi);
(...skipping 12 matching lines...) Expand all
60 aura::client::ActivationClient* activation_client_; 60 aura::client::ActivationClient* activation_client_;
61 61
62 scoped_refptr<Impl> impl_; 62 scoped_refptr<Impl> impl_;
63 63
64 DISALLOW_COPY_AND_ASSIGN(ShadowController); 64 DISALLOW_COPY_AND_ASSIGN(ShadowController);
65 }; 65 };
66 66
67 } // namespace wm 67 } // namespace wm
68 68
69 #endif // UI_WM_CORE_SHADOW_CONTROLLER_H_ 69 #endif // UI_WM_CORE_SHADOW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ui/wm/core/shadow.h ('k') | ui/wm/core/shadow_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698