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

Unified Diff: ash/test/cursor_manager_test_api.cc

Issue 11412315: Make the cursor have separate mode for disabled mouse events and invisible. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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: ash/test/cursor_manager_test_api.cc
diff --git a/ash/test/cursor_manager_test_api.cc b/ash/test/cursor_manager_test_api.cc
index e992f9ca016242fbc432c064f0e62eb9335ff8cc..05b14c0d3d8b03af29beba615879b930c571d2c6 100644
--- a/ash/test/cursor_manager_test_api.cc
+++ b/ash/test/cursor_manager_test_api.cc
@@ -17,10 +17,14 @@ CursorManagerTestApi::CursorManagerTestApi(CursorManager* cursor_manager)
CursorManagerTestApi::~CursorManagerTestApi() {
}
-gfx::NativeCursor CursorManagerTestApi::GetCurrentCursor() {
+gfx::NativeCursor CursorManagerTestApi::GetCurrentCursor() const {
return cursor_manager_->current_cursor_;
}
+bool CursorManagerTestApi::GetEnabled() const {
+ return cursor_manager_->cursor_enabled_;
+}
+
float CursorManagerTestApi::GetDeviceScaleFactor() {
return cursor_manager_->image_cursors_->GetDeviceScaleFactor();
}

Powered by Google App Engine
This is Rietveld 408576698