Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5160)

Unified Diff: chrome/browser/ui/views/frame/browser_view.cc

Issue 10871020: Move Fullscreen stuff onto FullscreenHandler type that hangs off NWW. This is the first step in mov… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/views/views.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/frame/browser_view.cc
===================================================================
--- chrome/browser/ui/views/frame/browser_view.cc (revision 152779)
+++ chrome/browser/ui/views/frame/browser_view.cc (working copy)
@@ -124,6 +124,7 @@
#include "chrome/browser/jumplist_win.h"
#include "chrome/browser/ui/views/omnibox/omnibox_view_win.h"
#include "ui/views/widget/native_widget_win.h"
+#include "ui/views/win/scoped_fullscreen_visibility.h"
#endif
#if defined(USE_AURA)
@@ -2231,8 +2232,7 @@
#endif
}
#if defined(OS_WIN) && !defined(USE_AURA)
- static_cast<views::NativeWidgetWin*>(frame_->native_widget())->
- PushForceHidden();
+ views::ScopedFullscreenVisibility visibility(frame_->GetNativeView());
#endif
if (type == FOR_METRO) {
@@ -2269,10 +2269,6 @@
// it's in its final position.
ignore_layout_ = false;
Layout();
-#if defined(OS_WIN) && !defined(USE_AURA)
- static_cast<views::NativeWidgetWin*>(frame_->native_widget())->
- PopForceHidden();
-#endif
}
void BrowserView::LoadAccelerators() {
« no previous file with comments | « no previous file | ui/views/views.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698