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

Side by Side Diff: ash/root_window_settings.h

Issue 224113005: Eliminate ash::internal namespace (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 | « ash/root_window_controller_unittest.cc ('k') | ash/root_window_settings.cc » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 ASH_ROOT_WINDOW_SETTINGS_H_ 5 #ifndef ASH_ROOT_WINDOW_SETTINGS_H_
6 #define ASH_ROOT_WINDOW_SETTINGS_H_ 6 #define ASH_ROOT_WINDOW_SETTINGS_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 10
11 namespace aura { 11 namespace aura {
12 class Window; 12 class Window;
13 } 13 }
14 14
15 namespace ash { 15 namespace ash {
16 namespace internal {
17 16
18 class RootWindowController; 17 class RootWindowController;
19 18
20 // Per root window information should be stored here 19 // Per root window information should be stored here
21 // instead of using plain aura root window property because 20 // instead of using plain aura root window property because
22 // it can prevent mis-using on non root window. 21 // it can prevent mis-using on non root window.
23 struct RootWindowSettings { 22 struct RootWindowSettings {
24 RootWindowSettings(); 23 RootWindowSettings();
25 24
26 // ID of the display associated with the root window. 25 // ID of the display associated with the root window.
(...skipping 11 matching lines...) Expand all
38 // It is owned by the |root|. 37 // It is owned by the |root|.
39 RootWindowSettings* InitRootWindowSettings(aura::Window* root); 38 RootWindowSettings* InitRootWindowSettings(aura::Window* root);
40 39
41 // Returns the RootWindowSettings for |root|. 40 // Returns the RootWindowSettings for |root|.
42 ASH_EXPORT RootWindowSettings* GetRootWindowSettings(aura::Window* root); 41 ASH_EXPORT RootWindowSettings* GetRootWindowSettings(aura::Window* root);
43 42
44 // const version of GetRootWindowSettings. 43 // const version of GetRootWindowSettings.
45 ASH_EXPORT const RootWindowSettings* 44 ASH_EXPORT const RootWindowSettings*
46 GetRootWindowSettings(const aura::Window* root); 45 GetRootWindowSettings(const aura::Window* root);
47 46
48 } // namespace internal
49 } // namespace ash 47 } // namespace ash
50 48
51 #endif // ASH_ROOT_WINDOW_SETTINGS_H_ 49 #endif // ASH_ROOT_WINDOW_SETTINGS_H_
OLDNEW
« no previous file with comments | « ash/root_window_controller_unittest.cc ('k') | ash/root_window_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698