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

Side by Side Diff: components/dom_distiller/core/distilled_page_prefs_android.h

Issue 623133002: replace OVERRIDE and FINAL with override and final in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.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 COMPONENTS_DOM_DISTILLER_CORE_DISTILLED_PAGE_PREFS_ANDROID_H_ 5 #ifndef COMPONENTS_DOM_DISTILLER_CORE_DISTILLED_PAGE_PREFS_ANDROID_H_
6 #define COMPONENTS_DOM_DISTILLER_CORE_DISTILLED_PAGE_PREFS_ANDROID_H_ 6 #define COMPONENTS_DOM_DISTILLER_CORE_DISTILLED_PAGE_PREFS_ANDROID_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include "base/android/scoped_java_ref.h" 10 #include "base/android/scoped_java_ref.h"
(...skipping 23 matching lines...) Expand all
34 DISALLOW_COPY_AND_ASSIGN(DistilledPagePrefsAndroid); 34 DISALLOW_COPY_AND_ASSIGN(DistilledPagePrefsAndroid);
35 }; 35 };
36 36
37 class DistilledPagePrefsObserverAndroid : public DistilledPagePrefs::Observer { 37 class DistilledPagePrefsObserverAndroid : public DistilledPagePrefs::Observer {
38 public: 38 public:
39 DistilledPagePrefsObserverAndroid(JNIEnv* env, jobject obj); 39 DistilledPagePrefsObserverAndroid(JNIEnv* env, jobject obj);
40 virtual ~DistilledPagePrefsObserverAndroid(); 40 virtual ~DistilledPagePrefsObserverAndroid();
41 41
42 // DistilledPagePrefs::Observer implementation. 42 // DistilledPagePrefs::Observer implementation.
43 virtual void OnChangeFontFamily( 43 virtual void OnChangeFontFamily(
44 DistilledPagePrefs::FontFamily new_font_family) OVERRIDE; 44 DistilledPagePrefs::FontFamily new_font_family) override;
45 virtual void OnChangeTheme(DistilledPagePrefs::Theme new_theme) OVERRIDE; 45 virtual void OnChangeTheme(DistilledPagePrefs::Theme new_theme) override;
46 46
47 virtual void DestroyObserverAndroid(JNIEnv* env, jobject obj); 47 virtual void DestroyObserverAndroid(JNIEnv* env, jobject obj);
48 48
49 private: 49 private:
50 base::android::ScopedJavaGlobalRef<jobject> java_ref_; 50 base::android::ScopedJavaGlobalRef<jobject> java_ref_;
51 }; 51 };
52 52
53 } // namespace android 53 } // namespace android
54 } // namespace dom_distiller 54 } // namespace dom_distiller
55 55
56 #endif // COMPONENTS_DOM_DISTILLER_CORE_DISTILLED_PAGE_PREFS_ANDROID_H_ 56 #endif // COMPONENTS_DOM_DISTILLER_CORE_DISTILLED_PAGE_PREFS_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698