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

Side by Side Diff: ash/display/display_layout_store.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/display/display_info_unittest.cc ('k') | ash/display/display_layout_store.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_DISPLAY_DISPLAY_LAYOUT_STORE_H_ 5 #ifndef ASH_DISPLAY_DISPLAY_LAYOUT_STORE_H_
6 #define ASH_DISPLAY_DISPLAY_LAYOUT_STORE_H_ 6 #define ASH_DISPLAY_DISPLAY_LAYOUT_STORE_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
11 #include "ash/display/display_layout.h" 11 #include "ash/display/display_layout.h"
12 12
13 namespace ash { 13 namespace ash {
14 namespace internal {
15 14
16 class ASH_EXPORT DisplayLayoutStore { 15 class ASH_EXPORT DisplayLayoutStore {
17 public: 16 public:
18 DisplayLayoutStore(); 17 DisplayLayoutStore();
19 ~DisplayLayoutStore(); 18 ~DisplayLayoutStore();
20 19
21 const DisplayLayout& default_display_layout() const { 20 const DisplayLayout& default_display_layout() const {
22 return default_display_layout_; 21 return default_display_layout_;
23 } 22 }
24 void SetDefaultDisplayLayout(const DisplayLayout& layout); 23 void SetDefaultDisplayLayout(const DisplayLayout& layout);
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 55
57 // The default display layout. 56 // The default display layout.
58 DisplayLayout default_display_layout_; 57 DisplayLayout default_display_layout_;
59 58
60 // Display layout per pair of devices. 59 // Display layout per pair of devices.
61 std::map<DisplayIdPair, DisplayLayout> paired_layouts_; 60 std::map<DisplayIdPair, DisplayLayout> paired_layouts_;
62 61
63 DISALLOW_COPY_AND_ASSIGN(DisplayLayoutStore); 62 DISALLOW_COPY_AND_ASSIGN(DisplayLayoutStore);
64 }; 63 };
65 64
66 } // namespace internal
67 } // namespace ash 65 } // namespace ash
68 66
69 #endif // ASH_DISPLAY_DISPLAY_LAYOUT_STORE_H_ 67 #endif // ASH_DISPLAY_DISPLAY_LAYOUT_STORE_H_
OLDNEW
« no previous file with comments | « ash/display/display_info_unittest.cc ('k') | ash/display/display_layout_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698