From 7435b830a7b6d2a43f94afbcca57bbc102db2ef3 Mon Sep 17 00:00:00 2001 From: "pkasting@chromium.org" Date: Thu, 12 Mar 2009 00:40:23 +0000 Subject: Make fullscreen exit bubble link work by preventing the bubble from ever being activated. Not sure why this worked in the first place and then regressed. BUG=8318 Review URL: http://codereview.chromium.org/43107 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11503 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/views/fullscreen_exit_bubble.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'chrome/browser/views/fullscreen_exit_bubble.h') 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_; -- cgit v1.1