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

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

Issue 1455793005: Adding a way to associate Android Activities with PlatformWindowAndroid (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@auraclank_upstream_native_widget
Patch Set: Making the new property "owned" property. Created 5 years 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 | « no previous file | 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 "ui/aura/aura_export.h" 8 #include "ui/aura/aura_export.h"
9 #include "ui/aura/window.h" 9 #include "ui/aura/window.h"
10 #include "ui/base/ui_base_types.h" 10 #include "ui/base/ui_base_types.h"
11 11
12 #if defined(OS_ANDROID)
13 class JavaObjectWeakGlobalRef;
14 #endif
15
12 namespace ui { 16 namespace ui {
13 class InputMethod; 17 class InputMethod;
14 } 18 }
15 19
16 namespace aura { 20 namespace aura {
17 namespace client { 21 namespace client {
18 22
19 // Alphabetical sort. 23 // Alphabetical sort.
20 24
25 #if defined(OS_ANDROID)
26 // A property key to store Android Activity associated with the root window.
27 AURA_EXPORT extern const WindowProperty<JavaObjectWeakGlobalRef*>* const
28 kActivityForRootWindow;
29 #endif
30
21 // A property key to store always-on-top flag. 31 // A property key to store always-on-top flag.
22 AURA_EXPORT extern const WindowProperty<bool>* const kAlwaysOnTopKey; 32 AURA_EXPORT extern const WindowProperty<bool>* const kAlwaysOnTopKey;
23 33
24 // A property key to store whether animations are disabled for the window. Type 34 // A property key to store whether animations are disabled for the window. Type
25 // of value is an int. 35 // of value is an int.
26 AURA_EXPORT extern const WindowProperty<bool>* const kAnimationsDisabledKey; 36 AURA_EXPORT extern const WindowProperty<bool>* const kAnimationsDisabledKey;
27 37
28 // A property key to store the can-maximize flag. 38 // A property key to store the can-maximize flag.
29 AURA_EXPORT extern const WindowProperty<bool>* const kCanMaximizeKey; 39 AURA_EXPORT extern const WindowProperty<bool>* const kCanMaximizeKey;
30 40
(...skipping 29 matching lines...) Expand all
60 // See ui/base/ui_base_types.h for its definition. 70 // See ui/base/ui_base_types.h for its definition.
61 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const 71 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const
62 kShowStateKey; 72 kShowStateKey;
63 73
64 // Alphabetical sort. 74 // Alphabetical sort.
65 75
66 } // namespace client 76 } // namespace client
67 } // namespace aura 77 } // namespace aura
68 78
69 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ 79 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_
OLDNEW
« no previous file with comments | « no previous file | ui/aura/client/aura_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698