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

Unified Diff: chrome/browser/ui/autofill/tab_autofill_manager_delegate.cc

Issue 21205007: [rAc Android] Remove the old dialog implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/autofill/autofill_dialog_view.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/autofill/tab_autofill_manager_delegate.cc
diff --git a/chrome/browser/ui/autofill/tab_autofill_manager_delegate.cc b/chrome/browser/ui/autofill/tab_autofill_manager_delegate.cc
index 00007baeee69965f984f6c87bbe7ccf2c1fb90a7..53c6a909b9ebd952377b4e1752ff00b20a4aad86 100644
--- a/chrome/browser/ui/autofill/tab_autofill_manager_delegate.cc
+++ b/chrome/browser/ui/autofill/tab_autofill_manager_delegate.cc
@@ -142,6 +142,7 @@ void TabAutofillManagerDelegate::ShowRequestAutocompleteDialog(
DialogType dialog_type,
const base::Callback<void(const FormStructure*,
const std::string&)>& callback) {
+#if defined(ENABLE_AUTOFILL_DIALOG)
HideRequestAutocompleteDialog();
dialog_controller_ = AutofillDialogControllerImpl::Create(web_contents_,
@@ -150,6 +151,10 @@ void TabAutofillManagerDelegate::ShowRequestAutocompleteDialog(
dialog_type,
callback);
dialog_controller_->Show();
+#else
+ callback.Run(NULL, std::string());
+ NOTIMPLEMENTED();
+#endif // #if !defined(ENABLE_AUTOFILL_DIALOG)
}
void TabAutofillManagerDelegate::ShowAutofillPopup(
« no previous file with comments | « chrome/browser/ui/autofill/autofill_dialog_view.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698