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

Side by Side Diff: chrome/browser/ui/android/autofill/autofill_popup_view_android.h

Issue 900733003: 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_UI_ANDROID_AUTOFILL_AUTOFILL_POPUP_VIEW_ANDROID_H_ 5 #ifndef CHROME_BROWSER_UI_ANDROID_AUTOFILL_AUTOFILL_POPUP_VIEW_ANDROID_H_
6 #define CHROME_BROWSER_UI_ANDROID_AUTOFILL_AUTOFILL_POPUP_VIEW_ANDROID_H_ 6 #define CHROME_BROWSER_UI_ANDROID_AUTOFILL_AUTOFILL_POPUP_VIEW_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 17 matching lines...) Expand all
28 // -------------------------------------------------------------------------- 28 // --------------------------------------------------------------------------
29 // Called when an autofill item was selected. 29 // Called when an autofill item was selected.
30 void SuggestionSelected(JNIEnv* env, jobject obj, jint list_index); 30 void SuggestionSelected(JNIEnv* env, jobject obj, jint list_index);
31 31
32 void PopupDismissed(JNIEnv* env, jobject obj); 32 void PopupDismissed(JNIEnv* env, jobject obj);
33 33
34 static bool RegisterAutofillPopupViewAndroid(JNIEnv* env); 34 static bool RegisterAutofillPopupViewAndroid(JNIEnv* env);
35 35
36 protected: 36 protected:
37 // AutofillPopupView implementation. 37 // AutofillPopupView implementation.
38 virtual void Show() override; 38 void Show() override;
39 virtual void Hide() override; 39 void Hide() override;
40 virtual void InvalidateRow(size_t row) override; 40 void InvalidateRow(size_t row) override;
41 virtual void UpdateBoundsAndRedrawPopup() override; 41 void UpdateBoundsAndRedrawPopup() override;
42 42
43 private: 43 private:
44 virtual ~AutofillPopupViewAndroid(); 44 ~AutofillPopupViewAndroid() override;
45 45
46 AutofillPopupController* controller_; // weak. 46 AutofillPopupController* controller_; // weak.
47 47
48 // The corresponding java object. 48 // The corresponding java object.
49 base::android::ScopedJavaGlobalRef<jobject> java_object_; 49 base::android::ScopedJavaGlobalRef<jobject> java_object_;
50 50
51 DISALLOW_COPY_AND_ASSIGN(AutofillPopupViewAndroid); 51 DISALLOW_COPY_AND_ASSIGN(AutofillPopupViewAndroid);
52 }; 52 };
53 53
54 } // namespace autofill 54 } // namespace autofill
55 55
56 #endif // CHROME_BROWSER_UI_ANDROID_AUTOFILL_AUTOFILL_POPUP_VIEW_ANDROID_H_ 56 #endif // CHROME_BROWSER_UI_ANDROID_AUTOFILL_AUTOFILL_POPUP_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698