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

Unified Diff: components/autofill/core/browser/autofill_external_delegate.h

Issue 286243002: Mac: Autofill should not immediately request access to address book. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Respond to comments from isherman. Created 6 years, 7 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
Index: components/autofill/core/browser/autofill_external_delegate.h
diff --git a/components/autofill/core/browser/autofill_external_delegate.h b/components/autofill/core/browser/autofill_external_delegate.h
index 672b2d63d18955557b72fa32fb7a86cbb7f57b67..e34dba2f91ff562552af27f6daeb29e3adf0b8f7 100644
--- a/components/autofill/core/browser/autofill_external_delegate.h
+++ b/components/autofill/core/browser/autofill_external_delegate.h
@@ -111,6 +111,11 @@ class AutofillExternalDelegate
std::vector<base::string16>* icons,
std::vector<int>* unique_ids);
+#if defined(OS_MACOSX)
+ // Reissues the most recent query, which will reopen the autofill popup.
+ void ReissueQuery();
+#endif
+
AutofillManager* manager_; // weak.
// Provides driver-level context to the shared code of the component. Must
@@ -142,6 +147,12 @@ class AutofillExternalDelegate
std::vector<base::string16> data_list_values_;
std::vector<base::string16> data_list_labels_;
+#if defined(OS_MACOSX)
+ // If this property is set, then the autofill popup is immediately
+ // redisplayed when the text field loses focus.
+ bool redisplay_popop_on_focus_lost_;
+#endif
+
base::WeakPtrFactory<AutofillExternalDelegate> weak_ptr_factory_;
DISALLOW_COPY_AND_ASSIGN(AutofillExternalDelegate);

Powered by Google App Engine
This is Rietveld 408576698