Chromium Code Reviews| Index: chrome/common/extensions/api/events.json |
| diff --git a/chrome/common/extensions/api/events.json b/chrome/common/extensions/api/events.json |
| index aa07fafdd4ba998f970734c1a8b8d5be3da53579..470332d7b4c7656063418ef290682a9ade72cd34 100644 |
| --- a/chrome/common/extensions/api/events.json |
| +++ b/chrome/common/extensions/api/events.json |
| @@ -264,6 +264,11 @@ |
| "description": "Matches if the URL (without fragment identifier) is equal to a specified string. Port numbers are stripped from the URL if they match the default port number.", |
| "optional": true |
| }, |
| + "urlMatches": { |
| + "type": "string", |
| + "description": "Matches if the URL matches a specified regular expression. The regular expressions use the <a href=\"http://code.google.com/p/re2/wiki/Syntax\">RE2 syntax</a>.", |
|
battre
2012/09/12 18:04:50
nit: add "(without fragment identifier)"? Add that
Yoyo Zhou
2012/09/12 20:25:56
Done.
|
| + "optional": true |
| + }, |
| "urlPrefix": { |
| "type": "string", |
| "description": "Matches if the URL (without fragment identifier) starts with a specified string. Port numbers are stripped from the URL if they match the default port number.", |