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

Unified Diff: chrome/browser/ui/gtk/extensions/native_app_window_gtk.cc

Issue 12854008: Implement NativeAppWindowGtk::IsFullscreen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/extensions/native_app_window_gtk.cc
diff --git a/chrome/browser/ui/gtk/extensions/native_app_window_gtk.cc b/chrome/browser/ui/gtk/extensions/native_app_window_gtk.cc
index 0aa671f3dad21701bf2f61d625467b42588e5bc2..b717e1060cf75761e3a3da01122ca136138779ed 100644
--- a/chrome/browser/ui/gtk/extensions/native_app_window_gtk.cc
+++ b/chrome/browser/ui/gtk/extensions/native_app_window_gtk.cc
@@ -157,7 +157,7 @@ bool NativeAppWindowGtk::IsMinimized() const {
}
bool NativeAppWindowGtk::IsFullscreen() const {
- return false;
+ return (state_ & GDK_WINDOW_STATE_FULLSCREEN);
}
gfx::NativeWindow NativeAppWindowGtk::GetNativeWindow() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698