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

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

Issue 2433203003: Mojoify PoweMonitorMessageBroadcaster IPC from browser to child process (Closed)
Patch Set: code rebase Created 4 years, 1 month 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
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 #undef IPC_MESSAGE_EXPORT
12 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
13 #define IPC_MESSAGE_START PowerMonitorMsgStart
14
15 // Messages sent from the browser to the renderer/gpu.
16
17 // Notification of a change in power status of the computer, such
18 // as from switching between battery and A/C power.
19 IPC_MESSAGE_CONTROL1(PowerMonitorMsg_PowerStateChange,
20 bool /* on_battery_power */)
21
22 // Notification that the system is suspending.
23 IPC_MESSAGE_CONTROL0(PowerMonitorMsg_Suspend)
24
25 // Notification that the system is resuming.
26 IPC_MESSAGE_CONTROL0(PowerMonitorMsg_Resume)
OLDNEW
« no previous file with comments | « content/common/content_message_generator.h ('k') | content/public/app/mojo/content_browser_manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698