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

Unified Diff: ash/wm/window_state_util.h

Issue 247363005: Fullscreen/immersive mode is allowed in touch view mode, the shelf gets hidden and an edge swipe br… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 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
Index: ash/wm/window_state_util.h
diff --git a/ash/wm/window_state_util.h b/ash/wm/window_state_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..48d3cb6287ab5b4e9043d549c345644e394014c2
--- /dev/null
+++ b/ash/wm/window_state_util.h
@@ -0,0 +1,19 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef ASH_WM_WINDOW_STATE_UTIL_H_
+#define ASH_WM_WINDOW_STATE_UTIL_H_
+
+namespace ash {
+namespace wm {
+class WindowState;
+class WindowStateDelegate;
+
+// Toggle the full screen from inside a WindowState::State handler.
+void ToggleFullScreen(WindowState* window_state, WindowStateDelegate* delegate);
oshima 2014/04/25 20:14:59 you don't need to pass delegate. Just get it from
Mr4D (OOO till 08-26) 2014/04/25 21:00:49 Since it is there private (and it is good that it
+
+} // namespace wm
+} // namespace ash
+
+#endif // ASH_WM_WINDOW_STATE_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698