diff options
Diffstat (limited to 'chrome/browser/views/frame/browser_bubble_host.h')
-rw-r--r-- | chrome/browser/views/frame/browser_bubble_host.h | 36 |
1 files changed, 3 insertions, 33 deletions
diff --git a/chrome/browser/views/frame/browser_bubble_host.h b/chrome/browser/views/frame/browser_bubble_host.h index 99b8058..f903d99 100644 --- a/chrome/browser/views/frame/browser_bubble_host.h +++ b/chrome/browser/views/frame/browser_bubble_host.h @@ -6,38 +6,8 @@ #define CHROME_BROWSER_VIEWS_FRAME_BROWSER_BUBBLE_HOST_H_ #pragma once -#include <set> - -#include "base/basictypes.h" - -class BrowserBubble; - -// A class providing a hosting environment for BrowserBubble instances. -// Allows for notification to attached BrowserBubbles of browser move, and -// close events. -class BrowserBubbleHost { - public: - BrowserBubbleHost() {} - - // Invoked when the window containing the attached browser-bubbles is moved. - // Calls BrowserBubble::BrowserWindowMoved on all attached bubbles. - void WindowMoved(); - - // To be called when the frame containing the BrowserBubbleHost is closing. - // Calls BrowserBubble::BrowserWindowClosing on all attached bubbles. - void Close(); - - // Registers/Unregisters |bubble| to receive notifications when the host moves - // or is closed. - void AttachBrowserBubble(BrowserBubble* bubble); - void DetachBrowserBubble(BrowserBubble* bubble); - - private: - // The set of bubbles associated with this host. - typedef std::set<BrowserBubble*> BubbleSet; - BubbleSet browser_bubbles_; - - DISALLOW_COPY_AND_ASSIGN(BrowserBubbleHost); -}; +#include "chrome/browser/ui/views/frame/browser_bubble_host.h" +// TODO(beng): remove this file once all includes have been updated. #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_BUBBLE_HOST_H_ + |