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

Unified Diff: components/exo/wm_helper.cc

Issue 2780623002: exo: Fix multi-display hardware cursor (Closed)
Patch Set: Remove capture on mouse enter Created 3 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
Index: components/exo/wm_helper.cc
diff --git a/components/exo/wm_helper.cc b/components/exo/wm_helper.cc
index 7f0cfcffe7264f5d77f685f28bacf65df824f359..b1a7cc916dd8f6dc89bd2dd6c6a28d7b008b7c31 100644
--- a/components/exo/wm_helper.cc
+++ b/components/exo/wm_helper.cc
@@ -111,6 +111,11 @@ void WMHelper::NotifyCursorSetChanged(ui::CursorSetType cursor_set) {
observer.OnCursorSetChanged(cursor_set);
}
+void WMHelper::NotifyCursorDisplayChanging(const display::Display& display) {
+ for (CursorObserver& observer : cursor_observers_)
+ observer.OnCursorDisplayChanging(display);
+}
+
void WMHelper::NotifyMaximizeModeStarted() {
for (MaximizeModeObserver& observer : maximize_mode_observers_)
observer.OnMaximizeModeStarted();

Powered by Google App Engine
This is Rietveld 408576698