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

Unified Diff: ui/display/manager/display_layout.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/display.gyp ('k') | ui/display/manager/display_layout.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/manager/display_layout.h
diff --git a/ash/display/display_layout.h b/ui/display/manager/display_layout.h
similarity index 88%
rename from ash/display/display_layout.h
rename to ui/display/manager/display_layout.h
index fd056130d76b067084ef440b4dca37a5ac1fdd88..7f5c99c82824fd81c1ebac879ca56a87a515d957 100644
--- a/ash/display/display_layout.h
+++ b/ui/display/manager/display_layout.h
@@ -1,19 +1,19 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Copyright 2016 The Chromium Authors. All rights reserved.
// 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_H_
-#define ASH_DISPLAY_DISPLAY_LAYOUT_H_
+#ifndef UI_DISPLAY_MANAGER_DISPLAY_LAYOUT_H_
+#define UI_DISPLAY_MANAGER_DISPLAY_LAYOUT_H_
#include <stdint.h>
#include <string>
#include <vector>
-#include "ash/ash_export.h"
#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "base/strings/string_piece.h"
+#include "ui/display/display_export.h"
namespace base {
class Value;
@@ -24,7 +24,7 @@ namespace gfx {
class Display;
}
-namespace ash {
+namespace display {
// An identifier used to manage display layout in DisplayManager /
// DisplayLayoutStore.
@@ -45,7 +45,7 @@ using DisplayList = std::vector<gfx::Display>;
// | |
// +--------+
//
-struct ASH_EXPORT DisplayPlacement {
+struct DISPLAY_EXPORT DisplayPlacement {
// The id of the display this placement will be applied to.
int64_t display_id;
@@ -73,7 +73,7 @@ struct ASH_EXPORT DisplayPlacement {
Position* position);
};
-class ASH_EXPORT DisplayLayout final {
+class DISPLAY_EXPORT DisplayLayout final {
public:
DisplayLayout();
~DisplayLayout();
@@ -109,6 +109,6 @@ class ASH_EXPORT DisplayLayout final {
DISALLOW_COPY_AND_ASSIGN(DisplayLayout);
};
-} // namespace ash
+} // namespace display
-#endif
+#endif // UI_DISPLAY_MANAGER_DISPLAY_LAYOUT_H_
« no previous file with comments | « ui/display/display.gyp ('k') | ui/display/manager/display_layout.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698