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

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

Issue 974323002: Componentize autofill dialog common code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 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"
11 #include "base/android/scoped_java_ref.h" 11 #include "base/android/scoped_java_ref.h"
12 #include "base/time/time.h" 12 #include "base/time/time.h"
13 #include "chrome/browser/ui/autofill/autofill_dialog_controller.h" 13 #include "chrome/browser/ui/autofill/autofill_dialog_controller.h"
14 #include "chrome/browser/ui/autofill/autofill_dialog_types.h"
15 #include "components/autofill/core/browser/autofill_client.h" 14 #include "components/autofill/core/browser/autofill_client.h"
16 #include "components/autofill/core/browser/autofill_metrics.h" 15 #include "components/autofill/core/browser/autofill_metrics.h"
16 #include "components/autofill/core/browser/ui/autofill_dialog_types.h"
17 17
18 class Profile; 18 class Profile;
19 19
20 namespace autofill { 20 namespace autofill {
21 21
22 // This class defines the form-filling host and JNI glue for the Java-side 22 // This class defines the form-filling host and JNI glue for the Java-side
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.
(...skipping 71 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

Powered by Google App Engine
This is Rietveld 408576698