TestCursorClient::TestCursorClient(aura::Window* root_window)
: visible_(true),
+ should_hide_cursor_on_key_event_(true),
mouse_events_enabled_(true),
cursor_lock_count_(0),
calls_to_set_cursor_(0),
return ui::CURSOR_SET_NORMAL;
}
-void TestCursorClient::SetScale(float scale) {
-}
-
-float TestCursorClient::GetScale() const {
- return 1.f;
-}
-
bool TestCursorClient::IsCursorVisible() const {
return visible_;
}
observers_.RemoveObserver(observer);
}
+bool TestCursorClient::ShouldHideCursorOnKeyEvent(
+ const ui::KeyEvent& event) const {
+ return should_hide_cursor_on_key_event_;
+}
+
} // namespace test
} // namespace aura