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

Unified Diff: ui/wm/core/cursor_manager.h

Issue 1885653003: Attempt to fix ash tests on Chrome OS valgrind (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reset the cursor state in AshTestHelper::SetUp Created 4 years, 8 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 | « tools/valgrind/memcheck/suppressions.txt ('k') | ui/wm/core/cursor_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/wm/core/cursor_manager.h
diff --git a/ui/wm/core/cursor_manager.h b/ui/wm/core/cursor_manager.h
index 3e2b86b213df7647fe5a9427694bfd9ebe343f25..031e4fb57fc7dade70f08f9d0adb0e3a94092ab9 100644
--- a/ui/wm/core/cursor_manager.h
+++ b/ui/wm/core/cursor_manager.h
@@ -42,6 +42,9 @@ class WM_EXPORT CursorManager : public aura::client::CursorClient,
explicit CursorManager(scoped_ptr<NativeCursorManager> delegate);
~CursorManager() override;
+ // Resets the last visibility state, etc. Currently only called by tests.
+ static void ResetState();
sky 2016/04/13 16:32:10 ResetCursorVisibilityStateForTest.
ananta 2016/04/13 19:41:14 Done.
+
// Overridden from aura::client::CursorClient:
void SetCursor(gfx::NativeCursor) override;
gfx::NativeCursor GetCursor() const override;
« no previous file with comments | « tools/valgrind/memcheck/suppressions.txt ('k') | ui/wm/core/cursor_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698