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

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

Issue 16876004: Updating JSON Schema Compiler to add description field to schemas. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: (kalman) rebase Created 7 years, 6 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 // An API for tab media streams. 5 // Use the <code>chrome.tabCapture</code> API to interact with tab media
6 6 // streams.
7 namespace tabCapture { 7 namespace tabCapture {
8 8
9 enum TabCaptureState { 9 enum TabCaptureState {
10 pending, 10 pending,
11 active, 11 active,
12 stopped, 12 stopped,
13 error 13 error
14 }; 14 };
15 15
16 dictionary CaptureInfo { 16 dictionary CaptureInfo {
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 }; 65 };
66 66
67 interface Events { 67 interface Events {
68 // Event fired when the capture status of a tab changes. 68 // Event fired when the capture status of a tab changes.
69 // This allows extension authors to keep track of the capture status of 69 // This allows extension authors to keep track of the capture status of
70 // tabs to keep UI elements like page actions and infobars in sync. 70 // tabs to keep UI elements like page actions and infobars in sync.
71 static void onStatusChanged(CaptureInfo info); 71 static void onStatusChanged(CaptureInfo info);
72 }; 72 };
73 73
74 }; 74 };
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/system_private.json ('k') | chrome/common/extensions/api/tabs.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698