OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "namespace": "tabs", | 3 "namespace": "tabs", |
4 "description": "The tabs API.", | 4 "description": "The tabs API.", |
5 "types": [ | 5 "types": [ |
6 { | 6 { |
7 "id": "Tab", | 7 "id": "Tab", |
8 "type": "object", | 8 "type": "object", |
9 "properties": { | 9 "properties": { |
10 "id": {"type": "integer", "minimum": 0, "description": "The ID of the
tab. Tab IDs are unique within a browser session."}, | 10 "id": {"type": "integer", "minimum": 0, "description": "The ID of the
tab. Tab IDs are unique within a browser session."}, |
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
484 "name": "language", | 484 "name": "language", |
485 "description": "An ISO language code such as <code>en</code> or
<code>fr</code>. For a complete list of languages supported by this method, see
<a href='http://src.chromium.org/viewvc/chrome/trunk/src/third_party/cld/languag
es/internal/languages.cc'>kLanguageInfoTable</a>. The 2nd to 4th columns will be
checked and the first non-NULL value will be returned except for Simplified Chi
nese for which zh-CN will be returned. For an unknown language, <code>und</code>
will be returned." | 485 "description": "An ISO language code such as <code>en</code> or
<code>fr</code>. For a complete list of languages supported by this method, see
<a href='http://src.chromium.org/viewvc/chrome/trunk/src/third_party/cld/languag
es/internal/languages.cc'>kLanguageInfoTable</a>. The 2nd to 4th columns will be
checked and the first non-NULL value will be returned except for Simplified Chi
nese for which zh-CN will be returned. For an unknown language, <code>und</code>
will be returned." |
486 } | 486 } |
487 ] | 487 ] |
488 } | 488 } |
489 ] | 489 ] |
490 }, | 490 }, |
491 { | 491 { |
492 "name": "captureVisibleTab", | 492 "name": "captureVisibleTab", |
493 "type": "function", | 493 "type": "function", |
494 "description": "Captures the visible area of the currently active tab in
the specified window. You must have <a href='manifest.html#permissions'>host pe
rmission</a> for the URL displayed by the tab.", | 494 "description": "Captures the visible area of the currently active tab in
the specified window. You must have <a href='manifest.html#permissions'><all
_urls></a> permission to use this method.", |
495 "parameters": [ | 495 "parameters": [ |
496 { | 496 { |
497 "type": "integer", | 497 "type": "integer", |
498 "name": "windowId", | 498 "name": "windowId", |
499 "minimum": 0, | 499 "minimum": 0, |
500 "optional": true, | 500 "optional": true, |
501 "description": "The target window. Defaults to the <a href='windows.
html#current-window'>current window</a>." | 501 "description": "The target window. Defaults to the <a href='windows.
html#current-window'>current window</a>." |
502 }, | 502 }, |
503 { | 503 { |
504 "type": "object", | 504 "type": "object", |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
761 "name": "removeInfo", | 761 "name": "removeInfo", |
762 "properties": { | 762 "properties": { |
763 "isWindowClosing": {"type": "boolean", "description": "True when t
he tab is being closed because its window is being closed." } | 763 "isWindowClosing": {"type": "boolean", "description": "True when t
he tab is being closed because its window is being closed." } |
764 } | 764 } |
765 } | 765 } |
766 ] | 766 ] |
767 } | 767 } |
768 ] | 768 ] |
769 } | 769 } |
770 ] | 770 ] |
OLD | NEW |