| Index: components/autofill/content/browser/content_autofill_driver.h
|
| diff --git a/components/autofill/content/browser/content_autofill_driver.h b/components/autofill/content/browser/content_autofill_driver.h
|
| index cb35d811d533fa362c108a52dccfca01ce96049d..2e3993cfa65733be7e60cc2272f856f72fff1164 100644
|
| --- a/components/autofill/content/browser/content_autofill_driver.h
|
| +++ b/components/autofill/content/browser/content_autofill_driver.h
|
| @@ -17,6 +17,7 @@
|
| namespace content {
|
| class BrowserContext;
|
| class RenderFrameHost;
|
| +class WebContents;
|
| struct FrameNavigateParams;
|
| struct LoadCommittedDetails;
|
| }
|
| @@ -61,6 +62,7 @@ class ContentAutofillDriver : public AutofillDriver {
|
| void RendererShouldFillFieldWithValue(const base::string16& value) override;
|
| void RendererShouldPreviewFieldWithValue(
|
| const base::string16& value) override;
|
| + void LinkClicked(const GURL& url, WindowOpenDisposition disposition) override;
|
|
|
| // Handles a message that came from the associated render frame.
|
| bool HandleMessage(const IPC::Message& message);
|
| @@ -82,6 +84,9 @@ class ContentAutofillDriver : public AutofillDriver {
|
| void SetAutofillManager(scoped_ptr<AutofillManager> manager);
|
|
|
| private:
|
| + // Gets the WebContents instance associated with the driver.
|
| + content::WebContents* GetWebContents();
|
| +
|
| // Weak ref to the RenderFrameHost the driver is associated with. Should
|
| // always be non-NULL and valid for lifetime of |this|.
|
| content::RenderFrameHost* const render_frame_host_;
|
|
|