| Index: chrome/browser/views/browser_bubble.h
|
| ===================================================================
|
| --- chrome/browser/views/browser_bubble.h (revision 33297)
|
| +++ chrome/browser/views/browser_bubble.h (working copy)
|
| @@ -29,7 +29,10 @@
|
| virtual void BubbleGotFocus(BrowserBubble* bubble) {}
|
|
|
| // Called when the bubble became inactive / lost focus.
|
| - virtual void BubbleLostFocus(BrowserBubble* bubble) {}
|
| + // |focused_view| is the NativeView getting the focus, it may be NULL if the
|
| + // popup was closed programatically.
|
| + virtual void BubbleLostFocus(BrowserBubble* bubble,
|
| + gfx::NativeView focused_view) {}
|
| };
|
|
|
| // Note that the bubble will size itself to the preferred size of |view|.
|
| @@ -81,6 +84,9 @@
|
| // Resize the bubble to fit the view.
|
| void ResizeToView();
|
|
|
| + // Returns the NativeView containing that popup.
|
| + gfx::NativeView native_view() const { return frame_native_view_; }
|
| +
|
| protected:
|
| // Create the popup widget.
|
| virtual void InitPopup();
|
|
|