| Index: chrome/browser/ui/cocoa/browser_window_cocoa.h
|
| diff --git a/chrome/browser/ui/cocoa/browser_window_cocoa.h b/chrome/browser/ui/cocoa/browser_window_cocoa.h
|
| index fd9c923ebeae39ed25f7a56e46aad813ecc1cbd8..f33cbec90016b430b950c1385b722342c2c1f4a9 100644
|
| --- a/chrome/browser/ui/cocoa/browser_window_cocoa.h
|
| +++ b/chrome/browser/ui/cocoa/browser_window_cocoa.h
|
| @@ -145,6 +145,10 @@ class BrowserWindowCocoa :
|
| virtual void ShowAvatarBubble(content::WebContents* web_contents,
|
| const gfx::Rect& rect) OVERRIDE;
|
| virtual void ShowAvatarBubbleFromAvatarButton() OVERRIDE;
|
| + virtual void ShowPasswordGenerationBubble(
|
| + const gfx::Rect& rect,
|
| + const content::PasswordForm& form,
|
| + autofill::PasswordGenerator* password_generator) OVERRIDE;
|
|
|
| // Overridden from NotificationObserver
|
| virtual void OnPreferenceChanged(PrefServiceBase* service,
|
| @@ -166,6 +170,9 @@ class BrowserWindowCocoa :
|
| private:
|
| NSWindow* window() const; // Accessor for the (current) |NSWindow|.
|
|
|
| + NSPoint GetPointForBubble(content::WebContents* web_contents,
|
| + const gfx::Rect& rect) const;
|
| +
|
| PrefChangeRegistrar pref_change_registrar_;
|
| Browser* browser_; // weak, owned by controller
|
| BrowserWindowController* controller_; // weak, owns us
|
|
|