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

Side by Side Diff: Source/modules/screen_orientation/ScreenScreenOrientation.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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ScreenScreenOrientation_h 5 #ifndef ScreenScreenOrientation_h
6 #define ScreenScreenOrientation_h 6 #define ScreenScreenOrientation_h
7 7
8 #include "platform/Supplementable.h" 8 #include "platform/Supplementable.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 class ScreenOrientation; 12 class ScreenOrientation;
13 class Screen; 13 class Screen;
14 class ScriptState; 14 class ScriptState;
15 15
16 class ScreenScreenOrientation FINAL 16 class ScreenScreenOrientation final
17 : public NoBaseWillBeGarbageCollectedFinalized<ScreenScreenOrientation> 17 : public NoBaseWillBeGarbageCollectedFinalized<ScreenScreenOrientation>
18 , public WillBeHeapSupplement<Screen> { 18 , public WillBeHeapSupplement<Screen> {
19 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(ScreenScreenOrientation); 19 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(ScreenScreenOrientation);
20 public: 20 public:
21 static ScreenScreenOrientation& from(Screen&); 21 static ScreenScreenOrientation& from(Screen&);
22 virtual ~ScreenScreenOrientation(); 22 virtual ~ScreenScreenOrientation();
23 23
24 static ScreenOrientation* orientation(ScriptState*, Screen&); 24 static ScreenOrientation* orientation(ScriptState*, Screen&);
25 25
26 virtual void trace(Visitor*) OVERRIDE; 26 virtual void trace(Visitor*) override;
27 27
28 private: 28 private:
29 static const char* supplementName(); 29 static const char* supplementName();
30 30
31 PersistentWillBeMember<ScreenOrientation> m_orientation; 31 PersistentWillBeMember<ScreenOrientation> m_orientation;
32 }; 32 };
33 33
34 } // namespace blink 34 } // namespace blink
35 35
36 #endif // ScreenScreenOrientation_h 36 #endif // ScreenScreenOrientation_h
OLDNEW
« no previous file with comments | « Source/modules/screen_orientation/ScreenOrientationDispatcher.h ('k') | Source/modules/speech/DOMWindowSpeechSynthesis.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698