OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // Multiply-included message file, no include guard. |
| 6 |
| 7 #include "ipc/ipc_message_macros.h" |
| 8 #include "ipc/ipc_param_traits.h" |
| 9 #include "ipc/ipc_platform_file.h" |
| 10 |
| 11 #define IPC_MESSAGE_START PowerMonitorMsgStart |
| 12 |
| 13 // Messages sent from the browser to the renderer/gpu. |
| 14 |
| 15 // Notification of a change in power status of the computer, such |
| 16 // as from switching between battery and A/C power. |
| 17 IPC_MESSAGE_CONTROL1(PowerMonitorMsg_PowerStateChange, |
| 18 bool /* on_battery_power */) |
| 19 |
| 20 // Notification that the system is suspending. |
| 21 IPC_MESSAGE_CONTROL0(PowerMonitorMsg_Suspend) |
| 22 |
| 23 // Notification that the system is resuming. |
| 24 IPC_MESSAGE_CONTROL0(PowerMonitorMsg_Resume) |
OLD | NEW |