OLD | NEW |
1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium OS 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 CHROMEOS_WM_IPC_ENUMS_H_ | 5 #ifndef CHROMEOS_WM_IPC_ENUMS_H_ |
6 #define CHROMEOS_WM_IPC_ENUMS_H_ | 6 #define CHROMEOS_WM_IPC_ENUMS_H_ |
7 | 7 |
8 // This file defines enums that are shared between Chrome and the Chrome OS | 8 // This file defines enums that are shared between Chrome and the Chrome OS |
9 // window manager. | 9 // window manager. |
10 | 10 |
(...skipping 19 matching lines...) Expand all Loading... |
30 WM_IPC_WINDOW_CHROME_TOPLEVEL = 1, | 30 WM_IPC_WINDOW_CHROME_TOPLEVEL = 1, |
31 | 31 |
32 // TODO: Delete these. | 32 // TODO: Delete these. |
33 DEPRECATED_WM_IPC_WINDOW_CHROME_TAB_SUMMARY = 2, | 33 DEPRECATED_WM_IPC_WINDOW_CHROME_TAB_SUMMARY = 2, |
34 DEPRECATED_WM_IPC_WINDOW_CHROME_FLOATING_TAB = 3, | 34 DEPRECATED_WM_IPC_WINDOW_CHROME_FLOATING_TAB = 3, |
35 | 35 |
36 // The contents of a popup window. | 36 // The contents of a popup window. |
37 // param[0]: X ID of associated titlebar, which must be mapped before | 37 // param[0]: X ID of associated titlebar, which must be mapped before |
38 // its content. | 38 // its content. |
39 // param[1]: Initial state for panel (0 is collapsed, 1 is expanded). | 39 // param[1]: Initial state for panel (0 is collapsed, 1 is expanded). |
| 40 // param[2]: Should the panel be initially focused? (0 is no, 1 is yes). |
40 WM_IPC_WINDOW_CHROME_PANEL_CONTENT = 4, | 41 WM_IPC_WINDOW_CHROME_PANEL_CONTENT = 4, |
41 | 42 |
42 // A small window placed above the panel's contents containing its title | 43 // A small window placed above the panel's contents containing its title |
43 // and a close button. | 44 // and a close button. |
44 WM_IPC_WINDOW_CHROME_PANEL_TITLEBAR = 5, | 45 WM_IPC_WINDOW_CHROME_PANEL_TITLEBAR = 5, |
45 | 46 |
46 // TODO: Delete this. | 47 // TODO: Delete this. |
47 DEPRECATED_WM_IPC_WINDOW_CREATE_BROWSER_WINDOW = 6, | 48 DEPRECATED_WM_IPC_WINDOW_CREATE_BROWSER_WINDOW = 6, |
48 | 49 |
49 // A Chrome info bubble (e.g. the bookmark bubble). These are | 50 // A Chrome info bubble (e.g. the bookmark bubble). These are |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 // denoting which key is pressed. | 217 // denoting which key is pressed. |
217 enum WmIpcSystemKey { | 218 enum WmIpcSystemKey { |
218 WM_IPC_SYSTEM_KEY_VOLUME_MUTE = 0, | 219 WM_IPC_SYSTEM_KEY_VOLUME_MUTE = 0, |
219 WM_IPC_SYSTEM_KEY_VOLUME_DOWN = 1, | 220 WM_IPC_SYSTEM_KEY_VOLUME_DOWN = 1, |
220 WM_IPC_SYSTEM_KEY_VOLUME_UP = 2 | 221 WM_IPC_SYSTEM_KEY_VOLUME_UP = 2 |
221 }; | 222 }; |
222 | 223 |
223 } // namespace chromeos | 224 } // namespace chromeos |
224 | 225 |
225 #endif // CHROMEOS_WM_IPC_ENUMS_H_ | 226 #endif // CHROMEOS_WM_IPC_ENUMS_H_ |
OLD | NEW |