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

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

Issue 2514473003: Replace IDR window property use with gfx::ImageSkia icons. (Closed)
Patch Set: Add owership comments. Created 4 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
« no previous file with comments | « ash/mus/window_manager.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 "ash/common/shelf/shelf_item_types.h" 9 #include "ash/common/shelf/shelf_item_types.h"
10 #include "ui/base/ui_base_types.h" 10 #include "ui/base/ui_base_types.h"
(...skipping 25 matching lines...) Expand all
36 // maximized mode window manager. 36 // maximized mode window manager.
37 ASH_EXPORT extern const aura::WindowProperty<gfx::Rect*>* const 37 ASH_EXPORT extern const aura::WindowProperty<gfx::Rect*>* const
38 kRestoreBoundsOverrideKey; 38 kRestoreBoundsOverrideKey;
39 39
40 // A property key which stores the bounds to restore a window to. These take 40 // A property key which stores the bounds to restore a window to. These take
41 // preference over the current bounds/state if |kRestoreBoundsOverrideKey| is 41 // preference over the current bounds/state if |kRestoreBoundsOverrideKey| is
42 // set. This is used by e.g. the always maximized mode window manager. 42 // set. This is used by e.g. the always maximized mode window manager.
43 ASH_EXPORT extern const aura::WindowProperty<ui::WindowShowState>* const 43 ASH_EXPORT extern const aura::WindowProperty<ui::WindowShowState>* const
44 kRestoreShowStateOverrideKey; 44 kRestoreShowStateOverrideKey;
45 45
46 // A property key to store the icon resource id for a window's shelf item.
47 ASH_EXPORT extern const aura::WindowProperty<int>* const
48 kShelfIconResourceIdKey;
49
50 // A property key to store the id for a window's shelf item. 46 // A property key to store the id for a window's shelf item.
51 ASH_EXPORT extern const aura::WindowProperty<ShelfID>* const kShelfIDKey; 47 ASH_EXPORT extern const aura::WindowProperty<ShelfID>* const kShelfIDKey;
52 48
53 // A property key to store the type of a window's shelf item. 49 // A property key to store the type of a window's shelf item.
54 ASH_EXPORT extern const aura::WindowProperty<int>* const kShelfItemTypeKey; 50 ASH_EXPORT extern const aura::WindowProperty<int>* const kShelfItemTypeKey;
55 51
56 // Containers with this property (true) are aligned with physical pixel 52 // Containers with this property (true) are aligned with physical pixel
57 // boundary. 53 // boundary.
58 extern const aura::WindowProperty<bool>* const kSnapChildrenToPixelBoundary; 54 extern const aura::WindowProperty<bool>* const kSnapChildrenToPixelBoundary;
59 55
60 // Property to tell if the container uses the screen coordinates. 56 // Property to tell if the container uses the screen coordinates.
61 extern const aura::WindowProperty<bool>* const kUsesScreenCoordinatesKey; 57 extern const aura::WindowProperty<bool>* const kUsesScreenCoordinatesKey;
62 58
63 // A property key to store WindowState in the window. The window state 59 // A property key to store WindowState in the window. The window state
64 // is owned by the window. 60 // is owned by the window.
65 extern const aura::WindowProperty<wm::WindowState*>* const kWindowStateKey; 61 extern const aura::WindowProperty<wm::WindowState*>* const kWindowStateKey;
66 62
67 // Alphabetical sort. 63 // Alphabetical sort.
68 64
69 } // namespace ash 65 } // namespace ash
70 66
71 #endif // ASH_WM_WINDOW_PROPERTIES_H_ 67 #endif // ASH_WM_WINDOW_PROPERTIES_H_
OLDNEW
« no previous file with comments | « ash/mus/window_manager.cc ('k') | ash/wm/window_properties.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698