Chromium Code Reviews| Index: chrome/common/extensions/api/web_navigation.json |
| diff --git a/chrome/common/extensions/api/web_navigation.json b/chrome/common/extensions/api/web_navigation.json |
| index 783ecdddee03f9215b32b2b97c27008c0d85f54e..493e51f8665a4d8f2831a3b2b08ba91f16680eb1 100644 |
| --- a/chrome/common/extensions/api/web_navigation.json |
| +++ b/chrome/common/extensions/api/web_navigation.json |
| @@ -149,7 +149,7 @@ |
| "url": {"type": "string"}, |
| "processId": {"type": "integer", "description": "The ID of the process runs the renderer for this tab."}, |
| "frameId": {"type": "integer", "description": "0 indicates the navigation happens in the tab content window; a positive value indicates navigation in a subframe. Frame IDs are unique within a tab."}, |
| - "transitionType": {"type": "string", "enum": ["link", "typed", "auto_bookmark", "auto_subframe", "manual_subframe", "generated", "start_page", "form_submit", "reload", "keyword", "keyword_generated"], "description": "Cause of the navigation. The same transition types as defined in the history API are used."}, |
| + "transitionType": {"type": "string", "enum": ["link", "typed", "auto_bookmark", "auto_subframe", "manual_subframe", "generated", "start_page", "form_submit", "reload", "keyword", "keyword_generated"], "description": "Cause of the navigation. The same transition types as defined in the history API are used. For backward compatibility, \"start_page\" is the sames as \"auto_toplevel\" in the history API."}, |
|
not at google - send to devlin
2014/01/22 15:23:50
why are all these comments necessary? auto_topleve
Haojian Wu
2014/01/22 15:59:24
But as the document says "The same transition type
not at google - send to devlin
2014/01/22 16:06:35
Ugh. Interesting. Looks like this was changed in h
Haojian Wu
2014/01/23 06:44:28
Done.
|
| "transitionQualifiers": {"type": "array", "description": "A list of transition qualifiers.", "items": {"type": "string", "enum": ["client_redirect", "server_redirect", "forward_back", "from_address_bar"]}}, |
| "timeStamp": {"type": "number", "description": "The time when the navigation was committed, in milliseconds since the epoch."} |
| } |
| @@ -283,7 +283,7 @@ |
| "url": {"type": "string"}, |
| "processId": {"type": "integer", "description": "The ID of the process runs the renderer for this tab."}, |
| "frameId": {"type": "integer", "description": "0 indicates the navigation happens in the tab content window; a positive value indicates navigation in a subframe. Frame IDs are unique within a tab."}, |
| - "transitionType": {"type": "string", "enum": ["link", "typed", "auto_bookmark", "auto_subframe", "manual_subframe", "generated", "start_page", "form_submit", "reload", "keyword", "keyword_generated"], "description": "Cause of the navigation. The same transition types as defined in the history API are used."}, |
| + "transitionType": {"type": "string", "enum": ["link", "typed", "auto_bookmark", "auto_subframe", "manual_subframe", "generated", "start_page", "form_submit", "reload", "keyword", "keyword_generated"], "description": "Cause of the navigation. The same transition types as defined in the history API are used. For backward compatibility, \"start_page\" is the sames as \"auto_toplevel\" in the history API."}, |
| "transitionQualifiers": {"type": "array", "description": "A list of transition qualifiers.", "items": {"type": "string", "enum": ["client_redirect", "server_redirect", "forward_back", "from_address_bar"]}}, |
| "timeStamp": {"type": "number", "description": "The time when the navigation was committed, in milliseconds since the epoch."} |
| } |
| @@ -327,7 +327,7 @@ |
| "url": {"type": "string"}, |
| "processId": {"type": "integer", "description": "The ID of the process runs the renderer for this tab."}, |
| "frameId": {"type": "integer", "description": "0 indicates the navigation happens in the tab content window; a positive value indicates navigation in a subframe. Frame IDs are unique within a tab."}, |
| - "transitionType": {"type": "string", "enum": ["link", "typed", "auto_bookmark", "auto_subframe", "manual_subframe", "generated", "start_page", "form_submit", "reload", "keyword", "keyword_generated"], "description": "Cause of the navigation. The same transition types as defined in the history API are used."}, |
| + "transitionType": {"type": "string", "enum": ["link", "typed", "auto_bookmark", "auto_subframe", "manual_subframe", "generated", "start_page", "form_submit", "reload", "keyword", "keyword_generated"], "description": "Cause of the navigation. The same transition types as defined in the history API are used. For backward compatibility, \"start_page\" is the sames as \"auto_toplevel\" in the history API."}, |
| "transitionQualifiers": {"type": "array", "description": "A list of transition qualifiers.", "items": {"type": "string", "enum": ["client_redirect", "server_redirect", "forward_back", "from_address_bar"]}}, |
| "timeStamp": {"type": "number", "description": "The time when the navigation was committed, in milliseconds since the epoch."} |
| } |