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

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

Issue 555223003: Add warning in documentation that the RequestContentScript action is still experimental (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Warning on new paragraph and in bold 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 "type": "object", 44 "type": "object",
45 "properties": { 45 "properties": {
46 "instanceType": { 46 "instanceType": {
47 "type": "string", "enum": ["declarativeContent.ShowPageAction"], 47 "type": "string", "enum": ["declarativeContent.ShowPageAction"],
48 "nodoc": true 48 "nodoc": true
49 } 49 }
50 } 50 }
51 }, 51 },
52 { 52 {
53 "id": "RequestContentScript", 53 "id": "RequestContentScript",
54 "description": "Declarative event action that injects a content script." , 54 "description": "Declarative event action that injects a content script. <p><b>WARNING:</b> This action is still experimental and is not supported on sta ble builds of Chrome.</p>",
55 "type": "object", 55 "type": "object",
56 "properties": { 56 "properties": {
57 "css": { 57 "css": {
58 "type": "array", 58 "type": "array",
59 "optional": true, 59 "optional": true,
60 "description": "Names of CSS files to be injected as a part of the c ontent script.", 60 "description": "Names of CSS files to be injected as a part of the c ontent script.",
61 "items": { "type": "string" } 61 "items": { "type": "string" }
62 }, 62 },
63 "js": { 63 "js": {
64 "type": "array", 64 "type": "array",
(...skipping 29 matching lines...) Expand all
94 "conditions": ["declarativeContent.PageStateMatcher"], 94 "conditions": ["declarativeContent.PageStateMatcher"],
95 "actions": [ 95 "actions": [
96 "declarativeContent.RequestContentScript", 96 "declarativeContent.RequestContentScript",
97 "declarativeContent.ShowPageAction" 97 "declarativeContent.ShowPageAction"
98 ] 98 ]
99 } 99 }
100 } 100 }
101 ] 101 ]
102 } 102 }
103 ] 103 ]
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698