| OLD | NEW |
| 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 "compiler_options": {"use_movable_types": true}, |
| 9 "types": [ | 10 "types": [ |
| 10 { | 11 { |
| 11 "id": "ChromeSettingScope", | 12 "id": "ChromeSettingScope", |
| 12 "type": "string", | 13 "type": "string", |
| 13 "enum": ["regular", "regular_only", "incognito_persistent", "incognito_s
ession_only"], | 14 "enum": ["regular", "regular_only", "incognito_persistent", "incognito_s
ession_only"], |
| 14 "description": "The scope of the ChromeSetting. One of<ul><li><var>regul
ar</var>: setting for the regular profile (which is inherited by the incognito p
rofile if not overridden elsewhere),</li><li><var>regular_only</var>: setting fo
r the regular profile only (not inherited by the incognito profile),</li><li><va
r>incognito_persistent</var>: setting for the incognito profile that survives br
owser restarts (overrides regular preferences),</li><li><var>incognito_session_o
nly</var>: setting for the incognito profile that can only be set during an inco
gnito session and is deleted when the incognito session ends (overrides regular
and incognito_persistent preferences).</li></ul>" | 15 "description": "The scope of the ChromeSetting. One of<ul><li><var>regul
ar</var>: setting for the regular profile (which is inherited by the incognito p
rofile if not overridden elsewhere),</li><li><var>regular_only</var>: setting fo
r the regular profile only (not inherited by the incognito profile),</li><li><va
r>incognito_persistent</var>: setting for the incognito profile that survives br
owser restarts (overrides regular preferences),</li><li><var>incognito_session_o
nly</var>: setting for the incognito profile that can only be set during an inco
gnito session and is deleted when the incognito session ends (overrides regular
and incognito_persistent preferences).</li></ul>" |
| 15 }, | 16 }, |
| 16 { | 17 { |
| 17 "id": "LevelOfControl", | 18 "id": "LevelOfControl", |
| 18 "type": "string", | 19 "type": "string", |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 } | 156 } |
| 156 } | 157 } |
| 157 } | 158 } |
| 158 ] | 159 ] |
| 159 } | 160 } |
| 160 ] | 161 ] |
| 161 } | 162 } |
| 162 ] | 163 ] |
| 163 } | 164 } |
| 164 ] | 165 ] |
| OLD | NEW |