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

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

Issue 184043024: Limit scope of settings API configuration and proxy permission (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move incognito permission test from ChromeExtensionsBrowserClient to ExtensionPrefs Created 6 years, 9 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 | Annotate | Revision Log
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": "types", 7 "namespace": "types",
8 "description": "The <code>chrome.types</code> API contains type declarations for Chrome.", 8 "description": "The <code>chrome.types</code> API contains type declarations for Chrome.",
9 "types": [ 9 "types": [
10 { 10 {
(...skipping 28 matching lines...) Expand all
39 { 39 {
40 "name": "details", 40 "name": "details",
41 "type": "object", 41 "type": "object",
42 "description": "Details of the currently effective value.", 42 "description": "Details of the currently effective value.",
43 "properties": { 43 "properties": {
44 "value": { 44 "value": {
45 "description": "The value of the setting.", 45 "description": "The value of the setting.",
46 "type": "any" 46 "type": "any"
47 }, 47 },
48 "levelOfControl": { 48 "levelOfControl": {
49 "description": "One of<ul><li><var>not_controllable</var >: cannot be controlled by any extension</li><li><var>controlled_by_other_extens ions</var>: controlled by extensions with higher precedence</li><li><var>control lable_by_this_extension</var>: can be controlled by this extension</li><li><var> controlled_by_this_extension</var>: controlled by this extension</li></ul>", 49 "description": "One of<ul><li><var>not_controllable</var >: cannot be controlled by this extension due to lack of permission or cannot be controlled by any extension</li><li><var>controlled_by_other_extensions</var>: controlled by extensions with higher precedence</li><li><var>controllable_by_thi s_extension</var>: can be controlled by this extension</li><li><var>controlled_b y_this_extension</var>: controlled by this extension</li></ul>",
Bernhard Bauer 2014/03/04 17:31:18 Hm... if an extension doesn't have incognito permi
battre 2014/03/05 08:34:36 Yes, you are right. In case the extension does not
50 "type": "string", 50 "type": "string",
51 "enum": ["not_controllable", "controlled_by_other_extens ions", "controllable_by_this_extension", "controlled_by_this_extension"] 51 "enum": ["not_controllable", "controlled_by_other_extens ions", "controllable_by_this_extension", "controlled_by_this_extension"]
52 }, 52 },
53 "incognitoSpecific": { 53 "incognitoSpecific": {
54 "description": "Whether the effective value is specific to the incognito session.<br/>This property will <em>only</em> be present if the <var>incognito</var> property in the <var>details</var> parameter of <code>get( )</code> was true.", 54 "description": "Whether the effective value is specific to the incognito session.<br/>This property will <em>only</em> be present if the <var>incognito</var> property in the <var>details</var> parameter of <code>get( )</code> was true.",
55 "type": "boolean", 55 "type": "boolean",
56 "optional": true 56 "optional": true
57 } 57 }
58 } 58 }
59 } 59 }
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 "optional": true, 167 "optional": true,
168 "minimum": 0, 168 "minimum": 0,
169 "maximum": 100, 169 "maximum": 100,
170 "description": "When format is <code>\"jpeg\"</code>, controls the q uality of the resulting image. This value is ignored for PNG images. As qualit y is decreased, the resulting image will have more visual artifacts, and the num ber of bytes needed to store it will decrease." 170 "description": "When format is <code>\"jpeg\"</code>, controls the q uality of the resulting image. This value is ignored for PNG images. As qualit y is decreased, the resulting image will have more visual artifacts, and the num ber of bytes needed to store it will decrease."
171 } 171 }
172 } 172 }
173 } 173 }
174 ] 174 ]
175 } 175 }
176 ] 176 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698