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

Side by Side Diff: chrome/browser/ui/android/autofill/autofill_dialog_controller_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
« no previous file with comments | « no previous file | chrome/browser/ui/android/autofill/autofill_popup_view_android.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_DIALOG_CONTROLLER_ANDROID_H_ 5 #ifndef CHROME_BROWSER_UI_ANDROID_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_ANDROID_H_
6 #define CHROME_BROWSER_UI_ANDROID_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_ANDROID_H_ 6 #define CHROME_BROWSER_UI_ANDROID_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_ANDROID_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include "base/android/jni_string.h" 10 #include "base/android/jni_string.h"
(...skipping 12 matching lines...) Expand all
23 // implementation of the requestAutocomplete dialog. 23 // implementation of the requestAutocomplete dialog.
24 class AutofillDialogControllerAndroid : public AutofillDialogController { 24 class AutofillDialogControllerAndroid : public AutofillDialogController {
25 public: 25 public:
26 // Creates an instance of the AutofillDialogControllerAndroid. 26 // Creates an instance of the AutofillDialogControllerAndroid.
27 static base::WeakPtr<AutofillDialogController> Create( 27 static base::WeakPtr<AutofillDialogController> Create(
28 content::WebContents* contents, 28 content::WebContents* contents,
29 const FormData& form_structure, 29 const FormData& form_structure,
30 const GURL& source_url, 30 const GURL& source_url,
31 const AutofillClient::ResultCallback& callback); 31 const AutofillClient::ResultCallback& callback);
32 32
33 virtual ~AutofillDialogControllerAndroid(); 33 ~AutofillDialogControllerAndroid() override;
34 34
35 // AutofillDialogController implementation: 35 // AutofillDialogController implementation:
36 virtual void Show() override; 36 void Show() override;
37 virtual void Hide() override; 37 void Hide() override;
38 virtual void TabActivated() override; 38 void TabActivated() override;
39 39
40 // JNI bindings for Java-side AutofillDialogDelegate: 40 // JNI bindings for Java-side AutofillDialogDelegate:
41 void DialogCancel(JNIEnv* env, jobject obj); 41 void DialogCancel(JNIEnv* env, jobject obj);
42 void DialogContinue(JNIEnv* env, 42 void DialogContinue(JNIEnv* env,
43 jobject obj, 43 jobject obj,
44 jobject full_wallet, 44 jobject full_wallet,
45 jboolean last_used_choice_is_autofill, 45 jboolean last_used_choice_is_autofill,
46 jstring last_used_account_name, 46 jstring last_used_account_name,
47 jstring last_used_billing, 47 jstring last_used_billing,
48 jstring last_used_shipping, 48 jstring last_used_shipping,
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 98
99 base::WeakPtrFactory<AutofillDialogControllerAndroid> 99 base::WeakPtrFactory<AutofillDialogControllerAndroid>
100 weak_ptr_factory_; 100 weak_ptr_factory_;
101 101
102 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerAndroid); 102 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerAndroid);
103 }; 103 };
104 104
105 } // namespace autofill 105 } // namespace autofill
106 106
107 #endif // CHROME_BROWSER_UI_ANDROID_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_ANDROID _H_ 107 #endif // CHROME_BROWSER_UI_ANDROID_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_ANDROID _H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/android/autofill/autofill_popup_view_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698