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

Side by Side Diff: chrome/browser/android/accessibility/font_size_prefs_android.h

Issue 884213005: Update {virtual,override,final} to follow C++11 style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 10 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
« no previous file with comments | « no previous file | chrome/browser/android/banners/app_banner_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 CHROME_BROWSER_ANDROID_ACCESSIBILITY_FONT_SIZE_PREFS_ANDROID_H_ 5 #ifndef CHROME_BROWSER_ANDROID_ACCESSIBILITY_FONT_SIZE_PREFS_ANDROID_H_
6 #define CHROME_BROWSER_ANDROID_ACCESSIBILITY_FONT_SIZE_PREFS_ANDROID_H_ 6 #define CHROME_BROWSER_ANDROID_ACCESSIBILITY_FONT_SIZE_PREFS_ANDROID_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 #include "base/android/scoped_java_ref.h" 9 #include "base/android/scoped_java_ref.h"
10 #include "base/observer_list.h" 10 #include "base/observer_list.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 */ 57 */
58 class FontSizePrefsObserverAndroid : public FontSizePrefsAndroid::Observer { 58 class FontSizePrefsObserverAndroid : public FontSizePrefsAndroid::Observer {
59 public: 59 public:
60 FontSizePrefsObserverAndroid(JNIEnv* env, jobject obj); 60 FontSizePrefsObserverAndroid(JNIEnv* env, jobject obj);
61 virtual ~FontSizePrefsObserverAndroid(); 61 virtual ~FontSizePrefsObserverAndroid();
62 void DestroyObserverAndroid(JNIEnv* env, jobject obj); 62 void DestroyObserverAndroid(JNIEnv* env, jobject obj);
63 63
64 static bool Register(JNIEnv* env); 64 static bool Register(JNIEnv* env);
65 65
66 // FontSizePrefs::Observer implementation. 66 // FontSizePrefs::Observer implementation.
67 virtual void OnChangeFontSize(float font) override; 67 void OnChangeFontSize(float font) override;
68 virtual void OnChangeForceEnableZoom(bool enabled) override; 68 void OnChangeForceEnableZoom(bool enabled) override;
69 69
70 private: 70 private:
71 base::android::ScopedJavaGlobalRef<jobject> java_ref_; 71 base::android::ScopedJavaGlobalRef<jobject> java_ref_;
72 }; 72 };
73 73
74 #endif // CHROME_BROWSER_ANDROID_ACCESSIBILITY_FONT_SIZE_PREFS_ANDROID_H_ 74 #endif // CHROME_BROWSER_ANDROID_ACCESSIBILITY_FONT_SIZE_PREFS_ANDROID_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/android/banners/app_banner_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698