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

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

Issue 542001: Fixes two fullscreen bugs on views/gtk:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 11 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_gtk.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 35755)
+++ chrome/browser/views/frame/browser_view.h (working copy)
@@ -213,6 +213,10 @@
// Returns whether the fullscreen bubble is visible or not.
bool IsFullscreenBubbleVisible() const;
+ // Invoked from the frame when the full screen state changes. This is only
+ // used on Linux.
+ void FullScreenStateChanged();
+
// Overridden from BrowserWindow:
virtual void Show();
virtual void SetBounds(const gfx::Rect& bounds);
@@ -417,6 +421,13 @@
// Returns true if anything was changed, and a re-Layout is now required.
bool UpdateChildViewAndLayout(views::View* new_view, views::View** old_view);
+ // Invoked to update the necessary things when our fullscreen state changes
+ // to |fullscreen|. On Windows this is invoked immediately when we toggle the
+ // full screen state. On Linux changing the fullscreen state is async, so we
+ // ask the window to change it's fullscreen state, then when we get
+ // notification that it succeeded this method is invoked.
+ void ProcessFullscreen(bool fullscreen);
+
// Copy the accelerator table from the app resources into something we can
// use.
void LoadAccelerators();
« no previous file with comments | « chrome/browser/views/frame/browser_frame_gtk.cc ('k') | chrome/browser/views/frame/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698