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

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

Issue 16876004: Updating JSON Schema Compiler to add description field to schemas. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: (kalman) rebase Created 7 years, 6 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": "input.ime", 7 "namespace": "input.ime",
8 "description": "Use the <code>chrome.input.ime</code> API to implement a cus tom IME for Chrome OS. This allows your extension to handle keystrokes, set the composition, and manage the candidate window.",
8 "platforms": ["chromeos"], 9 "platforms": ["chromeos"],
9 "types": [ 10 "types": [
10 { 11 {
11 "id": "KeyboardEvent", 12 "id": "KeyboardEvent",
12 "type": "object", 13 "type": "object",
13 "description": "See http://www.w3.org/TR/DOM-Level-3-Events/#events-Keyb oardEvent", 14 "description": "See http://www.w3.org/TR/DOM-Level-3-Events/#events-Keyb oardEvent",
14 "properties": { 15 "properties": {
15 "type": {"type": "string", "description": "One of keyup or keydown.", "enum": ["keyup", "keydown"]}, 16 "type": {"type": "string", "description": "One of keyup or keydown.", "enum": ["keyup", "keydown"]},
16 "requestId": {"type": "string", "description": "The ID of the request. "}, 17 "requestId": {"type": "string", "description": "The ID of the request. "},
17 "key": {"type": "string", "description": "Value of the key being press ed"}, 18 "key": {"type": "string", "description": "Value of the key being press ed"},
(...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after
637 { 638 {
638 "type": "string", 639 "type": "string",
639 "name": "engineID", 640 "name": "engineID",
640 "description": "ID of the engine receiving the event" 641 "description": "ID of the engine receiving the event"
641 } 642 }
642 ] 643 ]
643 } 644 }
644 ] 645 ]
645 } 646 }
646 ] 647 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/idle.json ('k') | chrome/common/extensions/api/input_method_private.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698