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

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

Issue 1528483002: Add chrome.input.ime.activate and chrome.input.ime.deactivate API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « chrome/chrome_browser_ui.gypi ('k') | extensions/browser/extension_function_histogram_value.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "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.",
9 "types": [ 9 "types": [
10 { 10 {
(...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after
589 "name": "callback", 589 "name": "callback",
590 "description": "Called when the operation completes.", 590 "description": "Called when the operation completes.",
591 "parameters": [ 591 "parameters": [
592 { 592 {
593 "name": "windowObject", 593 "name": "windowObject",
594 "type": "object", 594 "type": "object",
595 "isInstanceOf": "Window", 595 "isInstanceOf": "Window",
596 "description": "The JavaScript 'window' object of the newly crea ted IME window." 596 "description": "The JavaScript 'window' object of the newly crea ted IME window."
597 } 597 }
598 ] 598 ]
599 }
600 ]
601 },
602 {
603 "name": "activate",
604 "type": "function",
605 "description": "Activates the IME extension so that it can receive event s.",
606 "platforms": ["win", "linux"],
607 "parameters": [
608 {
609 "type": "function",
610 "name": "callback",
611 "optional": true,
612 "description": "Called when the operation completes.",
613 "parameters": []
614 }
615 ]
616 },
617 {
618 "name": "deactivate",
619 "type": "function",
620 "description": "Deactivates the IME extension so that it cannot receive events.",
621 "platforms": ["win", "linux"],
622 "parameters": [
623 {
624 "type": "function",
625 "name": "callback",
626 "optional": true,
627 "description": "Called when the operation completes.",
628 "parameters": []
599 } 629 }
600 ] 630 ]
601 } 631 }
602 ], 632 ],
603 "events": [ 633 "events": [
604 { 634 {
605 "name": "onActivate", 635 "name": "onActivate",
606 "type": "function", 636 "type": "function",
607 "description": "This event is sent when an IME is activated. It signals that the IME will be receiving onKeyPress events.", 637 "description": "This event is sent when an IME is activated. It signals that the IME will be receiving onKeyPress events.",
608 "platforms": ["chromeos"], 638 "platforms": ["chromeos"],
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
797 { 827 {
798 "type": "string", 828 "type": "string",
799 "name": "engineID", 829 "name": "engineID",
800 "description": "ID of the engine receiving the event" 830 "description": "ID of the engine receiving the event"
801 } 831 }
802 ] 832 ]
803 } 833 }
804 ] 834 ]
805 } 835 }
806 ] 836 ]
OLDNEW
« no previous file with comments | « chrome/chrome_browser_ui.gypi ('k') | extensions/browser/extension_function_histogram_value.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698