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

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

Issue 710453002: [Autofill] Componentize AutofillCCInfoBarDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove infobar if its associated page content is destroyed. Created 5 years, 12 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_driver.h
diff --git a/components/autofill/core/browser/autofill_driver.h b/components/autofill/core/browser/autofill_driver.h
index b690191ffd411a7c4b3fd0e4708bd641657ba4f8..f15df9a597e5817e775a75ea2d42d8f86920f915 100644
--- a/components/autofill/core/browser/autofill_driver.h
+++ b/components/autofill/core/browser/autofill_driver.h
@@ -7,7 +7,9 @@
#include <vector>
+#include "base/memory/weak_ptr.h"
Ilya Sherman 2015/01/06 02:54:59 nit: Looks like this is currently unused.
Pritam Nikam 2015/01/06 12:47:42 Done.
#include "components/autofill/core/common/form_data.h"
+#include "ui/base/window_open_disposition.h"
namespace base {
class SequencedWorkerPool;
@@ -89,6 +91,10 @@ class AutofillDriver {
// Tells the renderer to preview the node with suggested text.
virtual void RendererShouldPreviewFieldWithValue(
const base::string16& value) = 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