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

Unified Diff: chrome/common/autofill_messages.h

Issue 8490017: Setting up external delegate calls to allow a future delegate to handle autofill (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Adding code review changes Created 9 years, 1 month 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: chrome/common/autofill_messages.h
diff --git a/chrome/common/autofill_messages.h b/chrome/common/autofill_messages.h
index c5a1ddd3e01f4de33d76cba945cbb5c29c57bb95..cd185f390e0483ddf6d11fa864898ec560d66abb 100644
--- a/chrome/common/autofill_messages.h
+++ b/chrome/common/autofill_messages.h
@@ -92,6 +92,11 @@ IPC_MESSAGE_ROUTED1(
IPC_MESSAGE_ROUTED1(AutofillMsg_SelectAutofillSuggestionAtIndex,
int /* listIndex */)
+// Inform the renderer that the browser has an external delegate
+// that will display the Autofill popup.
+IPC_MESSAGE_ROUTED1(AutofillMsg_SetHasExternalDelegate,
+ bool /* has_external_delegate */)
+
// Autofill messages sent from the renderer to the browser.
// Notification that forms have been seen that are candidates for
@@ -155,4 +160,15 @@ IPC_MESSAGE_ROUTED2(AutofillHostMsg_RemoveAutocompleteEntry,
// Instructs the browser to show the Autofill dialog.
IPC_MESSAGE_ROUTED0(AutofillHostMsg_ShowAutofillDialog)
+// Instructs the browser to hide the Autofill popup.
+IPC_MESSAGE_ROUTED0(AutofillHostMsg_HideAutofillPopup)
+
+// Messages to the Autofill delegate (which lives in the browser) from the
+// renderer.
+// Tells the external delegate where the element it is working on appears.
+IPC_MESSAGE_ROUTED4(AutofillHostMsg_AutofillElementBounds,
+ int /* x */,
+ int /* y */,
+ int /* width */,
+ int /* height */)

Powered by Google App Engine
This is Rietveld 408576698