This reverts commit fd2457b10fc2713bfd5d86952216cf89b6283a90. Reason for revert: <INSERT REASONING HERE> Original change's description: > Roll chromium_revision e1ef7d4b6b..b47e7752c6 (568794:569173) > > Change log:e1ef7d4b6b..b47e7752c6> Full diff:e1ef7d4b6b..b47e7752c6> > Roll chromium third_party ab9fbe29c9..630af48a96 > Change log:ab9fbe29c9..630af48a96> > Changed dependencies: > * src/base:03e1bc561f..6070b24b9f> * src/build:bb306be407..511e258eee> * src/ios:48697bf3a1..ce1db7deb1> * src/testing:6440c4ea3a..80a4cfaab7> * src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/f153b902be..f3c454475a > * src/third_party/depot_tools:1cabdc4643..a28b14f122> * src/tools:66f1089d0c..f6bb2a6fb4> DEPS diff:e1ef7d4b6b..b47e7752c6/DEPS > > No update to Clang. > > TBR=buildbot@webrtc.org, > BUG=None > CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal > NO_AUTOIMPORT_DEPS_CHECK=true > > Change-Id: I7553549111225f2c5bc769dec114cd058ae699d5 > Reviewed-on: https://webrtc-review.googlesource.com/84600 > Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org> > Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org> > Cr-Commit-Position: refs/heads/master@{#23692} TBR=buildbot@webrtc.org Change-Id: I7d136553622fe4c4e49dbd9c60406811a8b11bd8 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: None Cq-Include-Trybots: master.internal.tryserver.corp.webrtc:linux_internal Reviewed-on: https://webrtc-review.googlesource.com/84720 Reviewed-by: Artem Titov <titovartem@webrtc.org> Commit-Queue: Artem Titov <titovartem@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23708}
126 lines
4.7 KiB
JavaScript
126 lines
4.7 KiB
JavaScript
// Copyright 2016 The Chromium Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
// This file was generated by:
|
|
// tools/json_schema_compiler/compiler.py.
|
|
// NOTE: The format of types has changed. 'FooType' is now
|
|
// 'chrome.inputMethodPrivate.FooType'.
|
|
// Please run the closure compiler before committing changes.
|
|
// See https://chromium.googlesource.com/chromium/src/+/master/docs/closure_compilation.md
|
|
|
|
/** @fileoverview Externs generated from namespace: inputMethodPrivate */
|
|
|
|
/**
|
|
* @const
|
|
*/
|
|
chrome.inputMethodPrivate = {};
|
|
|
|
/**
|
|
* Gets configurations for input methods.
|
|
* @param {function({
|
|
* isPhysicalKeyboardAutocorrectEnabled: boolean,
|
|
* isImeMenuActivated: boolean
|
|
* }):void} callback Callback which is called with the config object.
|
|
* @see https://developer.chrome.com/extensions/inputMethodPrivate#method-getInputMethodConfig
|
|
*/
|
|
chrome.inputMethodPrivate.getInputMethodConfig = function(callback) {};
|
|
|
|
/**
|
|
* Gets all whitelisted input methods.
|
|
* @param {function(!Array<{
|
|
* id: string,
|
|
* name: string,
|
|
* indicator: string
|
|
* }>):void} callback Callback which is called with the input method objects.
|
|
* @see https://developer.chrome.com/extensions/inputMethodPrivate#method-getInputMethods
|
|
*/
|
|
chrome.inputMethodPrivate.getInputMethods = function(callback) {};
|
|
|
|
/**
|
|
* Gets the current input method.
|
|
* @param {function(string):void} callback Callback which is called with the
|
|
* current input method.
|
|
* @see https://developer.chrome.com/extensions/inputMethodPrivate#method-getCurrentInputMethod
|
|
*/
|
|
chrome.inputMethodPrivate.getCurrentInputMethod = function(callback) {};
|
|
|
|
/**
|
|
* Sets the current input method.
|
|
* @param {string} inputMethodId The input method ID to be set as current input
|
|
* method.
|
|
* @param {function():void=} callback Callback which is called once the current
|
|
* input method is set. If unsuccessful $(ref:runtime.lastError) is set.
|
|
* @see https://developer.chrome.com/extensions/inputMethodPrivate#method-setCurrentInputMethod
|
|
*/
|
|
chrome.inputMethodPrivate.setCurrentInputMethod = function(inputMethodId, callback) {};
|
|
|
|
/**
|
|
* Fetches a list of all the words currently in the dictionary.
|
|
* @param {function(!Array<string>):void} callback Callback which is called once
|
|
* the list of dictionary words are ready.
|
|
* @see https://developer.chrome.com/extensions/inputMethodPrivate#method-fetchAllDictionaryWords
|
|
*/
|
|
chrome.inputMethodPrivate.fetchAllDictionaryWords = function(callback) {};
|
|
|
|
/**
|
|
* Adds a single word to be stored in the dictionary.
|
|
* @param {string} word A new word to add to the dictionary.
|
|
* @param {function():void=} callback Callback which is called once the word is
|
|
* added. If unsuccessful $(ref:runtime.lastError) is set.
|
|
* @see https://developer.chrome.com/extensions/inputMethodPrivate#method-addWordToDictionary
|
|
*/
|
|
chrome.inputMethodPrivate.addWordToDictionary = function(word, callback) {};
|
|
|
|
/**
|
|
* Gets whether the encrypt sync is enabled.
|
|
* @param {function(boolean):void=} callback Callback which is called to provide
|
|
* the result.
|
|
* @see https://developer.chrome.com/extensions/inputMethodPrivate#method-getEncryptSyncEnabled
|
|
*/
|
|
chrome.inputMethodPrivate.getEncryptSyncEnabled = function(callback) {};
|
|
|
|
/**
|
|
* Sets the XKB layout for the given input method.
|
|
* @param {string} xkb_name The XKB layout name.
|
|
* @param {function():void=} callback Callback which is called when the layout
|
|
* is set.
|
|
* @see https://developer.chrome.com/extensions/inputMethodPrivate#method-setXkbLayout
|
|
*/
|
|
chrome.inputMethodPrivate.setXkbLayout = function(xkb_name, callback) {};
|
|
|
|
/**
|
|
* Fired when the input method is changed.
|
|
* @type {!ChromeEvent}
|
|
* @see https://developer.chrome.com/extensions/inputMethodPrivate#event-onChanged
|
|
*/
|
|
chrome.inputMethodPrivate.onChanged;
|
|
|
|
/**
|
|
* Fired when the composition bounds or cursor bounds are changed.
|
|
* @type {!ChromeEvent}
|
|
* @see https://developer.chrome.com/extensions/inputMethodPrivate#event-onCompositionBoundsChanged
|
|
*/
|
|
chrome.inputMethodPrivate.onCompositionBoundsChanged;
|
|
|
|
/**
|
|
* Fired when the custom spelling dictionary is loaded.
|
|
* @type {!ChromeEvent}
|
|
* @see https://developer.chrome.com/extensions/inputMethodPrivate#event-onDictionaryLoaded
|
|
*/
|
|
chrome.inputMethodPrivate.onDictionaryLoaded;
|
|
|
|
/**
|
|
* Fired when words are added or removed from the custom spelling dictionary.
|
|
* @type {!ChromeEvent}
|
|
* @see https://developer.chrome.com/extensions/inputMethodPrivate#event-onDictionaryChanged
|
|
*/
|
|
chrome.inputMethodPrivate.onDictionaryChanged;
|
|
|
|
/**
|
|
* Fired when the IME menu is activated or deactivated.
|
|
* @type {!ChromeEvent}
|
|
* @see https://developer.chrome.com/extensions/inputMethodPrivate#event-onImeMenuActivationChanged
|
|
*/
|
|
chrome.inputMethodPrivate.onImeMenuActivationChanged;
|