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

Unified Diff: components/mus/public/cpp/window_observer.h

Issue 1465803003: mus: Let clients set the cursor of their window. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix WindowTreeAppTest.SetCursor. Created 5 years 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/mus/public/cpp/window_observer.h
diff --git a/components/mus/public/cpp/window_observer.h b/components/mus/public/cpp/window_observer.h
index 979428adf8662cbe8f45ac45a461d48b646bf849..abd436e589eea16bbd505242bd6aed536529da85 100644
--- a/components/mus/public/cpp/window_observer.h
+++ b/components/mus/public/cpp/window_observer.h
@@ -64,6 +64,9 @@ class WindowObserver {
virtual void OnWindowFocusChanged(Window* gained_focus, Window* lost_focus) {}
+ virtual void OnWindowSetPredefinedCursor(Window* window,
sky 2015/12/02 21:42:35 OnWindowPredefinedCursorChanged
+ mojom::Cursor cursor) {}
+
virtual void OnWindowInputEvent(Window* window,
const mojom::EventPtr& event) {}

Powered by Google App Engine
This is Rietveld 408576698