Chromium Code Reviews| Index: chrome/common/extensions/api/tabs.json |
| diff --git a/chrome/common/extensions/api/tabs.json b/chrome/common/extensions/api/tabs.json |
| index 299d3a37ec05186a612161cdcc267476e232d188..92ab697f95948cc5044f035e4d1688d5d8da77f8 100644 |
| --- a/chrome/common/extensions/api/tabs.json |
| +++ b/chrome/common/extensions/api/tabs.json |
| @@ -575,7 +575,13 @@ |
| "properties": { |
| "code": {"type": "string", "optional": true, "description": "JavaScript code to execute."}, |
| "file": {"type": "string", "optional": true, "description": "JavaScript file to execute."}, |
| - "allFrames": {"type": "boolean", "optional": true, "description": "If allFrames is true, this function injects script into all frames of current page. By default, it's false and script is injected only into the top main frame."} |
| + "allFrames": {"type": "boolean", "optional": true, "description": "If allFrames is true, this function injects script into all frames of current page. By default, it's false and script is injected only into the top main frame."}, |
| + "runAt": { |
| + "type": "string", |
| + "optional": true, |
| + "enum": ["document_start", "document_end", "document_idle"], |
| + "descrption": "The soonest that the script will be injected into the tab. Defaults to \"document_idle\"." |
|
Mihai Parparita -not on Chrome
2012/03/30 23:29:55
Typo: descrption.
eaugusti
2012/04/10 02:26:21
Done.
|
| + } |
| } |
| }, |
| { |
| @@ -600,7 +606,13 @@ |
| "properties": { |
| "code": {"type": "string", "optional": true, "description": "CSS code to be injected."}, |
| "file": {"type": "string", "optional": true, "description": "CSS file to be injected."}, |
| - "allFrames": {"type": "boolean", "optional": true, "description": "If allFrames is true, this function injects CSS text into all frames of current page. By default, it's false and CSS is injected only into the top main frame."} |
| + "allFrames": {"type": "boolean", "optional": true, "description": "If allFrames is true, this function injects CSS text into all frames of current page. By default, it's false and CSS is injected only into the top main frame."}, |
| + "runAt": { |
| + "type": "string", |
| + "optional": true, |
| + "enum": ["document_start", "document_end", "document_idle"], |
| + "descrption": "The soonest that the CSS will be injected into the tab. Defaults to \"document_idle\"." |
|
Mihai Parparita -not on Chrome
2012/03/30 23:29:55
Ditto.
eaugusti
2012/04/10 02:26:21
Done.
|
| + } |
| } |
| }, |
| { |