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

Unified Diff: apps/ui/native_app_window.h

Issue 59043013: Add flag to enable immersive fullscreen for v2 apps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 | « apps/shell_window.cc ('k') | ash/ash.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/ui/native_app_window.h
diff --git a/apps/ui/native_app_window.h b/apps/ui/native_app_window.h
index 222a680512642d06e5165d4e3f3de210b877d596..73f6f881aaba8d4411b6166ebec8407aab91dfd3 100644
--- a/apps/ui/native_app_window.h
+++ b/apps/ui/native_app_window.h
@@ -18,8 +18,11 @@ namespace apps {
class NativeAppWindow : public ui::BaseWindow,
public web_modal::WebContentsModalDialogHost {
public:
- // Fullscreen changes may be asynchronous on some platforms.
- virtual void SetFullscreen(bool fullscreen) = 0;
+ // Sets whether the window is fullscreen and the type of fullscreen.
+ // |fullscreen_types| is a bit field of ShellWindow::FullscreenType.
+ virtual void SetFullscreen(int fullscreen_types) = 0;
+
+ // Returns whether the window is fullscreen or about to enter fullscreen.
virtual bool IsFullscreenOrPending() const = 0;
// Returns true if the window is a panel that has been detached.
« no previous file with comments | « apps/shell_window.cc ('k') | ash/ash.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698