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

Side by Side Diff: third_party/google_input_tools/src/chrome/os/datasource.js

Issue 1046933003: Updates google-input-tools. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 2014 The ChromeOS IME Authors. All Rights Reserved. 1 // Copyright 2014 The ChromeOS IME Authors. All Rights Reserved.
2 // limitations under the License. 2 // limitations under the License.
3 // See the License for the specific language governing permissions and 3 // See the License for the specific language governing permissions and
4 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 4 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
5 // distributed under the License is distributed on an "AS-IS" BASIS, 5 // distributed under the License is distributed on an "AS-IS" BASIS,
6 // Unless required by applicable law or agreed to in writing, software 6 // Unless required by applicable law or agreed to in writing, software
7 // 7 //
8 // http://www.apache.org/licenses/LICENSE-2.0 8 // http://www.apache.org/licenses/LICENSE-2.0
9 // 9 //
10 // You may obtain a copy of the License at 10 // You may obtain a copy of the License at
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 * Sets the correction level. 175 * Sets the correction level.
176 * 176 *
177 * @param {number} level . 177 * @param {number} level .
178 */ 178 */
179 DataSource.prototype.setCorrectionLevel = function(level) { 179 DataSource.prototype.setCorrectionLevel = function(level) {
180 this.correctionLevel = level; 180 this.correctionLevel = level;
181 }; 181 };
182 182
183 183
184 /** 184 /**
185 * Commits text to the data source. 185 * Changes frequency of word in the data source.
186 * 186 *
187 * @param {string} text The text to commit. 187 * @param {string} word The word to commit/change.
188 * @param {number} frequency The change in frequency.
188 */ 189 */
189 DataSource.prototype.commitText = goog.functions.NULL; 190 DataSource.prototype.changeWordFrequency = goog.functions.NULL;
190 191
191 192
192 /** 193 /**
193 * Clears the data source. 194 * Clears the data source.
194 */ 195 */
195 DataSource.prototype.clear = goog.functions.NULL; 196 DataSource.prototype.clear = goog.functions.NULL;
196 197
197 198
198 199
199 /** 200 /**
(...skipping 18 matching lines...) Expand all
218 /** 219 /**
219 * The candidate list. 220 * The candidate list.
220 * 221 *
221 * @type {!Array.<!Object>} 222 * @type {!Array.<!Object>}
222 */ 223 */
223 this.candidates = candidates; 224 this.candidates = candidates;
224 }; 225 };
225 goog.inherits(DataSource.CandidatesBackEvent, Event); 226 goog.inherits(DataSource.CandidatesBackEvent, Event);
226 227
227 }); // goog.scope 228 }); // goog.scope
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698