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

Side by Side Diff: chrome/common/extensions/api/webNavigation.json

Issue 8958023: Added missing names in extension api jsons (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed a typo Created 8 years, 12 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
« 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": "webNavigation", 3 "namespace": "webNavigation",
4 "types": [], 4 "types": [],
5 "functions": [ 5 "functions": [
6 { 6 {
7 "name": "getFrame", 7 "name": "getFrame",
8 "type": "function", 8 "type": "function",
9 "description": "Retrieves information about the given frame. A frame ref ers to an <iframe> or a <frame> of a web page and is identified by a tab ID and a frame ID.", 9 "description": "Retrieves information about the given frame. A frame ref ers to an <iframe> or a <frame> of a web page and is identified by a tab ID and a frame ID.",
10 "parameters": [ 10 "parameters": [
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 "type": "object", 48 "type": "object",
49 "name": "details", 49 "name": "details",
50 "description": "Information about the tab to retrieve all frames fro m.", 50 "description": "Information about the tab to retrieve all frames fro m.",
51 "properties": { 51 "properties": {
52 "tabId": { "type": "integer", "minimum": 0, "description": "The ID of the tab." } 52 "tabId": { "type": "integer", "minimum": 0, "description": "The ID of the tab." }
53 } 53 }
54 }, 54 },
55 { 55 {
56 "type": "function", "name": "callback", "parameters": [ 56 "type": "function", "name": "callback", "parameters": [
57 { 57 {
58 "name": "details",
58 "type": "array", 59 "type": "array",
59 "description": "A list of frames in the given tab, null if the s pecified tab ID is invalid.", 60 "description": "A list of frames in the given tab, null if the s pecified tab ID is invalid.",
60 "optional": true, 61 "optional": true,
61 "items": { 62 "items": {
62 "type": "object", 63 "type": "object",
63 "properties": { 64 "properties": {
64 "errorOccurred": { 65 "errorOccurred": {
65 "type": "boolean", 66 "type": "boolean",
66 "description": "True if the last navigation in this frame was interrupted by an error, i.e. the onErrorOccurred event fired." 67 "description": "True if the last navigation in this frame was interrupted by an error, i.e. the onErrorOccurred event fired."
67 }, 68 },
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 "transitionType": {"type": "string", "enum": ["link", "typed", "au to_bookmark", "auto_subframe", "manual_subframe", "generated", "start_page", "fo rm_submit", "reload", "keyword", "keyword_generated"], "description": "Cause of the navigation. The same transition types as defined in the history API are used ."}, 204 "transitionType": {"type": "string", "enum": ["link", "typed", "au to_bookmark", "auto_subframe", "manual_subframe", "generated", "start_page", "fo rm_submit", "reload", "keyword", "keyword_generated"], "description": "Cause of the navigation. The same transition types as defined in the history API are used ."},
204 "transitionQualifiers": {"type": "array", "description": "A list o f transition qualifiers.", "items:": {"type": "string", "enum": ["client_redirec t", "server_redirect", "forward_back", "from_address_bar"]}}, 205 "transitionQualifiers": {"type": "array", "description": "A list o f transition qualifiers.", "items:": {"type": "string", "enum": ["client_redirec t", "server_redirect", "forward_back", "from_address_bar"]}},
205 "timeStamp": {"type": "number", "description": "The time when the navigation was committed, in milliseconds since the epoch."} 206 "timeStamp": {"type": "number", "description": "The time when the navigation was committed, in milliseconds since the epoch."}
206 } 207 }
207 } 208 }
208 ] 209 ]
209 } 210 }
210 ] 211 ]
211 } 212 }
212 ] 213 ]
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