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

Unified Diff: components/mus/public/cpp/tests/test_window_tree.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
Index: components/mus/public/cpp/tests/test_window_tree.h
diff --git a/components/mus/public/cpp/tests/test_window_tree.h b/components/mus/public/cpp/tests/test_window_tree.h
index 80bdec59dea1c465bcff4b2ed4067e02791394e8..f4b18db9145bef3a48fca94bc969b8a661015a0c 100644
--- a/components/mus/public/cpp/tests/test_window_tree.h
+++ b/components/mus/public/cpp/tests/test_window_tree.h
@@ -66,6 +66,9 @@ class TestWindowTree : public mojom::WindowTree {
const EmbedCallback& callback) override;
void SetFocus(uint32_t window_id) override;
void SetCanFocus(uint32_t window_id, bool can_focus) override;
+ void SetPredefinedCursor(uint32_t change_id,
+ uint32_t window_id,
+ mus::mojom::Cursor cursor_id) override;
void SetWindowTextInputState(uint32_t window_id,
mojo::TextInputStatePtr state) override;
void SetImeVisibility(uint32_t window_id,
« no previous file with comments | « components/mus/public/cpp/lib/window_tree_client_impl.cc ('k') | components/mus/public/cpp/tests/test_window_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698