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

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

Issue 1822303002: [Extensions] Convert APIs to use movable types [4] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Istiaque's Created 4 years, 9 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 the <code>chrome.dial</code> API to discover devices that support DIAL. 5 // Use the <code>chrome.dial</code> API to discover devices that support DIAL.
6 // Protocol specification: http://www.dial-multiscreen.org/ 6 // Protocol specification: http://www.dial-multiscreen.org/
7 namespace dial { 7 [use_movable_types=true] namespace dial {
8 8
9 // Represents a unique device that responded to a DIAL discovery request. 9 // Represents a unique device that responded to a DIAL discovery request.
10 dictionary DialDevice { 10 dictionary DialDevice {
11 11
12 // A label identifying the device within this instance of the browser. 12 // A label identifying the device within this instance of the browser.
13 // Not guaranteed to persist beyond browser instances. 13 // Not guaranteed to persist beyond browser instances.
14 DOMString deviceLabel; 14 DOMString deviceLabel;
15 15
16 // A URL pointing to the device description resource for the device. 16 // A URL pointing to the device description resource for the device.
17 DOMString deviceDescriptionUrl; 17 DOMString deviceDescriptionUrl;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 // (2) A client invoked discoverNow(). 55 // (2) A client invoked discoverNow().
56 // (3) An event happened that should invalidate the device list 56 // (3) An event happened that should invalidate the device list
57 // (e.g., a network interface went offline), in which case it is fired 57 // (e.g., a network interface went offline), in which case it is fired
58 // with an empty array. 58 // with an empty array.
59 static void onDeviceList(DialDevice[] result); 59 static void onDeviceList(DialDevice[] result);
60 60
61 // Event fired to inform clients on errors during device discovery. 61 // Event fired to inform clients on errors during device discovery.
62 static void onError(DialError error); 62 static void onError(DialError error);
63 }; 63 };
64 }; 64 };
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/desktop_capture.json ('k') | chrome/common/extensions/api/downloads.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698