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

Side by Side Diff: chrome/common/extensions/docs/examples/api/fontSettings/options.js

Issue 2216033003: Fix typo "contols" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 (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 'use strict'; 5 'use strict';
6 6
7 /** 7 /**
8 * @fileoverview The Advanced Font Settings Extension implementation. 8 * @fileoverview The Advanced Font Settings Extension implementation.
9 */ 9 */
10 10
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 * @const 211 * @const
212 */ 212 */
213 advancedFonts.pendingChanges = new PendingChanges(); 213 advancedFonts.pendingChanges = new PendingChanges();
214 214
215 /** 215 /**
216 * Map from |genericFamily| to UI controls and data for its font setting. 216 * Map from |genericFamily| to UI controls and data for its font setting.
217 */ 217 */
218 advancedFonts.fontSettings = null; 218 advancedFonts.fontSettings = null;
219 219
220 /** 220 /**
221 * Map from |fontSizeKey| to UI contols and data for its font size setting. 221 * Map from |fontSizeKey| to UI controls and data for its font size setting.
222 */ 222 */
223 advancedFonts.fontSizeSettings = null; 223 advancedFonts.fontSizeSettings = null;
224 224
225 /** 225 /**
226 * Gets the font size used for |fontSizeKey|, including pending changes. Calls 226 * Gets the font size used for |fontSizeKey|, including pending changes. Calls
227 * |callback| with the result. 227 * |callback| with the result.
228 * 228 *
229 * @param {string} fontSizeKey The font size setting key. See 229 * @param {string} fontSizeKey The font size setting key. See
230 * PendingChanges.getFontSize(). 230 * PendingChanges.getFontSize().
231 * @param {function(number, boolean)} callback The callback of form 231 * @param {function(number, boolean)} callback The callback of form
(...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after
759 advancedFonts.useSystemFont(); 759 advancedFonts.useSystemFont();
760 760
761 advancedFonts.initFontControls(); 761 advancedFonts.initFontControls();
762 advancedFonts.initFontSizeControls(); 762 advancedFonts.initFontSizeControls();
763 advancedFonts.initScriptList(); 763 advancedFonts.initScriptList();
764 764
765 advancedFonts.initApplyAndResetButtons(); 765 advancedFonts.initApplyAndResetButtons();
766 }; 766 };
767 767
768 document.addEventListener('DOMContentLoaded', advancedFonts.init); 768 document.addEventListener('DOMContentLoaded', advancedFonts.init);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698