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

Unified Diff: ui/display/manager/display_layout_store.h

Issue 2223063003: Move DisplayLayoutStore from ash to ui. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase/add TODO. Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/display/display_switches.cc ('k') | ui/display/manager/display_layout_store.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/manager/display_layout_store.h
diff --git a/ash/display/display_layout_store.h b/ui/display/manager/display_layout_store.h
similarity index 80%
rename from ash/display/display_layout_store.h
rename to ui/display/manager/display_layout_store.h
index 699b8dfb6df3d1eb4ef0dfc1e90ead86a628b845..fec8cf1243037a329bf8d04dd277b5022570712b 100644
--- a/ash/display/display_layout_store.h
+++ b/ui/display/manager/display_layout_store.h
@@ -2,28 +2,29 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef ASH_DISPLAY_DISPLAY_LAYOUT_STORE_H_
-#define ASH_DISPLAY_DISPLAY_LAYOUT_STORE_H_
+#ifndef UI_DISPLAY_MANAGER_DISPLAY_LAYOUT_STORE_H_
+#define UI_DISPLAY_MANAGER_DISPLAY_LAYOUT_STORE_H_
#include <stdint.h>
#include <map>
#include <memory>
-#include "ash/ash_export.h"
#include "base/macros.h"
+#include "ui/display/display.h"
+#include "ui/display/display_export.h"
#include "ui/display/manager/display_layout.h"
-namespace ash {
+namespace display {
-class ASH_EXPORT DisplayLayoutStore {
+class DISPLAY_EXPORT DisplayLayoutStore {
public:
DisplayLayoutStore();
~DisplayLayoutStore();
void SetDefaultDisplayPlacement(const display::DisplayPlacement& placement);
- // Registeres the display layout info for the specified display(s).
+ // Registers the display layout info for the specified display(s).
void RegisterLayoutForDisplayIdList(
const display::DisplayIdList& list,
std::unique_ptr<display::DisplayLayout> layout);
@@ -55,6 +56,6 @@ class ASH_EXPORT DisplayLayoutStore {
DISALLOW_COPY_AND_ASSIGN(DisplayLayoutStore);
};
-} // namespace ash
+} // namespace display
-#endif // ASH_DISPLAY_DISPLAY_LAYOUT_STORE_H_
+#endif // UI_DISPLAY_MANAGER_DISPLAY_LAYOUT_STORE_H_
« no previous file with comments | « ui/display/display_switches.cc ('k') | ui/display/manager/display_layout_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698