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

Side by Side Diff: content/browser/screen_orientation/screen_orientation_delegate_android.h

Issue 637183002: Replace FINAL and OVERRIDE with their C++11 counterparts in content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased the patch 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 CONTENT_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_DELEGATE_H_
6 #define CONTENT_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_DELEGATE_H_ 6 #define CONTENT_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_DELEGATE_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 17 matching lines...) Expand all
28 // the screen orientation. It keep track of the number of start request if it 28 // the screen orientation. It keep track of the number of start request if it
29 // is already running an accurate listening. 29 // is already running an accurate listening.
30 static void StartAccurateListening(); 30 static void StartAccurateListening();
31 31
32 // Ask the ScreenOrientationListener (Java) to stop accurately listening to 32 // Ask the ScreenOrientationListener (Java) to stop accurately listening to
33 // the screen orientation. It will actually stop only if the number of stop 33 // the screen orientation. It will actually stop only if the number of stop
34 // requests matches the number of start requests. 34 // requests matches the number of start requests.
35 static void StopAccurateListening(); 35 static void StopAccurateListening();
36 36
37 // ScreenOrientationDelegate: 37 // ScreenOrientationDelegate:
38 virtual bool FullScreenRequired(WebContents* web_contents) OVERRIDE; 38 virtual bool FullScreenRequired(WebContents* web_contents) override;
39 virtual void Lock( 39 virtual void Lock(
40 blink::WebScreenOrientationLockType lock_orientation) OVERRIDE; 40 blink::WebScreenOrientationLockType lock_orientation) override;
41 virtual bool ScreenOrientationProviderSupported() OVERRIDE; 41 virtual bool ScreenOrientationProviderSupported() override;
42 virtual void Unlock() OVERRIDE; 42 virtual void Unlock() override;
43 43
44 private: 44 private:
45 DISALLOW_COPY_AND_ASSIGN(ScreenOrientationDelegateAndroid); 45 DISALLOW_COPY_AND_ASSIGN(ScreenOrientationDelegateAndroid);
46 }; 46 };
47 47
48 } // namespace content 48 } // namespace content
49 49
50 #endif // CONTENT_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_DELEGATE_H_ 50 #endif // CONTENT_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698