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

Unified Diff: Source/modules/gamepad/NavigatorGamepad.h

Issue 1227783004: Fix virtual/override/final usage in Source/modules/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 5 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 | « Source/modules/gamepad/GamepadEvent.h ('k') | Source/modules/geofencing/CircularGeofencingRegion.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/gamepad/NavigatorGamepad.h
diff --git a/Source/modules/gamepad/NavigatorGamepad.h b/Source/modules/gamepad/NavigatorGamepad.h
index bb5ec185506ce28a3e9a62293b5f5407020ac8a6..6c2be9ce55bfeb340c3ec932a6b90e5c805c3a8f 100644
--- a/Source/modules/gamepad/NavigatorGamepad.h
+++ b/Source/modules/gamepad/NavigatorGamepad.h
@@ -47,7 +47,7 @@ class MODULES_EXPORT NavigatorGamepad final : public GarbageCollectedFinalized<N
public:
static NavigatorGamepad* from(Document&);
static NavigatorGamepad& from(Navigator&);
- virtual ~NavigatorGamepad();
+ ~NavigatorGamepad() override;
static GamepadList* getGamepads(Navigator&);
GamepadList* gamepads();
@@ -66,20 +66,20 @@ private:
bool startUpdatingIfAttached();
// DOMWindowProperty
- virtual void willDestroyGlobalObjectInFrame() override;
- virtual void willDetachGlobalObjectFromFrame() override;
+ void willDestroyGlobalObjectInFrame() override;
+ void willDetachGlobalObjectFromFrame() override;
// PlatformEventController
- virtual void registerWithDispatcher() override;
- virtual void unregisterWithDispatcher() override;
- virtual bool hasLastData() override;
- virtual void didUpdateData() override;
- virtual void pageVisibilityChanged() override;
+ void registerWithDispatcher() override;
+ void unregisterWithDispatcher() override;
+ bool hasLastData() override;
+ void didUpdateData() override;
+ void pageVisibilityChanged() override;
// DOMWindowLifecycleObserver
- virtual void didAddEventListener(LocalDOMWindow*, const AtomicString&) override;
- virtual void didRemoveEventListener(LocalDOMWindow*, const AtomicString&) override;
- virtual void didRemoveAllEventListeners(LocalDOMWindow*) override;
+ void didAddEventListener(LocalDOMWindow*, const AtomicString&) override;
+ void didRemoveEventListener(LocalDOMWindow*, const AtomicString&) override;
+ void didRemoveAllEventListeners(LocalDOMWindow*) override;
Member<GamepadList> m_gamepads;
HeapDeque<Member<Gamepad>> m_pendingEvents;
« no previous file with comments | « Source/modules/gamepad/GamepadEvent.h ('k') | Source/modules/geofencing/CircularGeofencingRegion.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698