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

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

Issue 707173004: Refactor Autofill for out of process iframes (OOPIF). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mem leak Created 6 years 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_client.h
diff --git a/components/autofill/core/browser/autofill_client.h b/components/autofill/core/browser/autofill_client.h
index 452c793b032a280d98388cd04ac0769e0409f540..e99a28e8fdd5b546e86155aeff171e68095a54ab 100644
--- a/components/autofill/core/browser/autofill_client.h
+++ b/components/autofill/core/browser/autofill_client.h
@@ -12,6 +12,10 @@
#include "base/memory/weak_ptr.h"
#include "base/strings/string16.h"
+namespace content {
+class RenderFrameHost;
+}
+
namespace gfx {
class Rect;
class RectF;
@@ -119,12 +123,16 @@ class AutofillClient {
// Pass the form structures to the password generation manager to detect
// account creation forms.
virtual void DetectAccountCreationForms(
+ content::RenderFrameHost* rfh,
const std::vector<autofill::FormStructure*>& forms) = 0;
// Inform the client that the field has been filled.
virtual void DidFillOrPreviewField(
const base::string16& autofilled_value,
const base::string16& profile_full_name) = 0;
+
+ // Informs the client that a user gesture has been observed.
+ virtual void OnFirstUserGestureObserved() = 0;
};
} // namespace autofill

Powered by Google App Engine
This is Rietveld 408576698