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

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

Issue 1833053004: [Extensions] Convert APIs to use movable types [10] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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": "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
155 } 156 }
156 } 157 }
157 } 158 }
158 ] 159 ]
159 } 160 }
160 ] 161 ]
161 } 162 }
162 ] 163 ]
163 } 164 }
164 ] 165 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/tts_engine.json ('k') | chrome/common/extensions/api/types_private.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698