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

Unified Diff: components/exo/wm_helper.cc

Issue 2780623002: exo: Fix multi-display hardware cursor (Closed)
Patch Set: Fix style error 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
« no previous file with comments | « components/exo/wm_helper.h ('k') | components/exo/wm_helper_ash.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/wm_helper.cc
diff --git a/components/exo/wm_helper.cc b/components/exo/wm_helper.cc
index 46faffd93a4954c253c03c39523c9c9a1c59c1b6..a24aa2f837e88d16b1d0f70d219b37ae011bb482 100644
--- a/components/exo/wm_helper.cc
+++ b/components/exo/wm_helper.cc
@@ -103,6 +103,11 @@ void WMHelper::NotifyCursorSetChanged(ui::CursorSetType cursor_set) {
observer.OnCursorSetChanged(cursor_set);
}
+void WMHelper::NotifyCursorDisplayChanged(const display::Display& display) {
+ for (CursorObserver& observer : cursor_observers_)
+ observer.OnCursorDisplayChanged(display);
+}
+
void WMHelper::NotifyMaximizeModeStarted() {
for (MaximizeModeObserver& observer : maximize_mode_observers_)
observer.OnMaximizeModeStarted();
« no previous file with comments | « components/exo/wm_helper.h ('k') | components/exo/wm_helper_ash.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698