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

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

Issue 667923002: Standardize usage of virtual/override/final in ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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/web_dialogs/web_dialog_web_contents_delegate.h ('k') | no next file » | 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 4f9c21bded75559567ff61c1a1c6618e46d012f1..a10b8acd8c5e32aacaaf259d81faa6943114a513 100644
--- a/ui/wm/core/cursor_manager.h
+++ b/ui/wm/core/cursor_manager.h
@@ -40,36 +40,33 @@ class WM_EXPORT CursorManager : public aura::client::CursorClient,
public NativeCursorManagerDelegate {
public:
explicit CursorManager(scoped_ptr<NativeCursorManager> delegate);
- virtual ~CursorManager();
+ ~CursorManager() override;
// Overridden from aura::client::CursorClient:
- virtual void SetCursor(gfx::NativeCursor) override;
- virtual gfx::NativeCursor GetCursor() const override;
- virtual void ShowCursor() override;
- virtual void HideCursor() override;
- virtual bool IsCursorVisible() const override;
- virtual void SetCursorSet(ui::CursorSetType cursor_set) override;
- virtual ui::CursorSetType GetCursorSet() const override;
- virtual void EnableMouseEvents() override;
- virtual void DisableMouseEvents() override;
- virtual bool IsMouseEventsEnabled() const override;
- virtual void SetDisplay(const gfx::Display& display) override;
- virtual void LockCursor() override;
- virtual void UnlockCursor() override;
- virtual bool IsCursorLocked() const override;
- virtual void AddObserver(
- aura::client::CursorClientObserver* observer) override;
- virtual void RemoveObserver(
- aura::client::CursorClientObserver* observer) override;
- virtual bool ShouldHideCursorOnKeyEvent(
- const ui::KeyEvent& event) const override;
+ void SetCursor(gfx::NativeCursor) override;
+ gfx::NativeCursor GetCursor() const override;
+ void ShowCursor() override;
+ void HideCursor() override;
+ bool IsCursorVisible() const override;
+ void SetCursorSet(ui::CursorSetType cursor_set) override;
+ ui::CursorSetType GetCursorSet() const override;
+ void EnableMouseEvents() override;
+ void DisableMouseEvents() override;
+ bool IsMouseEventsEnabled() const override;
+ void SetDisplay(const gfx::Display& display) override;
+ void LockCursor() override;
+ void UnlockCursor() override;
+ bool IsCursorLocked() const override;
+ void AddObserver(aura::client::CursorClientObserver* observer) override;
+ void RemoveObserver(aura::client::CursorClientObserver* observer) override;
+ bool ShouldHideCursorOnKeyEvent(const ui::KeyEvent& event) const override;
private:
// Overridden from NativeCursorManagerDelegate:
- virtual void CommitCursor(gfx::NativeCursor cursor) override;
- virtual void CommitVisibility(bool visible) override;
- virtual void CommitCursorSet(ui::CursorSetType cursor_set) override;
- virtual void CommitMouseEventsEnabled(bool enabled) override;
+ void CommitCursor(gfx::NativeCursor cursor) override;
+ void CommitVisibility(bool visible) override;
+ void CommitCursorSet(ui::CursorSetType cursor_set) override;
+ void CommitMouseEventsEnabled(bool enabled) override;
scoped_ptr<NativeCursorManager> delegate_;
« no previous file with comments | « ui/web_dialogs/web_dialog_web_contents_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698