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

Unified Diff: ash/mus/bridge/wm_shell_mus.cc

Issue 2270553002: Move ash::DisplayInfo to ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: build 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
Index: ash/mus/bridge/wm_shell_mus.cc
diff --git a/ash/mus/bridge/wm_shell_mus.cc b/ash/mus/bridge/wm_shell_mus.cc
index e2eb353e1b57e430b3afc5446e339fd99e6daf00..8a161027448f9c8f030d7521d33874f332721fdd 100644
--- a/ash/mus/bridge/wm_shell_mus.cc
+++ b/ash/mus/bridge/wm_shell_mus.cc
@@ -7,7 +7,6 @@
#include <utility>
#include "ash/common/accelerators/accelerator_controller.h"
-#include "ash/common/display/display_info.h"
#include "ash/common/keyboard/keyboard_ui.h"
#include "ash/common/session/session_state_delegate.h"
#include "ash/common/shell_delegate.h"
@@ -34,6 +33,7 @@
#include "services/ui/common/util.h"
#include "services/ui/public/cpp/window.h"
#include "services/ui/public/cpp/window_tree_client.h"
+#include "ui/display/manager/managed_display_info.h"
#include "ui/display/screen.h"
#include "ui/views/mus/pointer_watcher_event_router.h"
@@ -219,10 +219,11 @@ WmWindow* WmShellMus::GetRootWindowForDisplayId(int64_t display_id) {
return GetRootWindowControllerWithDisplayId(display_id)->GetWindow();
}
-const DisplayInfo& WmShellMus::GetDisplayInfo(int64_t display_id) const {
+const ui::ManagedDisplayInfo& WmShellMus::GetDisplayInfo(
+ int64_t display_id) const {
// TODO(mash): implement http://crbug.com/622480.
NOTIMPLEMENTED();
- static DisplayInfo fake_info;
+ static ui::ManagedDisplayInfo fake_info;
return fake_info;
}

Powered by Google App Engine
This is Rietveld 408576698