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

Side by Side Diff: tools/json_schema_compiler/test/tabs.json

Issue 258693010: Fix captureVisibleTab doc string. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/extensions/api/tabs.json ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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'>&lt;all _urls&gt;</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
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 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/tabs.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698