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

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

Issue 1055673002: [Extensions API] Remove inline enums (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Latest master Created 5 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": "chromeosInfoPrivate", 7 "namespace": "chromeosInfoPrivate",
8 "description": "none", 8 "description": "none",
9 "compiler_options": { 9 "compiler_options": {
10 "implemented_in": "chrome/browser/chromeos/extensions/info_private_api.h" 10 "implemented_in": "chrome/browser/chromeos/extensions/info_private_api.h"
11 }, 11 },
12 "types": [
13 {
14 "id": "PropertyName",
15 "type": "string",
16 "enum": ["timezone",
17 "a11yLargeCursorEnabled",
18 "a11yStickyKeysEnabled",
19 "a11ySpokenFeedbackEnabled",
20 "a11yHighContrastEnabled",
21 "a11yScreenMagnifierEnabled",
22 "a11yAutoClickEnabled",
23 "a11yVirtualKeyboardEnabled",
24 "sendFunctionKeys"],
25 "description": "Chrome OS system property name"
26 }
27 ],
12 "functions": [ 28 "functions": [
13 { 29 {
14 "name": "get", 30 "name": "get",
15 "description": "Fetches customization values for the given property name s. See property names in the declaration of the returned dictionary.", 31 "description": "Fetches customization values for the given property name s. See property names in the declaration of the returned dictionary.",
16 "type": "function", 32 "type": "function",
17 "parameters": [ 33 "parameters": [
18 { 34 {
19 "name": "propertyNames", 35 "name": "propertyNames",
20 "type": "array", 36 "type": "array",
21 "description": "Chrome OS Property names", 37 "description": "Chrome OS Property names",
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 } 77 }
62 ] 78 ]
63 }, 79 },
64 { 80 {
65 "name": "set", 81 "name": "set",
66 "description": "Sets values for the given system property.", 82 "description": "Sets values for the given system property.",
67 "type": "function", 83 "type": "function",
68 "parameters": [ 84 "parameters": [
69 { 85 {
70 "name": "propertyName", 86 "name": "propertyName",
71 "type": "string", 87 "$ref": "PropertyName",
72 "enum": ["timezone",
73 "a11yLargeCursorEnabled",
74 "a11yStickyKeysEnabled",
75 "a11ySpokenFeedbackEnabled",
76 "a11yHighContrastEnabled",
77 "a11yScreenMagnifierEnabled",
78 "a11yAutoClickEnabled",
79 "a11yVirtualKeyboardEnabled",
80 "sendFunctionKeys"],
81 "description": "Chrome OS system property name" 88 "description": "Chrome OS system property name"
82 }, 89 },
83 { 90 {
84 "name": "propertyValue", 91 "name": "propertyValue",
85 "type": "any", 92 "type": "any",
86 "description": "Chrome OS system property value" 93 "description": "Chrome OS system property value"
87 } 94 }
88 ] 95 ]
89 } 96 }
90 ] 97 ]
91 } 98 }
92 ] 99 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/chrome_web_view_internal.json ('k') | chrome/common/extensions/api/content_settings.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698