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

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

Issue 1827083005: [Extensions] Convert APIs to use movable types [9] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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.tabCapture</code> API to interact with tab media 5 // Use the <code>chrome.tabCapture</code> API to interact with tab media
6 // streams. 6 // streams.
7 namespace tabCapture { 7 [use_movable_types=true] 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 {
17 // The id of the tab whose status changed. 17 // The id of the tab whose status changed.
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 103
104 interface Events { 104 interface Events {
105 // Event fired when the capture status of a tab changes. 105 // Event fired when the capture status of a tab changes.
106 // This allows extension authors to keep track of the capture status of 106 // This allows extension authors to keep track of the capture status of
107 // tabs to keep UI elements like page actions in sync. 107 // tabs to keep UI elements like page actions in sync.
108 // |info| : CaptureInfo with new capture status for the tab. 108 // |info| : CaptureInfo with new capture status for the tab.
109 static void onStatusChanged(CaptureInfo info); 109 static void onStatusChanged(CaptureInfo info);
110 }; 110 };
111 111
112 }; 112 };
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