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

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: Abstracting the call to WebContents::OpenURL() through the AutofillClient. 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 4e95487900267840c2139bb705e628c690382c94..23963856f38725202215b72c226c2f0719c3c42d 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