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

Side by Side Diff: chrome/common/extensions/api/push_messaging.idl

Issue 12996003: Dynamically generate a heading for Extension Docs API pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing issues with experimental_APIs Created 7 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 // Use <code>chrome.pushMessaging</code> to send message data
6 // to app or extension users.
7
8 [availability=24]
5 namespace pushMessaging{ 9 namespace pushMessaging{
6 10
7 dictionary Message { 11 dictionary Message {
8 // The subchannel the message was sent on; 12 // The subchannel the message was sent on;
9 // only values 0-3 are valid. 13 // only values 0-3 are valid.
10 long subchannelId; 14 long subchannelId;
11 15
12 // The payload associated with the message, if any. 16 // The payload associated with the message, if any.
13 DOMString payload; 17 DOMString payload;
14 }; 18 };
(...skipping 15 matching lines...) Expand all
30 static void getChannelId(optional boolean interactive, 34 static void getChannelId(optional boolean interactive,
31 ChannelIdCallback callback); 35 ChannelIdCallback callback);
32 }; 36 };
33 37
34 interface Events { 38 interface Events {
35 // Fired when a push message has been received. 39 // Fired when a push message has been received.
36 // |message| : The details associated with the message. 40 // |message| : The details associated with the message.
37 static void onMessage(Message message); 41 static void onMessage(Message message);
38 }; 42 };
39 }; 43 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698