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

Unified Diff: chrome/common/extensions/api/tabs.json

Issue 569803004: Allow "url" to be an array of URL patterns (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update tabs.query documentation Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/api/tabs.json
diff --git a/chrome/common/extensions/api/tabs.json b/chrome/common/extensions/api/tabs.json
index 27a01f9b13b6ba403e0d4619c1c054b8511ab59a..6dedde9c27e4a04c9e046b93949fefcf07df3974 100644
--- a/chrome/common/extensions/api/tabs.json
+++ b/chrome/common/extensions/api/tabs.json
@@ -374,9 +374,12 @@
"description": "Match page titles against a pattern."
},
"url": {
- "type": "string",
+ "choices": [
+ {"type": "string"},
+ {"type": "array", "items": {"type": "string"}}
+ ],
"optional": true,
- "description": "Match tabs against a <a href='match_patterns'>URL pattern</a>. Note that fragment identifiers are not matched."
+ "description": "Match tabs against one or more <a href='match_patterns'>URL patterns</a>. Note that fragment identifiers are not matched."
},
"windowId": {
"type": "integer",
« no previous file with comments | « chrome/browser/extensions/api/tabs/tabs_api.cc ('k') | chrome/test/data/extensions/api_test/tabs/basics/query.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698