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

Side by Side Diff: ui/aura/client/aura_constants.h

Issue 2685333005: ash: fix regression where ctrl+n put new window on wrong desktop (Closed)
Patch Set: Rebase to ToT Created 3 years, 9 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
« no previous file with comments | « chrome/test/base/in_process_browser_test_mac.cc ('k') | ui/aura/client/aura_constants.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 UI_AURA_CLIENT_AURA_CONSTANTS_H_ 5 #ifndef UI_AURA_CLIENT_AURA_CONSTANTS_H_
6 #define UI_AURA_CLIENT_AURA_CONSTANTS_H_ 6 #define UI_AURA_CLIENT_AURA_CONSTANTS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 // A property key to store the string id of the app associated with this window. 42 // A property key to store the string id of the app associated with this window.
43 AURA_EXPORT extern const WindowProperty<std::string*>* const kAppIdKey; 43 AURA_EXPORT extern const WindowProperty<std::string*>* const kAppIdKey;
44 44
45 // A property key to store the type of window that will be used to record 45 // A property key to store the type of window that will be used to record
46 // pointer metrics. See AppType in ash/shared/app_types.h for more details. 46 // pointer metrics. See AppType in ash/shared/app_types.h for more details.
47 AURA_EXPORT extern const WindowProperty<int>* const kAppType; 47 AURA_EXPORT extern const WindowProperty<int>* const kAppType;
48 48
49 // A property key to store if a window is a constrained window or not. 49 // A property key to store if a window is a constrained window or not.
50 AURA_EXPORT extern const WindowProperty<bool>* const kConstrainedWindowKey; 50 AURA_EXPORT extern const WindowProperty<bool>* const kConstrainedWindowKey;
51 51
52 // A property key to store if a window was created by a user gesture.
53 AURA_EXPORT extern const WindowProperty<bool>* const kCreatedByUserGesture;
54
52 // A property key to indicate that a window should show that it deserves 55 // A property key to indicate that a window should show that it deserves
53 // attention. 56 // attention.
54 AURA_EXPORT extern const aura::WindowProperty<bool>* const kDrawAttentionKey; 57 AURA_EXPORT extern const aura::WindowProperty<bool>* const kDrawAttentionKey;
55 58
56 // A property key to store the host window of a window. This lets 59 // A property key to store the host window of a window. This lets
57 // WebContentsViews find the windows that should constrain NPAPI plugins. 60 // WebContentsViews find the windows that should constrain NPAPI plugins.
58 AURA_EXPORT extern const WindowProperty<Window*>* const kHostWindowKey; 61 AURA_EXPORT extern const WindowProperty<Window*>* const kHostWindowKey;
59 62
60 // A property key to indicate that a window should be in immersive mode when the 63 // A property key to indicate that a window should be in immersive mode when the
61 // window enters the fullscreen mode. The immersive fullscreen mode is slightly 64 // window enters the fullscreen mode. The immersive fullscreen mode is slightly
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 124
122 AURA_EXPORT extern const aura::WindowProperty<ui::mojom::WindowType>* const 125 AURA_EXPORT extern const aura::WindowProperty<ui::mojom::WindowType>* const
123 kWindowTypeKey; 126 kWindowTypeKey;
124 127
125 // Alphabetical sort. 128 // Alphabetical sort.
126 129
127 } // namespace client 130 } // namespace client
128 } // namespace aura 131 } // namespace aura
129 132
130 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ 133 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/test/base/in_process_browser_test_mac.cc ('k') | ui/aura/client/aura_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698