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

Unified Diff: chrome/browser/views/frame/browser_view.h

Issue 78002: Reorganize fullscreen mode handling. Now nearly everything is in WindowWin. ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 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 | « chrome/browser/views/frame/browser_frame.cc ('k') | chrome/browser/views/frame/browser_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/frame/browser_view.h
===================================================================
--- chrome/browser/views/frame/browser_view.h (revision 13761)
+++ chrome/browser/views/frame/browser_view.h (working copy)
@@ -72,11 +72,6 @@
// initiated.
void WindowMoveOrResizeStarted();
- // Returns whether the browser can be resized _now_. This differs from
- // CanResize() below, which returns whether the window is ever resizable in
- // principle.
- bool CanCurrentlyResize() const;
-
// Returns the bounds of the toolbar, in BrowserView coordinates.
gfx::Rect GetToolbarBounds() const;
@@ -269,15 +264,6 @@
views::View* parent,
views::View* child);
private:
- // Information saved before going into fullscreen mode, used to restore the
- // window afterwards.
- struct SavedWindowInfo {
- bool maximized;
- LONG style;
- LONG ex_style;
- RECT window_rect;
- };
-
// Browser window related initializations.
void Init();
@@ -391,16 +377,10 @@
// True if we have already been initialized.
bool initialized_;
- // True if we're in fullscreen mode.
- bool fullscreen_;
-
// True if we should ignore requests to layout. This is set while toggling
// fullscreen mode on and off to reduce jankiness.
bool ignore_layout_;
- // Saved window information from before entering fullscreen mode.
- SavedWindowInfo saved_window_info_;
-
scoped_ptr<FullscreenExitBubble> fullscreen_bubble_;
// Lazily created representation of the system menu.
« no previous file with comments | « chrome/browser/views/frame/browser_frame.cc ('k') | chrome/browser/views/frame/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698