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

Unified Diff: components/exo/wm_helper_mus.cc

Issue 2780623002: exo: Fix multi-display hardware cursor (Closed)
Patch Set: Fix accessibility test Created 3 years, 7 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
« components/exo/pointer.cc ('K') | « components/exo/wm_helper_mus.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/wm_helper_mus.cc
diff --git a/components/exo/wm_helper_mus.cc b/components/exo/wm_helper_mus.cc
index 105691c8c44cfd5e09e00ceeb087e1ddcc0fdbf2..19b9a950a475fdbd1edc980f96c7c4a308c4c3bd 100644
--- a/components/exo/wm_helper_mus.cc
+++ b/components/exo/wm_helper_mus.cc
@@ -37,13 +37,14 @@ WMHelperMus::~WMHelperMus() {
////////////////////////////////////////////////////////////////////////////////
// WMHelperMus, private:
-const display::ManagedDisplayInfo WMHelperMus::GetDisplayInfo(
+const display::ManagedDisplayInfo& WMHelperMus::GetDisplayInfo(
int64_t display_id) const {
// TODO(penghuang): Return real display info when it is supported in mus.
- return display::ManagedDisplayInfo(display_id, "", false);
+ static const display::ManagedDisplayInfo info;
+ return info;
}
-aura::Window* WMHelperMus::GetContainer(int container_id) {
+aura::Window* WMHelperMus::GetContainer(int64_t display_id, int container_id) {
NOTIMPLEMENTED();
return nullptr;
}
« components/exo/pointer.cc ('K') | « components/exo/wm_helper_mus.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698