Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 [ | 5 [ |
| 6 { | 6 { |
| 7 "namespace": "events", | 7 "namespace": "events", |
| 8 "compiler_options": { | 8 "compiler_options": { |
| 9 "implemented_in": "chrome/browser/extensions/api/declarative/declarative_a pi.h" | 9 "implemented_in": "chrome/browser/extensions/api/declarative/declarative_a pi.h" |
| 10 }, | 10 }, |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 264 "urlEquals": { | 264 "urlEquals": { |
| 265 "type": "string", | 265 "type": "string", |
| 266 "description": "Matches if the URL (without fragment identifier) is equal to a specified string. Port numbers are stripped from the URL if they matc h the default port number.", | 266 "description": "Matches if the URL (without fragment identifier) is equal to a specified string. Port numbers are stripped from the URL if they matc h the default port number.", |
| 267 "optional": true | 267 "optional": true |
| 268 }, | 268 }, |
| 269 "urlMatches": { | 269 "urlMatches": { |
| 270 "type": "string", | 270 "type": "string", |
| 271 "description": "Matches if the URL (without fragment identifier) mat ches a specified regular expression. Port numbers are stripped from the URL if t hey match the default port number. The regular expressions use the <a href=\"htt p://code.google.com/p/re2/wiki/Syntax\">RE2 syntax</a>.", | 271 "description": "Matches if the URL (without fragment identifier) mat ches a specified regular expression. Port numbers are stripped from the URL if t hey match the default port number. The regular expressions use the <a href=\"htt p://code.google.com/p/re2/wiki/Syntax\">RE2 syntax</a>.", |
| 272 "optional": true | 272 "optional": true |
| 273 }, | 273 }, |
| 274 "strippedUrlMatches": { | |
|
Yoyo Zhou
2013/04/08 18:20:43
This is not my favorite name but I can't think of
battre
2013/04/09 12:22:23
Discussed this with Jeffrey and we concluded that
| |
| 275 "type": "string", | |
| 276 "description": "Matches if the stripped URL (without query segment a nd fragment identifier) matches a specified regular expression. Port numbers are stripped from the URL if they match the default port number. The regular expres sions use the <a href=\"http://code.google.com/p/re2/wiki/Syntax\">RE2 syntax</a >.", | |
| 277 "optional": true | |
| 278 }, | |
| 274 "urlPrefix": { | 279 "urlPrefix": { |
| 275 "type": "string", | 280 "type": "string", |
| 276 "description": "Matches if the URL (without fragment identifier) sta rts with a specified string. Port numbers are stripped from the URL if they matc h the default port number.", | 281 "description": "Matches if the URL (without fragment identifier) sta rts with a specified string. Port numbers are stripped from the URL if they matc h the default port number.", |
| 277 "optional": true | 282 "optional": true |
| 278 }, | 283 }, |
| 279 "urlSuffix": { | 284 "urlSuffix": { |
| 280 "type": "string", | 285 "type": "string", |
| 281 "description": "Matches if the URL (without fragment identifier) end s with a specified string. Port numbers are stripped from the URL if they match the default port number.", | 286 "description": "Matches if the URL (without fragment identifier) end s with a specified string. Port numbers are stripped from the URL if they match the default port number.", |
| 282 "optional": true | 287 "optional": true |
| 283 }, | 288 }, |
| (...skipping 13 matching lines...) Expand all Loading... | |
| 297 {"type": "array", "items": {"type": "integer"}, "description": " A pair of integers identiying the start and end (both inclusive) of a port range ."} | 302 {"type": "array", "items": {"type": "integer"}, "description": " A pair of integers identiying the start and end (both inclusive) of a port range ."} |
| 298 ] | 303 ] |
| 299 } | 304 } |
| 300 } | 305 } |
| 301 } | 306 } |
| 302 } | 307 } |
| 303 ] | 308 ] |
| 304 } | 309 } |
| 305 ] | 310 ] |
| 306 | 311 |
| OLD | NEW |