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 |