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

Unified Diff: Source/modules/device_orientation/DeviceOrientationController.h

Issue 635233004: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/modules (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.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
Index: Source/modules/device_orientation/DeviceOrientationController.h
diff --git a/Source/modules/device_orientation/DeviceOrientationController.h b/Source/modules/device_orientation/DeviceOrientationController.h
index 9c42e9259be5c33013db6d91e3947a023d164d82..cf445ad6cd4151ecbd8a63a30ef4600d0fa91d65 100644
--- a/Source/modules/device_orientation/DeviceOrientationController.h
+++ b/Source/modules/device_orientation/DeviceOrientationController.h
@@ -13,7 +13,7 @@ namespace blink {
class DeviceOrientationData;
class Event;
-class DeviceOrientationController FINAL : public DeviceSingleWindowEventController, public DocumentSupplement {
+class DeviceOrientationController final : public DeviceSingleWindowEventController, public DocumentSupplement {
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DeviceOrientationController);
public:
virtual ~DeviceOrientationController();
@@ -22,25 +22,25 @@ public:
static DeviceOrientationController& from(Document&);
// Inherited from DeviceSingleWindowEventController.
- void didUpdateData() OVERRIDE;
+ void didUpdateData() override;
void setOverride(DeviceOrientationData*);
void clearOverride();
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
private:
explicit DeviceOrientationController(Document&);
// Inherited from DeviceEventControllerBase.
- virtual void registerWithDispatcher() OVERRIDE;
- virtual void unregisterWithDispatcher() OVERRIDE;
- virtual bool hasLastData() OVERRIDE;
+ virtual void registerWithDispatcher() override;
+ virtual void unregisterWithDispatcher() override;
+ virtual bool hasLastData() override;
// Inherited from DeviceSingleWindowEventController.
- virtual PassRefPtrWillBeRawPtr<Event> lastEvent() const OVERRIDE;
- virtual const AtomicString& eventTypeName() const OVERRIDE;
- virtual bool isNullEvent(Event*) const OVERRIDE;
+ virtual PassRefPtrWillBeRawPtr<Event> lastEvent() const override;
+ virtual const AtomicString& eventTypeName() const override;
+ virtual bool isNullEvent(Event*) const override;
DeviceOrientationData* lastData() const;
« no previous file with comments | « Source/modules/device_orientation/DeviceMotionEvent.h ('k') | Source/modules/device_orientation/DeviceOrientationData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698