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

Unified Diff: ui/wm/test/testing_cursor_client_observer.cc

Issue 2949353003: Implement large cursors in Mushrome. (Closed)
Patch Set: rename everything to CursorSize Created 3 years, 6 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 | « ui/wm/test/testing_cursor_client_observer.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/wm/test/testing_cursor_client_observer.cc
diff --git a/ui/wm/test/testing_cursor_client_observer.cc b/ui/wm/test/testing_cursor_client_observer.cc
index 00d4e1b3c65bf0523239978820e1126f92000c3a..c8a286f476ded1d33a53a394f90707d2a5f8cbe4 100644
--- a/ui/wm/test/testing_cursor_client_observer.cc
+++ b/ui/wm/test/testing_cursor_client_observer.cc
@@ -9,13 +9,13 @@ namespace wm {
TestingCursorClientObserver::TestingCursorClientObserver()
: cursor_visibility_(false),
did_visibility_change_(false),
- cursor_set_(ui::CURSOR_SET_NORMAL),
- did_cursor_set_change_(false) {}
+ cursor_size_(ui::CursorSize::kNormal),
+ did_cursor_size_change_(false) {}
void TestingCursorClientObserver::reset() {
cursor_visibility_ = did_visibility_change_ = false;
- cursor_set_ = ui::CURSOR_SET_NORMAL;
- did_cursor_set_change_ = false;
+ cursor_size_ = ui::CursorSize::kNormal;
+ did_cursor_size_change_ = false;
}
void TestingCursorClientObserver::OnCursorVisibilityChanged(bool is_visible) {
@@ -23,10 +23,10 @@ void TestingCursorClientObserver::OnCursorVisibilityChanged(bool is_visible) {
did_visibility_change_ = true;
}
-void TestingCursorClientObserver::OnCursorSetChanged(
- ui::CursorSetType cursor_set) {
- cursor_set_ = cursor_set;
- did_cursor_set_change_ = true;
+void TestingCursorClientObserver::OnCursorSizeChanged(
+ ui::CursorSize cursor_size) {
+ cursor_size_ = cursor_size;
+ did_cursor_size_change_ = true;
}
} // namespace wm
« no previous file with comments | « ui/wm/test/testing_cursor_client_observer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698