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

Unified Diff: ui/aura/desktop/desktop_cursor_client.h

Issue 11035050: Enable CursorManager::LockCursor to lock cursor visibility. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win_aura build Created 8 years, 2 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/aura/client/cursor_client.h ('k') | ui/aura/desktop/desktop_cursor_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/desktop/desktop_cursor_client.h
diff --git a/ui/aura/desktop/desktop_cursor_client.h b/ui/aura/desktop/desktop_cursor_client.h
index 0bc49c4390bc7bf4d2a28a8ba7bbeb900abc7175..0f292e2c38ce2b2b56017d8403a2dc684bac62c6 100644
--- a/ui/aura/desktop/desktop_cursor_client.h
+++ b/ui/aura/desktop/desktop_cursor_client.h
@@ -29,11 +29,16 @@ class AURA_EXPORT DesktopCursorClient : public client::CursorClient {
virtual void ShowCursor(bool show) OVERRIDE;
virtual bool IsCursorVisible() const OVERRIDE;
virtual void SetDeviceScaleFactor(float device_scale_factor) OVERRIDE;
+ virtual void LockCursor() OVERRIDE;
+ virtual void UnlockCursor() OVERRIDE;
private:
aura::RootWindow* root_window_;
scoped_ptr<ui::CursorLoader> cursor_loader_;
+ gfx::NativeCursor current_cursor_;
+ bool cursor_visible_;
+
DISALLOW_COPY_AND_ASSIGN(DesktopCursorClient);
};
« no previous file with comments | « ui/aura/client/cursor_client.h ('k') | ui/aura/desktop/desktop_cursor_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698