Revert "Roll chromium_revision e1ef7d4b6b..b47e7752c6 (568794:569173)"
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}
This commit is contained in:
@ -18,6 +18,7 @@ chrome.languageSettingsPrivate = {};
|
||||
|
||||
/**
|
||||
* @enum {string}
|
||||
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#type-MoveType
|
||||
*/
|
||||
chrome.languageSettingsPrivate.MoveType = {
|
||||
TOP: 'TOP',
|
||||
@ -36,6 +37,7 @@ chrome.languageSettingsPrivate.MoveType = {
|
||||
* supportsTranslate: (boolean|undefined),
|
||||
* isAllowedUILocale: (boolean|undefined)
|
||||
* }}
|
||||
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#type-Language
|
||||
*/
|
||||
chrome.languageSettingsPrivate.Language;
|
||||
|
||||
@ -46,6 +48,7 @@ chrome.languageSettingsPrivate.Language;
|
||||
* isDownloading: (boolean|undefined),
|
||||
* downloadFailed: (boolean|undefined)
|
||||
* }}
|
||||
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#type-SpellcheckDictionaryStatus
|
||||
*/
|
||||
chrome.languageSettingsPrivate.SpellcheckDictionaryStatus;
|
||||
|
||||
@ -57,6 +60,7 @@ chrome.languageSettingsPrivate.SpellcheckDictionaryStatus;
|
||||
* enabled: (boolean|undefined),
|
||||
* hasOptionsPage: (boolean|undefined)
|
||||
* }}
|
||||
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#type-InputMethod
|
||||
*/
|
||||
chrome.languageSettingsPrivate.InputMethod;
|
||||
|
||||
@ -65,6 +69,7 @@ chrome.languageSettingsPrivate.InputMethod;
|
||||
* componentExtensionImes: !Array<!chrome.languageSettingsPrivate.InputMethod>,
|
||||
* thirdPartyExtensionImes: !Array<!chrome.languageSettingsPrivate.InputMethod>
|
||||
* }}
|
||||
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#type-InputMethodLists
|
||||
*/
|
||||
chrome.languageSettingsPrivate.InputMethodLists;
|
||||
|
||||
@ -72,6 +77,7 @@ chrome.languageSettingsPrivate.InputMethodLists;
|
||||
* Gets languages available for translate, spell checking, input and locale.
|
||||
* @param {function(!Array<!chrome.languageSettingsPrivate.Language>):void}
|
||||
* callback
|
||||
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#method-getLanguageList
|
||||
*/
|
||||
chrome.languageSettingsPrivate.getLanguageList = function(callback) {};
|
||||
|
||||
@ -79,12 +85,14 @@ chrome.languageSettingsPrivate.getLanguageList = function(callback) {};
|
||||
* Enables a language, adding it to the Accept-Language list (used to decide
|
||||
* which languages to translate, generate the Accept-Language header, etc.).
|
||||
* @param {string} languageCode
|
||||
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#method-enableLanguage
|
||||
*/
|
||||
chrome.languageSettingsPrivate.enableLanguage = function(languageCode) {};
|
||||
|
||||
/**
|
||||
* Disables a language, removing it from the Accept-Language list.
|
||||
* @param {string} languageCode
|
||||
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#method-disableLanguage
|
||||
*/
|
||||
chrome.languageSettingsPrivate.disableLanguage = function(languageCode) {};
|
||||
|
||||
@ -92,6 +100,7 @@ chrome.languageSettingsPrivate.disableLanguage = function(languageCode) {};
|
||||
* Enables or disables translation for a given language.
|
||||
* @param {string} languageCode
|
||||
* @param {boolean} enable
|
||||
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#method-setEnableTranslationForLanguage
|
||||
*/
|
||||
chrome.languageSettingsPrivate.setEnableTranslationForLanguage = function(languageCode, enable) {};
|
||||
|
||||
@ -99,6 +108,7 @@ chrome.languageSettingsPrivate.setEnableTranslationForLanguage = function(langua
|
||||
* Moves a language inside the language list.
|
||||
* @param {string} languageCode
|
||||
* @param {!chrome.languageSettingsPrivate.MoveType} moveType
|
||||
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#method-moveLanguage
|
||||
*/
|
||||
chrome.languageSettingsPrivate.moveLanguage = function(languageCode, moveType) {};
|
||||
|
||||
@ -106,30 +116,35 @@ chrome.languageSettingsPrivate.moveLanguage = function(languageCode, moveType) {
|
||||
* Gets the current status of the chosen spell check dictionaries.
|
||||
* @param {function(!Array<!chrome.languageSettingsPrivate.SpellcheckDictionaryStatus>):void}
|
||||
* callback
|
||||
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#method-getSpellcheckDictionaryStatuses
|
||||
*/
|
||||
chrome.languageSettingsPrivate.getSpellcheckDictionaryStatuses = function(callback) {};
|
||||
|
||||
/**
|
||||
* Gets the custom spell check words, in sorted order.
|
||||
* @param {function(!Array<string>):void} callback
|
||||
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#method-getSpellcheckWords
|
||||
*/
|
||||
chrome.languageSettingsPrivate.getSpellcheckWords = function(callback) {};
|
||||
|
||||
/**
|
||||
* Adds a word to the custom dictionary.
|
||||
* @param {string} word
|
||||
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#method-addSpellcheckWord
|
||||
*/
|
||||
chrome.languageSettingsPrivate.addSpellcheckWord = function(word) {};
|
||||
|
||||
/**
|
||||
* Removes a word from the custom dictionary.
|
||||
* @param {string} word
|
||||
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#method-removeSpellcheckWord
|
||||
*/
|
||||
chrome.languageSettingsPrivate.removeSpellcheckWord = function(word) {};
|
||||
|
||||
/**
|
||||
* Gets the translate target language (in most cases, the display locale).
|
||||
* @param {function(string):void} callback
|
||||
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#method-getTranslateTargetLanguage
|
||||
*/
|
||||
chrome.languageSettingsPrivate.getTranslateTargetLanguage = function(callback) {};
|
||||
|
||||
@ -137,6 +152,7 @@ chrome.languageSettingsPrivate.getTranslateTargetLanguage = function(callback) {
|
||||
* Gets all supported input methods, including third-party IMEs. Chrome OS only.
|
||||
* @param {function(!chrome.languageSettingsPrivate.InputMethodLists):void}
|
||||
* callback
|
||||
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#method-getInputMethodLists
|
||||
*/
|
||||
chrome.languageSettingsPrivate.getInputMethodLists = function(callback) {};
|
||||
|
||||
@ -144,6 +160,7 @@ chrome.languageSettingsPrivate.getInputMethodLists = function(callback) {};
|
||||
* Adds the input method to the current user's list of enabled input methods,
|
||||
* enabling the input method for the current user. Chrome OS only.
|
||||
* @param {string} inputMethodId
|
||||
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#method-addInputMethod
|
||||
*/
|
||||
chrome.languageSettingsPrivate.addInputMethod = function(inputMethodId) {};
|
||||
|
||||
@ -151,12 +168,14 @@ chrome.languageSettingsPrivate.addInputMethod = function(inputMethodId) {};
|
||||
* Removes the input method from the current user's list of enabled input
|
||||
* methods, disabling the input method for the current user. Chrome OS only.
|
||||
* @param {string} inputMethodId
|
||||
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#method-removeInputMethod
|
||||
*/
|
||||
chrome.languageSettingsPrivate.removeInputMethod = function(inputMethodId) {};
|
||||
|
||||
/**
|
||||
* Tries to download the dictionary after a failed download.
|
||||
* @param {string} languageCode
|
||||
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#method-retryDownloadDictionary
|
||||
*/
|
||||
chrome.languageSettingsPrivate.retryDownloadDictionary = function(languageCode) {};
|
||||
|
||||
@ -164,6 +183,7 @@ chrome.languageSettingsPrivate.retryDownloadDictionary = function(languageCode)
|
||||
* Called when the pref for the dictionaries used for spell checking changes or
|
||||
* the status of one of the spell check dictionaries changes.
|
||||
* @type {!ChromeEvent}
|
||||
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#event-onSpellcheckDictionariesChanged
|
||||
*/
|
||||
chrome.languageSettingsPrivate.onSpellcheckDictionariesChanged;
|
||||
|
||||
@ -171,17 +191,20 @@ chrome.languageSettingsPrivate.onSpellcheckDictionariesChanged;
|
||||
* Called when words are added to and/or removed from the custom spell check
|
||||
* dictionary.
|
||||
* @type {!ChromeEvent}
|
||||
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#event-onCustomDictionaryChanged
|
||||
*/
|
||||
chrome.languageSettingsPrivate.onCustomDictionaryChanged;
|
||||
|
||||
/**
|
||||
* Called when an input method is added.
|
||||
* @type {!ChromeEvent}
|
||||
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#event-onInputMethodAdded
|
||||
*/
|
||||
chrome.languageSettingsPrivate.onInputMethodAdded;
|
||||
|
||||
/**
|
||||
* Called when an input method is removed.
|
||||
* @type {!ChromeEvent}
|
||||
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#event-onInputMethodRemoved
|
||||
*/
|
||||
chrome.languageSettingsPrivate.onInputMethodRemoved;
|
||||
chrome.languageSettingsPrivate.onInputMethodRemoved;
|
||||
Reference in New Issue
Block a user