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

Side by Side Diff: ash/wm/window_properties.h

Issue 42353002: Introduce WindowStateDelegate::ToggleFullscreen (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: exclude accelerator_commands_browsertest on win 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/test/test_shell_delegate.cc ('k') | ash/wm/window_properties.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 ASH_WM_WINDOW_PROPERTIES_H_ 5 #ifndef ASH_WM_WINDOW_PROPERTIES_H_
6 #define ASH_WM_WINDOW_PROPERTIES_H_ 6 #define ASH_WM_WINDOW_PROPERTIES_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ui/base/ui_base_types.h" 9 #include "ui/base/ui_base_types.h"
10 10
11 namespace aura { 11 namespace aura {
12 class Window; 12 class Window;
13 13
14 template<typename T> 14 template<typename T>
15 struct WindowProperty; 15 struct WindowProperty;
16 } 16 }
17 17
18 namespace ash { 18 namespace ash {
19 namespace wm { 19 namespace wm {
20 class WindowState; 20 class WindowState;
21 } // namespace wm 21 } // namespace wm
22 namespace internal { 22 namespace internal {
23 23
24 // Shell-specific window property keys. 24 // Shell-specific window property keys.
25 25
26 // Alphabetical sort. 26 // Alphabetical sort.
27 27
28 // A property key to suppress the cross-fade animation for the transition to
29 // the fullscreen state.
30 extern const aura::WindowProperty<bool>* const kAnimateToFullscreenKey;
31
32 // If this is set to true, the window stays in the same root window 28 // If this is set to true, the window stays in the same root window
33 // even if the bounds outside of its root window is set. 29 // even if the bounds outside of its root window is set.
34 // This is exported as it's used in the tests. 30 // This is exported as it's used in the tests.
35 ASH_EXPORT extern const aura::WindowProperty<bool>* const 31 ASH_EXPORT extern const aura::WindowProperty<bool>* const
36 kStayInSameRootWindowKey; 32 kStayInSameRootWindowKey;
37 33
38 // Property to tell if the container uses the screen coordinates. 34 // Property to tell if the container uses the screen coordinates.
39 extern const aura::WindowProperty<bool>* const kUsesScreenCoordinatesKey; 35 extern const aura::WindowProperty<bool>* const kUsesScreenCoordinatesKey;
40 36
41 // A property key to store WindowState in the window. The window state 37 // A property key to store WindowState in the window. The window state
42 // is owned by the window. 38 // is owned by the window.
43 extern const aura::WindowProperty<wm::WindowState*>* const kWindowStateKey; 39 extern const aura::WindowProperty<wm::WindowState*>* const kWindowStateKey;
44 40
45 // Alphabetical sort. 41 // Alphabetical sort.
46 42
47 } // namespace internal 43 } // namespace internal
48 } // namespace ash 44 } // namespace ash
49 45
50 #endif // ASH_WM_WINDOW_PROPERTIES_H_ 46 #endif // ASH_WM_WINDOW_PROPERTIES_H_
OLDNEW
« no previous file with comments | « ash/test/test_shell_delegate.cc ('k') | ash/wm/window_properties.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698