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

Unified Diff: components/mus/public/cpp/lib/window_private.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/lib/window.cc ('k') | components/mus/public/cpp/lib/window_tree_client_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/public/cpp/lib/window_private.h
diff --git a/components/mus/public/cpp/lib/window_private.h b/components/mus/public/cpp/lib/window_private.h
index 930ffb3c43f1ef1c94fcaf41e12e6a3b1fd51494..68eb5687f2b510931e8223f205584f877eee021e 100644
--- a/components/mus/public/cpp/lib/window_private.h
+++ b/components/mus/public/cpp/lib/window_private.h
@@ -68,6 +68,9 @@ class WindowPrivate {
}
void LocalSetDrawn(bool drawn) { window_->LocalSetDrawn(drawn); }
void LocalSetVisible(bool visible) { window_->LocalSetVisible(visible); }
+ void LocalSetPredefinedCursor(mojom::Cursor cursor) {
+ window_->LocalSetPredefinedCursor(cursor);
+ }
void LocalSetSharedProperty(const std::string& name,
mojo::Array<uint8_t> new_data);
void LocalSetSharedProperty(const std::string& name,
« no previous file with comments | « components/mus/public/cpp/lib/window.cc ('k') | components/mus/public/cpp/lib/window_tree_client_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698