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

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

Issue 710453002: [Autofill] Componentize AutofillCCInfoBarDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed breakages on Android port. Created 5 years, 11 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_client.h
diff --git a/components/autofill/core/browser/autofill_client.h b/components/autofill/core/browser/autofill_client.h
index 47dca7d0d0619e123409d7a8785f78dd2c551b22..6096d0130f0077e26c550214260c50d2b0ce7329 100644
--- a/components/autofill/core/browser/autofill_client.h
+++ b/components/autofill/core/browser/autofill_client.h
@@ -11,6 +11,7 @@
#include "base/i18n/rtl.h"
#include "base/memory/weak_ptr.h"
#include "base/strings/string16.h"
+#include "ui/base/window_open_disposition.h"
namespace content {
class RenderFrameHost;
@@ -136,6 +137,10 @@ class AutofillClient {
// Informs the client that a user gesture has been observed.
virtual void OnFirstUserGestureObserved() = 0;
+
+ // Opens |url| with the supplied |disposition|.
+ virtual void LinkClicked(const GURL& url,
+ WindowOpenDisposition disposition) = 0;
};
} // namespace autofill

Powered by Google App Engine
This is Rietveld 408576698