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

Side by Side Diff: chrome/common/extensions/api/tab_capture.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: Addressing comments - Patch currently being broken up 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 // An API for tab media streams.
6
7 namespace tabCapture { 6 namespace tabCapture {
8 7
9 enum TabCaptureState { 8 enum TabCaptureState {
10 pending, 9 pending,
11 active, 10 active,
12 stopped, 11 stopped,
13 error 12 error
14 }; 13 };
15 14
16 dictionary CaptureInfo { 15 dictionary CaptureInfo {
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 }; 64 };
66 65
67 interface Events { 66 interface Events {
68 // Event fired when the capture status of a tab changes. 67 // Event fired when the capture status of a tab changes.
69 // This allows extension authors to keep track of the capture status of 68 // 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. 69 // tabs to keep UI elements like page actions and infobars in sync.
71 static void onStatusChanged(CaptureInfo info); 70 static void onStatusChanged(CaptureInfo info);
72 }; 71 };
73 72
74 }; 73 };
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/system_info_memory.idl ('k') | chrome/common/extensions/api/tabs.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698