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

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

Issue 1838833002: Move DisplayLayout and DisplayLayoutBuilder From ash To ui/display (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@screenwinmove
Patch Set: Fix comment Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/display/manager/display_layout.cc ('k') | ui/display/manager/display_layout_builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/manager/display_layout_builder.h
diff --git a/ash/display/display_layout_builder.h b/ui/display/manager/display_layout_builder.h
similarity index 78%
rename from ash/display/display_layout_builder.h
rename to ui/display/manager/display_layout_builder.h
index 5391a02cc2bdcd3fb861f15ab4482757f2739841..9b3caefac62d97dd564d793d20437e95ca3b484d 100644
--- a/ash/display/display_layout_builder.h
+++ b/ui/display/manager/display_layout_builder.h
@@ -2,24 +2,25 @@
// 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_BUILDER_H_
-#define ASH_DISPLAY_DISPLAY_LAYOUT_BUILDER_H_
+#ifndef UI_DISPLAY_MANAGER_DISPLAY_LAYOUT_BUILDER_H_
+#define UI_DISPLAY_MANAGER_DISPLAY_LAYOUT_BUILDER_H_
-#include "ash/display/display_layout.h"
#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
+#include "ui/display/display_export.h"
+#include "ui/display/manager/display_layout.h"
-namespace ash {
+namespace display {
class DisplayLayout;
// A utility class to create a DisplayLayout instance.
-class ASH_EXPORT DisplayLayoutBuilder final {
+class DISPLAY_EXPORT DisplayLayoutBuilder final {
public:
// Creates a builder that uses a copy of the |layout| as a source.
explicit DisplayLayoutBuilder(const DisplayLayout& layout);
- // Ccreates a builder with the primary display id.
+ // Creates a builder with the primary display id.
explicit DisplayLayoutBuilder(int64_t primary_id);
~DisplayLayoutBuilder();
@@ -51,6 +52,6 @@ class ASH_EXPORT DisplayLayoutBuilder final {
DISALLOW_COPY_AND_ASSIGN(DisplayLayoutBuilder);
};
-} // namespace ash
+} // namespace display
-#endif // ASH_DISPLAY_DISPLAY_LAYOUT_BUILDER_H_
+#endif // UI_DISPLAY_MANAGER_DISPLAY_LAYOUT_BUILDER_H_
« no previous file with comments | « ui/display/manager/display_layout.cc ('k') | ui/display/manager/display_layout_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698