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

Unified Diff: ui/aura/test/test_cursor_client.h

Issue 684483002: Standardize usage of virtual/override/final specifiers. (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/aura/test/event_generator_delegate_aura.cc ('k') | ui/aura/test/test_focus_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c3f845e542f5ffed404d44ddb7839b5bf386bead..b741455ee80b2d499bf3cf772219231c3f45fc4e 100644
--- a/ui/aura/test/test_cursor_client.h
+++ b/ui/aura/test/test_cursor_client.h
@@ -20,7 +20,7 @@ namespace test {
class TestCursorClient : public aura::client::CursorClient {
public:
explicit TestCursorClient(aura::Window* root_window);
- virtual ~TestCursorClient();
+ ~TestCursorClient() override;
// Used to track the number of times SetCursor() was called.
int calls_to_set_cursor() const { return calls_to_set_cursor_; }
@@ -32,26 +32,23 @@ class TestCursorClient : public aura::client::CursorClient {
}
// Overridden from aura::client::CursorClient:
- virtual void SetCursor(gfx::NativeCursor cursor) override;
- virtual gfx::NativeCursor GetCursor() const override;
- virtual void ShowCursor() override;
- virtual void HideCursor() override;
- virtual void SetCursorSet(ui::CursorSetType cursor_set) override;
- virtual ui::CursorSetType GetCursorSet() const override;
- virtual bool IsCursorVisible() 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 cursor) override;
+ gfx::NativeCursor GetCursor() const override;
+ void ShowCursor() override;
+ void HideCursor() override;
+ void SetCursorSet(ui::CursorSetType cursor_set) override;
+ ui::CursorSetType GetCursorSet() const override;
+ bool IsCursorVisible() 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:
bool visible_;
« no previous file with comments | « ui/aura/test/event_generator_delegate_aura.cc ('k') | ui/aura/test/test_focus_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698