| Index: chrome/browser/ui/fullscreen_exit_bubble.h
|
| diff --git a/chrome/browser/ui/fullscreen_exit_bubble.h b/chrome/browser/ui/fullscreen_exit_bubble.h
|
| index 0f2c14c094ad1e9aa38c42c22b3d9a90943ede7c..1d1aba585b1c359422391486702f184505ff2a69 100644
|
| --- a/chrome/browser/ui/fullscreen_exit_bubble.h
|
| +++ b/chrome/browser/ui/fullscreen_exit_bubble.h
|
| @@ -9,9 +9,12 @@
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/timer.h"
|
| #include "chrome/browser/command_updater.h"
|
| +#include "googleurl/src/gurl.h"
|
| #include "ui/base/animation/animation_delegate.h"
|
| #include "ui/gfx/point.h"
|
|
|
| +class Browser;
|
| +
|
| namespace ui {
|
| class SlideAnimation;
|
| }
|
| @@ -22,8 +25,7 @@ class Rect;
|
|
|
| class FullscreenExitBubble : public ui::AnimationDelegate {
|
| public:
|
| - explicit FullscreenExitBubble(
|
| - CommandUpdater::CommandUpdaterDelegate* delegate);
|
| + explicit FullscreenExitBubble(Browser* browser);
|
| virtual ~FullscreenExitBubble();
|
|
|
| protected:
|
| @@ -66,11 +68,14 @@ class FullscreenExitBubble : public ui::AnimationDelegate {
|
|
|
| void ToggleFullscreen();
|
|
|
| - private:
|
| - // Someone who can toggle fullscreen mode on and off when the user requests
|
| - // it.
|
| - CommandUpdater::CommandUpdaterDelegate* delegate_;
|
| + void AcceptFullscreen(const GURL& url);
|
| +
|
| + void CancelFullscreen();
|
|
|
| + // The browser this bubble is in.
|
| + Browser* browser_;
|
| +
|
| + private:
|
| // Timer to delay before allowing the bubble to hide after it's initially
|
| // shown.
|
| base::OneShotTimer<FullscreenExitBubble> initial_delay_;
|
|
|