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

Side by Side Diff: extensions/common/api/cast_channel.idl

Issue 395333003: Extensions: Move cast_channel and hid APIs to extensions/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win/mac Created 6 years, 5 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
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 // API for communicating with a Google Cast device over an authenticated 5 // API for communicating with a Google Cast device over an authenticated
6 // channel. 6 // channel.
7 namespace cast.channel { 7 namespace cast.channel {
8 8
9 // The state of the channel. 9 // The state of the channel.
10 enum ReadyState { 10 enum ReadyState {
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 interface Events { 154 interface Events {
155 // Fired when a message is received on an open channel. 155 // Fired when a message is received on an open channel.
156 static void onMessage(ChannelInfo channel, 156 static void onMessage(ChannelInfo channel,
157 MessageInfo message); 157 MessageInfo message);
158 158
159 // Fired when an error occurs as a result of a channel method or a network 159 // Fired when an error occurs as a result of a channel method or a network
160 // event. 160 // event.
161 static void onError(ChannelInfo channel); 161 static void onError(ChannelInfo channel);
162 }; 162 };
163 }; 163 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698