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

Unified Diff: services/ui/ws/test_utils.h

Issue 2857963003: Add {Lock,Unlock,Show,Hide}Cursor() to the window manager mojom. (Closed)
Patch Set: sky comments Created 3 years, 7 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
« no previous file with comments | « services/ui/ws/display_unittest.cc ('k') | services/ui/ws/window_manager_state.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/test_utils.h
diff --git a/services/ui/ws/test_utils.h b/services/ui/ws/test_utils.h
index 5be2f294161b691d2d861f153213541dfd9d439e..d8bb8f3bd7ee2f3141fcd97e7244865269ae4b0e 100644
--- a/services/ui/ws/test_utils.h
+++ b/services/ui/ws/test_utils.h
@@ -151,8 +151,6 @@ class DisplayTestApi {
void OnEvent(ui::Event* event) { display_->OnEventFromSource(event); }
- const ui::CursorData& last_cursor() const { return display_->last_cursor_; }
-
private:
Display* display_;
@@ -622,7 +620,7 @@ class WindowServerTestHelper {
~WindowServerTestHelper();
WindowServer* window_server() { return window_server_.get(); }
- ui::CursorData cursor() const { return cursor_; }
+ const ui::CursorData& cursor() const { return cursor_; }
TestWindowServerDelegate* window_server_delegate() {
return &window_server_delegate_;
« no previous file with comments | « services/ui/ws/display_unittest.cc ('k') | services/ui/ws/window_manager_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698