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

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: Abstracting the call to WebContents::OpenURL() throuh the AutofillDriver. Created 6 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: 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 748ad6e5b4a87be08347eae195f74e5700da2b7b..1c8fcc4302e9e5c6df5d046eb70c493f80d36a67 100644
--- a/components/autofill/core/browser/autofill_driver.h
+++ b/components/autofill/core/browser/autofill_driver.h
@@ -8,6 +8,7 @@
#include <vector>
#include "components/autofill/core/common/form_data.h"
+#include "ui/base/window_open_disposition.h"
Ilya Sherman 2014/11/21 18:41:53 You'll need to add "+ui" to the DEPS file to accou
Pritam Nikam 2014/11/24 14:45:54 Done. Added dependency under |components/autofill
namespace base {
class SequencedWorkerPool;
@@ -84,6 +85,9 @@ class AutofillDriver {
// Tells the renderer to preview the node with suggested text.
virtual void RendererShouldPreviewFieldWithValue(
const base::string16& value) = 0;
+
+ // Opens the link clicked with |disposition|.
+ virtual void LinkClicked(WindowOpenDisposition disposition) const = 0;
Ilya Sherman 2014/11/21 18:41:53 This is either too general a method signature, or
Pritam Nikam 2014/11/24 14:45:54 Done. Changed to: virtual void LinkClicked(const
};
} // namespace autofill

Powered by Google App Engine
This is Rietveld 408576698