OLD | NEW |
---|---|
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 CHROME_BROWSER_UI_PANELS_PANEL_CONSTANTS_H_ | 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_CONSTANTS_H_ |
6 #define CHROME_BROWSER_UI_PANELS_PANEL_CONSTANTS_H_ | 6 #define CHROME_BROWSER_UI_PANELS_PANEL_CONSTANTS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 namespace panel { | 9 namespace panel { |
10 | 10 |
(...skipping 11 matching lines...) Expand all Loading... | |
22 RESIZE_TOP, | 22 RESIZE_TOP, |
23 RESIZE_TOP_RIGHT, | 23 RESIZE_TOP_RIGHT, |
24 RESIZE_RIGHT, | 24 RESIZE_RIGHT, |
25 RESIZE_BOTTOM_RIGHT, | 25 RESIZE_BOTTOM_RIGHT, |
26 RESIZE_BOTTOM, | 26 RESIZE_BOTTOM, |
27 RESIZE_BOTTOM_LEFT, | 27 RESIZE_BOTTOM_LEFT, |
28 RESIZE_LEFT, | 28 RESIZE_LEFT, |
29 RESIZE_TOP_LEFT | 29 RESIZE_TOP_LEFT |
30 }; | 30 }; |
31 | 31 |
32 // Ways a panel can be resized. | |
33 enum Resizability { | |
34 NOT_RESIZABLE, | |
35 ALL_SIDES, | |
jianli
2012/04/13 00:52:36
Probably better to suffix with _RESIZABLE.
Dmitry Titov
2012/04/13 02:55:45
Or prefix:
RESIZABLE_ALL_SIDES
RESIZABLE_ALL_SIDES
jennb
2012/04/13 19:48:04
Done.
| |
36 ALL_SIDES_EXCEPT_BOTTOM | |
37 }; | |
38 | |
32 } // namespace panel | 39 } // namespace panel |
33 | 40 |
34 #endif // CHROME_BROWSER_UI_PANELS_PANEL_CONSTANTS_H_ | 41 #endif // CHROME_BROWSER_UI_PANELS_PANEL_CONSTANTS_H_ |
OLD | NEW |