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

Unified Diff: ui/display/manager/display_layout.cc

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.h ('k') | ui/display/manager/display_layout_builder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/manager/display_layout.cc
diff --git a/ash/display/display_layout.cc b/ui/display/manager/display_layout.cc
similarity index 96%
rename from ash/display/display_layout.cc
rename to ui/display/manager/display_layout.cc
index 1cc7b7fba66f5592b4a8c48af14cc12c344128c0..8812888530ea98c9e8ab75edb696d56907f00814 100644
--- a/ash/display/display_layout.cc
+++ b/ui/display/manager/display_layout.cc
@@ -1,22 +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.
-#include "ash/display/display_layout.h"
+#include "ui/display/manager/display_layout.h"
#include <algorithm>
#include <sstream>
-#include "ash/ash_switches.h"
-#include "ash/display/display_pref_util.h"
-#include "ash/shell.h"
#include "base/logging.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/stringprintf.h"
#include "base/values.h"
#include "ui/gfx/display.h"
-namespace ash {
+namespace display {
namespace {
// DisplayPlacement Positions
@@ -256,4 +253,4 @@ DisplayPlacement DisplayLayout::FindPlacementById(int64_t display_id) const {
: DisplayPlacement(*iter);
}
-} // namespace ash
+} // namespace display
« no previous file with comments | « ui/display/manager/display_layout.h ('k') | ui/display/manager/display_layout_builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698