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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/api/chromeos_info_private.json
diff --git a/chrome/common/extensions/api/chromeos_info_private.json b/chrome/common/extensions/api/chromeos_info_private.json
index a5dc0a4d0da0728da46d129c90ce847fb8de16b0..d792908473ee663119a5bc9856cbc43af7009830 100644
--- a/chrome/common/extensions/api/chromeos_info_private.json
+++ b/chrome/common/extensions/api/chromeos_info_private.json
@@ -9,6 +9,22 @@
"compiler_options": {
"implemented_in": "chrome/browser/chromeos/extensions/info_private_api.h"
},
+ "types": [
+ {
+ "id": "PropertyName",
+ "type": "string",
+ "enum": ["timezone",
+ "a11yLargeCursorEnabled",
+ "a11yStickyKeysEnabled",
+ "a11ySpokenFeedbackEnabled",
+ "a11yHighContrastEnabled",
+ "a11yScreenMagnifierEnabled",
+ "a11yAutoClickEnabled",
+ "a11yVirtualKeyboardEnabled",
+ "sendFunctionKeys"],
+ "description": "Chrome OS system property name"
+ }
+ ],
"functions": [
{
"name": "get",
@@ -68,16 +84,7 @@
"parameters": [
{
"name": "propertyName",
- "type": "string",
- "enum": ["timezone",
- "a11yLargeCursorEnabled",
- "a11yStickyKeysEnabled",
- "a11ySpokenFeedbackEnabled",
- "a11yHighContrastEnabled",
- "a11yScreenMagnifierEnabled",
- "a11yAutoClickEnabled",
- "a11yVirtualKeyboardEnabled",
- "sendFunctionKeys"],
+ "$ref": "PropertyName",
"description": "Chrome OS system property name"
},
{
« 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