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

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: Add IPCs. 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..3d102a209bf8ab9047f107df0f5ae17cedd0bc0e 100644
--- a/components/autofill/core/browser/autofill_external_delegate.h
+++ b/components/autofill/core/browser/autofill_external_delegate.h
@@ -80,6 +80,10 @@ class AutofillExternalDelegate
// values or settings.
void Reset();
+ // Called by the autofill manager after it receives an IPC from the renderer
+ // acknowledging an earlier ping IPC.
+ void OnPingAck();
+
protected:
base::WeakPtr<AutofillExternalDelegate> GetWeakPtr();
@@ -111,6 +115,13 @@ 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();
+ // Pings the renderer.
+ void PingRenderer();
+#endif
+
AutofillManager* manager_; // weak.
// Provides driver-level context to the shared code of the component. Must

Powered by Google App Engine
This is Rietveld 408576698