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

Side by Side Diff: chrome/browser/gtk/browser_window_gtk.h

Issue 100106: Fullscreen mode for Linux. (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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/gtk/browser_toolbar_gtk.cc ('k') | chrome/browser/gtk/browser_window_gtk.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ 5 #ifndef CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_
6 #define CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ 6 #define CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_
7 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include "base/gfx/rect.h" 10 #include "base/gfx/rect.h"
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 143
144 // Callback for the loading animation(s) associated with this window. 144 // Callback for the loading animation(s) associated with this window.
145 void LoadingAnimationCallback(); 145 void LoadingAnimationCallback();
146 146
147 gfx::Rect bounds_; 147 gfx::Rect bounds_;
148 GdkWindowState state_; 148 GdkWindowState state_;
149 149
150 // Whether we're drawing the custom Chrome frame (including title bar). 150 // Whether we're drawing the custom Chrome frame (including title bar).
151 bool custom_frame_; 151 bool custom_frame_;
152 152
153 // Whether we are full screen. Since IsFullscreen() gets called before
154 // OnStateChanged(), we can't rely on |state_| & GDK_WINDOW_STATE_FULLSCREEN.
155 bool full_screen_;
156
153 // The object that manages all of the widgets in the toolbar. 157 // The object that manages all of the widgets in the toolbar.
154 scoped_ptr<BrowserToolbarGtk> toolbar_; 158 scoped_ptr<BrowserToolbarGtk> toolbar_;
155 159
156 // The object that manages the bookmark bar. 160 // The object that manages the bookmark bar.
157 scoped_ptr<BookmarkBarGtk> bookmark_bar_; 161 scoped_ptr<BookmarkBarGtk> bookmark_bar_;
158 162
159 // The status bubble manager. Always non-NULL. 163 // The status bubble manager. Always non-NULL.
160 scoped_ptr<StatusBubbleGtk> status_bubble_; 164 scoped_ptr<StatusBubbleGtk> status_bubble_;
161 165
162 // A container that manages the GtkWidget*s that are the webpage display 166 // A container that manages the GtkWidget*s that are the webpage display
(...skipping 14 matching lines...) Expand all
177 // Experiment with using views for gtk. 181 // Experiment with using views for gtk.
178 scoped_ptr<views::WidgetGtk> experimental_widget_; 182 scoped_ptr<views::WidgetGtk> experimental_widget_;
179 183
180 // The timer used to update frames for the Loading Animation. 184 // The timer used to update frames for the Loading Animation.
181 base::RepeatingTimer<BrowserWindowGtk> loading_animation_timer_; 185 base::RepeatingTimer<BrowserWindowGtk> loading_animation_timer_;
182 186
183 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); 187 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk);
184 }; 188 };
185 189
186 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ 190 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/gtk/browser_toolbar_gtk.cc ('k') | chrome/browser/gtk/browser_window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698