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

Side by Side Diff: third_party/closure_compiler/externs/language_settings_private.js

Issue 1373073003: Implement chrome.languageSettingsPrivate custom spell check functions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@LanguagePage1EditIndividual
Patch Set: rebase on histogram fixes Created 5 years, 1 month 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 // This file was generated by: 5 // This file was generated by:
6 // tools/json_schema_compiler/compiler.py. 6 // tools/json_schema_compiler/compiler.py.
7 // NOTE: The format of types has changed. 'FooType' is now 7 // NOTE: The format of types has changed. 'FooType' is now
8 // 'chrome.languageSettingsPrivate.FooType'. 8 // 'chrome.languageSettingsPrivate.FooType'.
9 // Please run the closure compiler before committing changes. 9 // Please run the closure compiler before committing changes.
10 // See https://code.google.com/p/chromium/wiki/ClosureCompilation. 10 // See https://code.google.com/p/chromium/wiki/ClosureCompilation.
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 chrome.languageSettingsPrivate.setLanguageList = function(languageCodes) {}; 78 chrome.languageSettingsPrivate.setLanguageList = function(languageCodes) {};
79 79
80 /** 80 /**
81 * Gets the current status of the chosen spell check dictionaries. 81 * Gets the current status of the chosen spell check dictionaries.
82 * @param {function(!Array<!chrome.languageSettingsPrivate.SpellcheckDictionaryS tatus>):void} callback 82 * @param {function(!Array<!chrome.languageSettingsPrivate.SpellcheckDictionaryS tatus>):void} callback
83 * @see https://developer.chrome.com/extensions/languageSettingsPrivate#method-g etSpellcheckDictionaryStatuses 83 * @see https://developer.chrome.com/extensions/languageSettingsPrivate#method-g etSpellcheckDictionaryStatuses
84 */ 84 */
85 chrome.languageSettingsPrivate.getSpellcheckDictionaryStatuses = function(callba ck) {}; 85 chrome.languageSettingsPrivate.getSpellcheckDictionaryStatuses = function(callba ck) {};
86 86
87 /** 87 /**
88 * Gets the custom spell check words. 88 * Gets the custom spell check words, in sorted order.
89 * @param {function(!Array<string>):void} callback 89 * @param {function(!Array<string>):void} callback
90 * @see https://developer.chrome.com/extensions/languageSettingsPrivate#method-g etSpellcheckWords 90 * @see https://developer.chrome.com/extensions/languageSettingsPrivate#method-g etSpellcheckWords
91 */ 91 */
92 chrome.languageSettingsPrivate.getSpellcheckWords = function(callback) {}; 92 chrome.languageSettingsPrivate.getSpellcheckWords = function(callback) {};
93 93
94 /** 94 /**
95 * Adds a word to the custom dictionary.
96 * @param {string} word
97 * @see https://developer.chrome.com/extensions/languageSettingsPrivate#method-a ddSpellcheckWord
98 */
99 chrome.languageSettingsPrivate.addSpellcheckWord = function(word) {};
100
101 /**
102 * Removes a word from the custom dictionary.
103 * @param {string} word
104 * @see https://developer.chrome.com/extensions/languageSettingsPrivate#method-r emoveSpellcheckWord
105 */
106 chrome.languageSettingsPrivate.removeSpellcheckWord = function(word) {};
107
108 /**
95 * Gets the translate target language (in most cases, the display locale). 109 * Gets the translate target language (in most cases, the display locale).
96 * @param {function(string):void} callback 110 * @param {function(string):void} callback
97 * @see https://developer.chrome.com/extensions/languageSettingsPrivate#method-g etTranslateTargetLanguage 111 * @see https://developer.chrome.com/extensions/languageSettingsPrivate#method-g etTranslateTargetLanguage
98 */ 112 */
99 chrome.languageSettingsPrivate.getTranslateTargetLanguage = function(callback) { }; 113 chrome.languageSettingsPrivate.getTranslateTargetLanguage = function(callback) { };
100 114
101 /** 115 /**
102 * Gets all supported input methods, including IMEs. Chrome OS only. 116 * Gets all supported input methods, including IMEs. Chrome OS only.
103 * @param {function(!chrome.languageSettingsPrivate.InputMethodLists):void} call back 117 * @param {function(!chrome.languageSettingsPrivate.InputMethodLists):void} call back
104 * @see https://developer.chrome.com/extensions/languageSettingsPrivate#method-g etInputMethodLists 118 * @see https://developer.chrome.com/extensions/languageSettingsPrivate#method-g etInputMethodLists
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 chrome.languageSettingsPrivate.onInputMethodAdded; 159 chrome.languageSettingsPrivate.onInputMethodAdded;
146 160
147 /** 161 /**
148 * Called when an input method is removed. 162 * Called when an input method is removed.
149 * @type {!ChromeEvent} 163 * @type {!ChromeEvent}
150 * @see https://developer.chrome.com/extensions/languageSettingsPrivate#event-on InputMethodRemoved 164 * @see https://developer.chrome.com/extensions/languageSettingsPrivate#event-on InputMethodRemoved
151 */ 165 */
152 chrome.languageSettingsPrivate.onInputMethodRemoved; 166 chrome.languageSettingsPrivate.onInputMethodRemoved;
153 167
154 168
OLDNEW
« no previous file with comments | « extensions/browser/extension_function_histogram_value.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698