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

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

Issue 883983003: Replace the term "main-frame" in content_settings.json. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« 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": "contentSettings", 7 "namespace": "contentSettings",
8 "description": "Use the <code>chrome.contentSettings</code> API to change se ttings that control whether websites can use features such as cookies, JavaScrip t, and plug-ins. More generally speaking, content settings allow you to customiz e Chrome's behavior on a per-site basis instead of globally.", 8 "description": "Use the <code>chrome.contentSettings</code> API to change se ttings that control whether websites can use features such as cookies, JavaScrip t, and plug-ins. More generally speaking, content settings allow you to customiz e Chrome's behavior on a per-site basis instead of globally.",
9 "compiler_options": { 9 "compiler_options": {
10 "generate_type_functions": true 10 "generate_type_functions": true
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 "cookies": { 176 "cookies": {
177 "$ref": "ContentSetting", 177 "$ref": "ContentSetting",
178 "description": "Whether to allow cookies and other local data to be set by websites. One of<br><var>allow</var>: Accept cookies,<br><var>block</var>: Bl ock cookies,<br><var>session_only</var>: Accept cookies only for the current ses sion. <br>Default is <var>allow</var>.<br>The primary URL is the URL representin g the cookie origin. The secondary URL is the URL of the top-level frame.", 178 "description": "Whether to allow cookies and other local data to be set by websites. One of<br><var>allow</var>: Accept cookies,<br><var>block</var>: Bl ock cookies,<br><var>session_only</var>: Accept cookies only for the current ses sion. <br>Default is <var>allow</var>.<br>The primary URL is the URL representin g the cookie origin. The secondary URL is the URL of the top-level frame.",
179 "value": [ 179 "value": [
180 "cookies", 180 "cookies",
181 {"type":"string", "enum": ["allow", "block", "session_only"]} 181 {"type":"string", "enum": ["allow", "block", "session_only"]}
182 ] 182 ]
183 }, 183 },
184 "images": { 184 "images": {
185 "$ref": "ContentSetting", 185 "$ref": "ContentSetting",
186 "description": "Whether to show images. One of<br><var>allow</var>: Show images,<br><var>block</var>: Don't show images. <br>Default is <var>allow</var> .<br>The primary URL is the main-frame URL. The secondary URL is the URL of the image.", 186 "description": "Whether to show images. One of<br><var>allow</var>: Show images,<br><var>block</var>: Don't show images. <br>Default is <var>allow</var> .<br>The primary URL is the URL of the top-level frame. The secondary URL is the URL of the image.",
187 "value": [ 187 "value": [
188 "images", 188 "images",
189 {"type":"string", "enum": ["allow", "block"]} 189 {"type":"string", "enum": ["allow", "block"]}
190 ] 190 ]
191 }, 191 },
192 "javascript": { 192 "javascript": {
193 "$ref": "ContentSetting", 193 "$ref": "ContentSetting",
194 "description": "Whether to run JavaScript. One of<br><var>allow</var>: R un JavaScript,<br><var>block</var>: Don't run JavaScript. <br>Default is <var>al low</var>.<br>The primary URL is the main-frame URL. The secondary URL is not us ed.", 194 "description": "Whether to run JavaScript. One of<br><var>allow</var>: R un JavaScript,<br><var>block</var>: Don't run JavaScript. <br>Default is <var>al low</var>.<br>The primary URL is the URL of the top-level frame. The secondary U RL is not used.",
195 "value": [ 195 "value": [
196 "javascript", 196 "javascript",
197 {"type":"string", "enum": ["allow", "block"]} 197 {"type":"string", "enum": ["allow", "block"]}
198 ] 198 ]
199 }, 199 },
200 "location": { 200 "location": {
201 "$ref": "ContentSetting", 201 "$ref": "ContentSetting",
202 "description": "Whether to allow Geolocation. One of <br><var>allow</var >: Allow sites to track your physical location,<br><var>block</var>: Don't allow sites to track your physical location,<br><var>ask</var>: Ask before allowing s ites to track your physical location. <br>Default is <var>ask</var>.<br>The prim ary URL is the URL of the document which requested location data. The secondary URL is the URL of the top-level frame (which may or may not differ from the requ esting URL).", 202 "description": "Whether to allow Geolocation. One of <br><var>allow</var >: Allow sites to track your physical location,<br><var>block</var>: Don't allow sites to track your physical location,<br><var>ask</var>: Ask before allowing s ites to track your physical location. <br>Default is <var>ask</var>.<br>The prim ary URL is the URL of the document which requested location data. The secondary URL is the URL of the top-level frame (which may or may not differ from the requ esting URL).",
203 "value": [ 203 "value": [
204 "location", 204 "location",
205 {"type":"string", "enum": ["allow", "block", "ask"]} 205 {"type":"string", "enum": ["allow", "block", "ask"]}
206 ] 206 ]
207 }, 207 },
208 "plugins": { 208 "plugins": {
209 "$ref": "ContentSetting", 209 "$ref": "ContentSetting",
210 "description": "Whether to run plug-ins. One of<br><var>allow</var>: Run plug-ins automatically,<br><var>block</var>: Don't run plug-ins automatically. <br>Default is <var>allow</var>.<br>The primary URL is the main-frame URL. The s econdary URL is not used.", 210 "description": "Whether to run plug-ins. One of<br><var>allow</var>: Run plug-ins automatically,<br><var>block</var>: Don't run plug-ins automatically. <br>Default is <var>allow</var>.<br>The primary URL is the URL of the top-level frame. The secondary URL is not used.",
211 "value": [ 211 "value": [
212 "plugins", 212 "plugins",
213 {"type":"string", "enum": ["allow", "block"]} 213 {"type":"string", "enum": ["allow", "block"]}
214 ] 214 ]
215 }, 215 },
216 "popups": { 216 "popups": {
217 "$ref": "ContentSetting", 217 "$ref": "ContentSetting",
218 "description": "Whether to allow sites to show pop-ups. One of<br><var>a llow</var>: Allow sites to show pop-ups,<br><var>block</var>: Don't allow sites to show pop-ups. <br>Default is <var>block</var>.<br>The primary URL is the main -frame URL. The secondary URL is not used.", 218 "description": "Whether to allow sites to show pop-ups. One of<br><var>a llow</var>: Allow sites to show pop-ups,<br><var>block</var>: Don't allow sites to show pop-ups. <br>Default is <var>block</var>.<br>The primary URL is the URL of the top-level frame. The secondary URL is not used.",
219 "value": [ 219 "value": [
220 "popups", 220 "popups",
221 {"type":"string", "enum": ["allow", "block"]} 221 {"type":"string", "enum": ["allow", "block"]}
222 ] 222 ]
223 }, 223 },
224 "notifications": { 224 "notifications": {
225 "$ref": "ContentSetting", 225 "$ref": "ContentSetting",
226 "description": "Whether to allow sites to show desktop notifications. On e of<br><var>allow</var>: Allow sites to show desktop notifications,<br><var>blo ck</var>: Don't allow sites to show desktop notifications,<br><var>ask</var>: As k when a site wants to show desktop notifications. <br>Default is <var>ask</var> .<br>The primary URL is the main-frame URL. The secondary URL is not used.", 226 "description": "Whether to allow sites to show desktop notifications. On e of<br><var>allow</var>: Allow sites to show desktop notifications,<br><var>blo ck</var>: Don't allow sites to show desktop notifications,<br><var>ask</var>: As k when a site wants to show desktop notifications. <br>Default is <var>ask</var> .<br>The primary URL is the URL of the document which wants to show the notifica tion. The secondary URL is not used.",
227 "value": [ 227 "value": [
228 "notifications", 228 "notifications",
229 {"type":"string", "enum": ["allow", "block", "ask"]} 229 {"type":"string", "enum": ["allow", "block", "ask"]}
230 ] 230 ]
231 }, 231 },
232 "mouselock": { 232 "mouselock": {
233 "$ref": "ContentSetting", 233 "$ref": "ContentSetting",
234 "description": "Whether to allow sites to disable the mouse cursor. One of <br><var>allow</var>: Allow sites to disable the mouse cursor,<br><var>block< /var>: Don't allow sites to disable the mouse cursor,<br><var>ask</var>: Ask whe n a site wants to disable the mouse cursor. <br>Default is <var>ask</var>.<br>Th e primary URL is the main-frame URL. The secondary URL is not used.", 234 "description": "Whether to allow sites to disable the mouse cursor. One of <br><var>allow</var>: Allow sites to disable the mouse cursor,<br><var>block< /var>: Don't allow sites to disable the mouse cursor,<br><var>ask</var>: Ask whe n a site wants to disable the mouse cursor. <br>Default is <var>ask</var>.<br>Th e primary URL is the URL of the top-level frame. The secondary URL is not used." ,
235 "value": [ 235 "value": [
236 "mouselock", 236 "mouselock",
237 {"type":"string", "enum": ["allow", "block", "ask"]} 237 {"type":"string", "enum": ["allow", "block", "ask"]}
238 ] 238 ]
239 } 239 }
240 } 240 }
241 } 241 }
242 ] 242 ]
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