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

Unified Diff: Source/modules/device_orientation/DeviceOrientationController.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
Index: Source/modules/device_orientation/DeviceOrientationController.h
diff --git a/Source/modules/device_orientation/DeviceOrientationController.h b/Source/modules/device_orientation/DeviceOrientationController.h
index d3c800acaabf939c47a5e14d574434fec4ebd603..97f0d59ac5fd44e2f2ae4e0f219f3fc272b3eddf 100644
--- a/Source/modules/device_orientation/DeviceOrientationController.h
+++ b/Source/modules/device_orientation/DeviceOrientationController.h
@@ -17,7 +17,7 @@ class Event;
class MODULES_EXPORT DeviceOrientationController final : public DeviceSingleWindowEventController, public WillBeHeapSupplement<Document> {
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DeviceOrientationController);
public:
- virtual ~DeviceOrientationController();
+ ~DeviceOrientationController() override;
static const char* supplementName();
static DeviceOrientationController& from(Document&);
@@ -35,14 +35,14 @@ private:
explicit DeviceOrientationController(Document&);
// Inherited from DeviceEventControllerBase.
- virtual void registerWithDispatcher() override;
- virtual void unregisterWithDispatcher() override;
- virtual bool hasLastData() override;
+ void registerWithDispatcher() override;
+ void unregisterWithDispatcher() override;
+ bool hasLastData() override;
// Inherited from DeviceSingleWindowEventController.
- virtual PassRefPtrWillBeRawPtr<Event> lastEvent() const override;
- virtual const AtomicString& eventTypeName() const override;
- virtual bool isNullEvent(Event*) const override;
+ PassRefPtrWillBeRawPtr<Event> lastEvent() const override;
+ const AtomicString& eventTypeName() const override;
+ bool isNullEvent(Event*) const override;
DeviceOrientationData* lastData() const;
« no previous file with comments | « Source/modules/device_orientation/DeviceMotionEvent.h ('k') | Source/modules/device_orientation/DeviceOrientationDispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698