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

Unified Diff: chrome/common/extensions/api/tab_capture.idl

Issue 14107010: Update tabCapture API docs with browser action info. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/api/tab_capture.idl
diff --git a/chrome/common/extensions/api/tab_capture.idl b/chrome/common/extensions/api/tab_capture.idl
index cfca548cc1372f8cfa219e87ad67a4d982f72c31..dbd1d67af657c651e5125d9d1b583e8b73247063 100644
--- a/chrome/common/extensions/api/tab_capture.idl
+++ b/chrome/common/extensions/api/tab_capture.idl
@@ -47,7 +47,10 @@ namespace tabCapture {
interface Functions {
// Captures the visible area of the currently active tab.
- // Extensions must have the "tabCapture" permission to use this method.
+ // This method can only be used on the currently active page after the
+ // extension has been <em>invoked</em>, similar to the way that
+ // <a href="activeTab.html">activeTab</a> works.
+ // Note that Chrome internal pages cannot be captured.
// |options| : Configures the returned media stream.
// |callback| : Callback with either the stream returned or null.
static void capture(CaptureOptions options,

Powered by Google App Engine
This is Rietveld 408576698