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

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

Issue 10024013: chromeos: Add support for the battery status API on chromeos. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: file-move Created 8 years, 8 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) 2012 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 // IPC messages for battery status api.
6 // Multiply-included message file, hence no include guard.
7
8
9 #include "ipc/ipc_message_macros.h"
10
11 #define IPC_MESSAGE_START BatteryStatusMsgStart
12
13 // Messages sent from the renderer to the browser.
14
15 // Asks the browser process to start or stop sending battery status updates.
16 IPC_MESSAGE_CONTROL1(BatteryStatusHostMsg_StartUpdating,
17 int /* render_view_id */)
18
19 IPC_MESSAGE_CONTROL1(BatteryStatusHostMsg_StopUpdating,
20 int /* render_view_id */)
21
22 // Messages sent from the browser to the renderer.
23
24 // Sends the battery-status update to the renderer. The message payload includes
25 // a blot that should be cast to WebBatteryStatus.
jam 2012/04/12 01:55:10 we generally don't send structs this way over ipc.
sadrul 2012/04/12 05:20:09 Done.
26 IPC_MESSAGE_ROUTED0(BatteryStatusMsg_Updated)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698