summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/fullscreen_exit_bubble.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/fullscreen_exit_bubble.h')
-rw-r--r--chrome/browser/views/fullscreen_exit_bubble.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/browser/views/fullscreen_exit_bubble.h b/chrome/browser/views/fullscreen_exit_bubble.h
index ff855be..3c950de 100644
--- a/chrome/browser/views/fullscreen_exit_bubble.h
+++ b/chrome/browser/views/fullscreen_exit_bubble.h
@@ -25,6 +25,7 @@ class FullscreenExitBubble : public views::LinkController,
private:
class FullscreenExitView;
+ class FullscreenExitPopup;
static const double kOpacity; // Opacity of the bubble, 0.0 - 1.0
static const int kInitialDelayMs; // Initial time bubble remains onscreen
@@ -60,9 +61,9 @@ class FullscreenExitBubble : public views::LinkController,
// it.
CommandUpdater::CommandUpdaterDelegate* delegate_;
- // We use an HWND for the popup so that it may float above any plugins in the
- // page.
- views::WidgetWin* popup_;
+ // The popup itself, which is a slightly modified WidgetWin. We need to use
+ // a WidgetWin (and thus an HWND) to make the popup float over other HWNDs.
+ FullscreenExitPopup* popup_;
// The contents of the popup.
FullscreenExitView* view_;