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

Side by Side Diff: ui/display/manager/display_layout_store.h

Issue 2540313002: Split //ui/display and create //ui/display/manager. (Closed)
Patch Set: Cleanup export header. Created 4 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
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 UI_DISPLAY_MANAGER_DISPLAY_LAYOUT_STORE_H_ 5 #ifndef UI_DISPLAY_MANAGER_DISPLAY_LAYOUT_STORE_H_
6 #define UI_DISPLAY_MANAGER_DISPLAY_LAYOUT_STORE_H_ 6 #define UI_DISPLAY_MANAGER_DISPLAY_LAYOUT_STORE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
11 #include <memory> 11 #include <memory>
12 12
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "ui/display/display.h" 14 #include "ui/display/display.h"
15 #include "ui/display/display_export.h" 15 #include "ui/display/display_layout.h"
16 #include "ui/display/manager/display_layout.h" 16 #include "ui/display/manager/display_manager_export.h"
17 17
18 namespace display { 18 namespace display {
19 19
20 class DISPLAY_EXPORT DisplayLayoutStore { 20 class DISPLAY_MANAGER_EXPORT DisplayLayoutStore {
21 public: 21 public:
22 DisplayLayoutStore(); 22 DisplayLayoutStore();
23 ~DisplayLayoutStore(); 23 ~DisplayLayoutStore();
24 24
25 void SetDefaultDisplayPlacement(const DisplayPlacement& placement); 25 void SetDefaultDisplayPlacement(const DisplayPlacement& placement);
26 26
27 // Registers the display layout info for the specified display(s). 27 // Registers the display layout info for the specified display(s).
28 void RegisterLayoutForDisplayIdList(const DisplayIdList& list, 28 void RegisterLayoutForDisplayIdList(const DisplayIdList& list,
29 std::unique_ptr<DisplayLayout> layout); 29 std::unique_ptr<DisplayLayout> layout);
30 30
(...skipping 17 matching lines...) Expand all
48 48
49 // Display layout per list of devices. 49 // Display layout per list of devices.
50 std::map<DisplayIdList, std::unique_ptr<DisplayLayout>> layouts_; 50 std::map<DisplayIdList, std::unique_ptr<DisplayLayout>> layouts_;
51 51
52 DISALLOW_COPY_AND_ASSIGN(DisplayLayoutStore); 52 DISALLOW_COPY_AND_ASSIGN(DisplayLayoutStore);
53 }; 53 };
54 54
55 } // namespace display 55 } // namespace display
56 56
57 #endif // UI_DISPLAY_MANAGER_DISPLAY_LAYOUT_STORE_H_ 57 #endif // UI_DISPLAY_MANAGER_DISPLAY_LAYOUT_STORE_H_
OLDNEW
« no previous file with comments | « ui/display/manager/display_layout_builder_unittest.cc ('k') | ui/display/manager/display_layout_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698