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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 case WM_IPC_MESSAGE_CHROME_NOTIFY_SYSKEY_PRESSED: | 293 case WM_IPC_MESSAGE_CHROME_NOTIFY_SYSKEY_PRESSED: |
294 return "CHROME_NOTIFY_SYSKEY_PRESSED"; | 294 return "CHROME_NOTIFY_SYSKEY_PRESSED"; |
295 case WM_IPC_MESSAGE_WM_SELECT_LOGIN_USER: | 295 case WM_IPC_MESSAGE_WM_SELECT_LOGIN_USER: |
296 return "WM_SELECT_LOGIN_USER"; | 296 return "WM_SELECT_LOGIN_USER"; |
297 case WM_IPC_MESSAGE_CHROME_NOTIFY_SCREEN_REDRAWN_FOR_LOCK: | 297 case WM_IPC_MESSAGE_CHROME_NOTIFY_SCREEN_REDRAWN_FOR_LOCK: |
298 return "CHROME_NOTIFY_SCREEN_REDRAWN_FOR_LOCK"; | 298 return "CHROME_NOTIFY_SCREEN_REDRAWN_FOR_LOCK"; |
299 case WM_IPC_MESSAGE_WM_NOTIFY_SHUTTING_DOWN: | 299 case WM_IPC_MESSAGE_WM_NOTIFY_SHUTTING_DOWN: |
300 return "WM_NOTIFY_SHUTTING_DOWN"; | 300 return "WM_NOTIFY_SHUTTING_DOWN"; |
301 case WM_IPC_MESSAGE_WM_NOTIFY_POWER_BUTTON_STATE: | 301 case WM_IPC_MESSAGE_WM_NOTIFY_POWER_BUTTON_STATE: |
302 return "WM_NOTIFY_POWER_BUTTON_STATE"; | 302 return "WM_NOTIFY_POWER_BUTTON_STATE"; |
| 303 case WM_IPC_MESSAGE_WM_NOTIFY_SIGNING_OUT: |
| 304 return "WM_NOTIFY_SIGNING_OUT"; |
303 default: | 305 default: |
304 return "INVALID"; | 306 return "INVALID"; |
305 } | 307 } |
306 } | 308 } |
307 | 309 |
308 // A parameter of the WM_IPC_MESSAGE_CHROME_NOTIFY_SYSKEY_PRESSED message | 310 // A parameter of the WM_IPC_MESSAGE_CHROME_NOTIFY_SYSKEY_PRESSED message |
309 // denoting which key is pressed. | 311 // denoting which key is pressed. |
310 enum WmIpcSystemKey { | 312 enum WmIpcSystemKey { |
311 WM_IPC_SYSTEM_KEY_VOLUME_MUTE = 0, | 313 WM_IPC_SYSTEM_KEY_VOLUME_MUTE = 0, |
312 WM_IPC_SYSTEM_KEY_VOLUME_DOWN = 1, | 314 WM_IPC_SYSTEM_KEY_VOLUME_DOWN = 1, |
(...skipping 26 matching lines...) Expand all Loading... |
339 WM_IPC_POWER_BUTTON_PRE_SHUTDOWN, | 341 WM_IPC_POWER_BUTTON_PRE_SHUTDOWN, |
340 | 342 |
341 // The power button was released before being held long enough to shut | 343 // The power button was released before being held long enough to shut |
342 // down the machine. | 344 // down the machine. |
343 WM_IPC_POWER_BUTTON_ABORTED_SHUTDOWN, | 345 WM_IPC_POWER_BUTTON_ABORTED_SHUTDOWN, |
344 }; | 346 }; |
345 | 347 |
346 } // namespace chromeos | 348 } // namespace chromeos |
347 | 349 |
348 #endif // CHROMEOS_WM_IPC_ENUMS_H_ | 350 #endif // CHROMEOS_WM_IPC_ENUMS_H_ |
OLD | NEW |