| Index: ui/aura/test/test_cursor_client.h
|
| diff --git a/ui/aura/test/test_cursor_client.h b/ui/aura/test/test_cursor_client.h
|
| index 6bfab522bd4d45645b4d852518fed43f0c29f971..2d152de3e4ddde4ada3a5f4cea2d3a9c3bbb9536 100644
|
| --- a/ui/aura/test/test_cursor_client.h
|
| +++ b/ui/aura/test/test_cursor_client.h
|
| @@ -18,6 +18,10 @@ class TestCursorClient : public aura::client::CursorClient {
|
| explicit TestCursorClient(aura::Window* root_window);
|
| virtual ~TestCursorClient();
|
|
|
| + // Used to track the number of times SetCursor() was called.
|
| + int calls_to_set_cursor() const { return calls_to_set_cursor_; }
|
| + void reset_calls_to_set_cursor() { calls_to_set_cursor_ = 0; }
|
| +
|
| // Overridden from aura::client::CursorClient:
|
| virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE;
|
| virtual gfx::NativeCursor GetCursor() const OVERRIDE;
|
| @@ -44,6 +48,7 @@ class TestCursorClient : public aura::client::CursorClient {
|
| bool visible_;
|
| bool mouse_events_enabled_;
|
| int cursor_lock_count_;
|
| + int calls_to_set_cursor_;
|
| ObserverList<aura::client::CursorClientObserver> observers_;
|
| aura::Window* root_window_;
|
|
|
|
|