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

Unified Diff: ash/test/cursor_manager_test_api.cc

Issue 2932563002: Implement cursor changing on Mushrome (Closed)
Patch Set: why would you put that there 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
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 4d3e87888d3f5ab918e3ef22e944c43bdcac347c..26bf6f392da4189c9908383b87b658acf812469c 100644
--- a/ash/test/cursor_manager_test_api.cc
+++ b/ash/test/cursor_manager_test_api.cc
@@ -6,7 +6,7 @@
#include "ash/shell.h"
#include "ash/test/shell_test_api.h"
-#include "ash/wm/ash_native_cursor_manager.h"
+#include "ash/wm/native_cursor_manager_ash.h"
#include "ui/base/cursor/image_cursors.h"
#include "ui/display/display.h"
#include "ui/wm/core/cursor_manager.h"
@@ -30,15 +30,11 @@ gfx::NativeCursor CursorManagerTestApi::GetCurrentCursor() const {
display::Display::Rotation CursorManagerTestApi::GetCurrentCursorRotation()
const {
- return ShellTestApi(Shell::Get())
- .ash_native_cursor_manager()
- ->image_cursors_->GetRotation();
+ return ShellTestApi(Shell::Get()).ash_native_cursor_manager()->GetRotation();
}
float CursorManagerTestApi::GetCurrentCursorScale() const {
- return ShellTestApi(Shell::Get())
- .ash_native_cursor_manager()
- ->image_cursors_->GetScale();
+ return ShellTestApi(Shell::Get()).ash_native_cursor_manager()->GetScale();
}
} // namespace test
« no previous file with comments | « ash/shell.cc ('k') | ash/test/shell_test_api.h » ('j') | ash/test/shell_test_api.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698