| Index: chrome/browser/autofill/autofill_external_delegate.h
|
| diff --git a/chrome/browser/autofill/autofill_external_delegate.h b/chrome/browser/autofill/autofill_external_delegate.h
|
| index 10f467ef367b346e506a3e7ecb33c5ab1f36dfa4..8d853ad38b53f2eb69142993eeb6b807a3a103e8 100644
|
| --- a/chrome/browser/autofill/autofill_external_delegate.h
|
| +++ b/chrome/browser/autofill/autofill_external_delegate.h
|
| @@ -21,6 +21,10 @@ namespace gfx {
|
| class Rect;
|
| }
|
|
|
| +namespace content {
|
| +class WebContents;
|
| +}
|
| +
|
| // TODO(csharp): A lot of the logic in this class is copied from autofillagent.
|
| // Once Autofill is moved out of WebKit this class should be the only home for
|
| // this logic. See http://crbug.com/51644
|
| @@ -133,6 +137,9 @@ class AutofillExternalDelegate {
|
| // Return the profile that this autofill delegate is currently working with.
|
| Profile* profile() { return tab_contents_->profile(); }
|
|
|
| + // Return the web_contents assoicated with this delegate.
|
| + content::WebContents* web_contents() { return tab_contents_->web_contents(); }
|
| +
|
| private:
|
| // Fills the form with the Autofill data corresponding to |unique_id|.
|
| // If |is_preview| is true then this is just a preview to show the user what
|
|
|