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

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: Do it the other way + explicit checks that it is a mouse pointer. 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
« no previous file with comments | « components/mus/public/cpp/window.h ('k') | components/mus/public/interfaces/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..4fb4592c8b40b99c8b00ce8ac01a4adb2a6fcadb 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 OnWindowPredefinedCursorChanged(Window* window,
+ mojom::Cursor cursor) {}
+
virtual void OnWindowInputEvent(Window* window,
const mojom::EventPtr& event) {}
« no previous file with comments | « components/mus/public/cpp/window.h ('k') | components/mus/public/interfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698