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

Side by Side Diff: ash/wm/status_area_layout_manager.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/wm/stacking_controller_unittest.cc ('k') | ash/wm/status_area_layout_manager.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 (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 ASH_WM_STATUS_AREA_LAYOUT_MANAGER_H_ 5 #ifndef ASH_WM_STATUS_AREA_LAYOUT_MANAGER_H_
6 #define ASH_WM_STATUS_AREA_LAYOUT_MANAGER_H_ 6 #define ASH_WM_STATUS_AREA_LAYOUT_MANAGER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "ui/aura/layout_manager.h" 10 #include "ui/aura/layout_manager.h"
11 11
12 namespace ash { 12 namespace ash {
13 class ShelfWidget; 13 class ShelfWidget;
14 namespace internal {
15 14
16 // StatusAreaLayoutManager is a layout manager responsible for the status area. 15 // StatusAreaLayoutManager is a layout manager responsible for the status area.
17 // In any case when status area needs relayout it redirects this call to 16 // In any case when status area needs relayout it redirects this call to
18 // ShelfLayoutManager. 17 // ShelfLayoutManager.
19 class StatusAreaLayoutManager : public aura::LayoutManager { 18 class StatusAreaLayoutManager : public aura::LayoutManager {
20 public: 19 public:
21 explicit StatusAreaLayoutManager(ShelfWidget* shelf); 20 explicit StatusAreaLayoutManager(ShelfWidget* shelf);
22 virtual ~StatusAreaLayoutManager(); 21 virtual ~StatusAreaLayoutManager();
23 22
24 // Overridden from aura::LayoutManager: 23 // Overridden from aura::LayoutManager:
(...skipping 13 matching lines...) Expand all
38 37
39 // True when inside LayoutStatusArea method. 38 // True when inside LayoutStatusArea method.
40 // Used to prevent calling itself again from SetChildBounds(). 39 // Used to prevent calling itself again from SetChildBounds().
41 bool in_layout_; 40 bool in_layout_;
42 41
43 ShelfWidget* shelf_; 42 ShelfWidget* shelf_;
44 43
45 DISALLOW_COPY_AND_ASSIGN(StatusAreaLayoutManager); 44 DISALLOW_COPY_AND_ASSIGN(StatusAreaLayoutManager);
46 }; 45 };
47 46
48 } // namespace internal
49 } // namespace ash 47 } // namespace ash
50 48
51 #endif // ASH_WM_STATUS_AREA_LAYOUT_MANAGER_H_ 49 #endif // ASH_WM_STATUS_AREA_LAYOUT_MANAGER_H_
OLDNEW
« no previous file with comments | « ash/wm/stacking_controller_unittest.cc ('k') | ash/wm/status_area_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698