Chromium Code Reviews| Index: chrome/browser/ui/passwords/password_ui_view.h |
| diff --git a/chrome/browser/ui/passwords/password_ui_view.h b/chrome/browser/ui/passwords/password_ui_view.h |
| index be925f8c297b5aae9775ef87bdaf6174c47f1c22..b018a3fade1cf06d9773a023bd42c1f1556c2c17 100644 |
| --- a/chrome/browser/ui/passwords/password_ui_view.h |
| +++ b/chrome/browser/ui/passwords/password_ui_view.h |
| @@ -11,6 +11,10 @@ namespace autofill { |
| struct PasswordForm; |
| } |
| +namespace content { |
| +class WebContents; |
| +} |
| + |
| class Profile; |
| // An interface for a passwords UI View. A UI view is responsible for |
| @@ -39,6 +43,9 @@ class PasswordUIView { |
| // |password_exception_list| The list of saved password exceptions. |
| virtual void SetPasswordExceptionList( |
| const ScopedVector<autofill::PasswordForm>& password_exception_list) = 0; |
| + |
| + // Returns the WebContents for the view |
| + virtual content::WebContents* GetWebContents() = 0; |
|
Patrick Dubroy
2013/11/27 16:59:18
I don't think this makes sense. This interface is
|
| }; |
| #endif // CHROME_BROWSER_UI_PASSWORDS_PASSWORD_UI_VIEW_H_ |