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

Side by Side Diff: chrome/common/extensions/api/declarative_content.json

Issue 1592403002: update obsolete code.google.com documentation links (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 4 years, 10 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 unified diff | Download patch
OLDNEW
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": "declarativeContent", 7 "namespace": "declarativeContent",
8 "description": "Use the <code>chrome.declarativeContent</code> API to take a ctions depending on the content of a page, without requiring permission to read the page's content.", 8 "description": "Use the <code>chrome.declarativeContent</code> API to take a ctions depending on the content of a page, without requiring permission to read the page's content.",
9 "types": [ 9 "types": [
10 { 10 {
(...skipping 19 matching lines...) Expand all
30 "optional": true, 30 "optional": true,
31 "description": "Matches if all of the CSS selectors in the array mat ch displayed elements in a frame with the same origin as the page's main frame. All selectors in this array must be <a href=\"http://www.w3.org/TR/selectors4/# compound\">compound selectors</a> to speed up matching. Note that listing hundr eds of CSS selectors or CSS selectors that match hundreds of times per page can still slow down web sites.", 31 "description": "Matches if all of the CSS selectors in the array mat ch displayed elements in a frame with the same origin as the page's main frame. All selectors in this array must be <a href=\"http://www.w3.org/TR/selectors4/# compound\">compound selectors</a> to speed up matching. Note that listing hundr eds of CSS selectors or CSS selectors that match hundreds of times per page can still slow down web sites.",
32 // TODO(jyasskin): Figure out if we want to require all 32 // TODO(jyasskin): Figure out if we want to require all
33 // the selectors to match in the same frame, or allow several 33 // the selectors to match in the same frame, or allow several
34 // frames to contribute to a match. 34 // frames to contribute to a match.
35 "items": { "type": "string" } 35 "items": { "type": "string" }
36 // }, 36 // },
37 // TODO: "text": { 37 // TODO: "text": {
38 // "type": "array", 38 // "type": "array",
39 // "optional": true, 39 // "optional": true,
40 // "description": "Matches if all of the regular expressions in the a rray match text in the page. The regular expressions use the <a href=\"http://co de.google.com/p/re2/wiki/Syntax\">RE2 syntax</a>.", 40 // "description": "Matches if all of the regular expressions in the a rray match text in the page. The regular expressions use the <a href=\"https://g ithub.com/google/re2/blob/master/doc/syntax.txt\">RE2 syntax</a>.",
41 // "items": { "type": "string" } 41 // "items": { "type": "string" }
42 }, 42 },
43 "isBookmarked": { 43 "isBookmarked": {
44 "type": "boolean", 44 "type": "boolean",
45 "description": "Matches if the bookmarked state of the page is equal to the specified value. Requres the <a href='declare_permissions'>bookmarks per mission</a>.", 45 "description": "Matches if the bookmarked state of the page is equal to the specified value. Requres the <a href='declare_permissions'>bookmarks per mission</a>.",
46 "optional": true 46 "optional": true
47 }, 47 },
48 "instanceType": { 48 "instanceType": {
49 "type": "string", "enum": ["declarativeContent.PageStateMatcher"], 49 "type": "string", "enum": ["declarativeContent.PageStateMatcher"],
50 "nodoc": true 50 "nodoc": true
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 "actions": [ 141 "actions": [
142 "declarativeContent.RequestContentScript", 142 "declarativeContent.RequestContentScript",
143 "declarativeContent.SetIcon", 143 "declarativeContent.SetIcon",
144 "declarativeContent.ShowPageAction" 144 "declarativeContent.ShowPageAction"
145 ] 145 ]
146 } 146 }
147 } 147 }
148 ] 148 ]
149 } 149 }
150 ] 150 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698