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

Side by Side Diff: content/common/power_monitor_messages.h

Issue 17074009: Created multi-process-friendly PowerMonitor interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 months 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 | Annotate | Revision Log
OLDNEW
(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 */)
Ken Russell (switch to Gerrit) 2013/06/24 22:54:38 Indentation?
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)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698