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

Unified Diff: chrome/browser/autofill/autofill_external_delegate.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/browser/autofill/autofill_external_delegate.h
diff --git a/chrome/browser/autofill/autofill_external_delegate.h b/chrome/browser/autofill/autofill_external_delegate.h
index 7a88c9813fe7b074ce0d182cda22799134111131..6a83ec51b1ffd93c818d5ce73bddc7b267f13586 100644
--- a/chrome/browser/autofill/autofill_external_delegate.h
+++ b/chrome/browser/autofill/autofill_external_delegate.h
@@ -13,6 +13,10 @@
class AutofillManager;
class TabContentsWrapper;
+namespace gfx {
+class Rect;
+}
+
namespace webkit_glue {
struct FormData;
struct FormField;
@@ -45,6 +49,16 @@ class AutofillExternalDelegate {
const std::vector<string16>& autofill_icons,
const std::vector<int>& autofill_unique_ids) = 0;
+ // Set the bounds of the element we are providing the Autofill data
John Grabowski 2011/11/08 20:46:02 Be more specific. E.g. state clearly this is the
csharp 2011/11/09 16:18:37 Done.
+ // for.
+ virtual void SetAutofillElementBounds(const gfx::Rect& bounds) = 0;
+
+ // Show the Autofill popup.
+ virtual void ShowAutofillPopup() = 0;
John Grabowski 2011/11/08 20:46:02 HideAutofillPopup() seems fine since it should be
csharp 2011/11/09 16:18:37 True, I had removed the Webkit call to it already
+
+ // Hide the Autofill poup.
+ virtual void HideAutofillPopup() = 0;
+
// Platforms that wish to implement an external Autofill delegate
// MUST implement this. The 1st arg is the tab contents that owns
// this delegate; the second is the Autofill manager owned by the

Powered by Google App Engine
This is Rietveld 408576698