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

Side by Side Diff: chrome/browser/resources/settings/appearance_page/fonts_browser_proxy.js

Issue 2398233004: [MD settings] touch-up removal of encoding settings (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « no previous file | chrome/browser/ui/webui/settings/font_handler.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 /** 5 /**
6 * @typedef {{ 6 * @typedef {{
7 * fontList: Array<{0: string, 1: (string|undefined), 2: (string|undefined)}>, 7 * fontList: Array<{0: string, 1: (string|undefined), 2: (string|undefined)}>,
8 * encodingList: Array<{0: string, 1: string}>,
9 * extensionUrl: string 8 * extensionUrl: string
10 * }} 9 * }}
11 */ 10 */
12 var FontsData; 11 var FontsData;
13 12
14 cr.define('settings', function() { 13 cr.define('settings', function() {
15 /** @interface */ 14 /** @interface */
16 function FontsBrowserProxy() {} 15 function FontsBrowserProxy() {}
17 16
18 FontsBrowserProxy.prototype = { 17 FontsBrowserProxy.prototype = {
19 /** 18 /**
20 * @return {!Promise<!FontsData>} Fonts, encodings and the advanced font 19 * @return {!Promise<!FontsData>} Fonts and the advanced font settings
21 * settings extension URL. 20 * extension URL.
22 */ 21 */
23 fetchFontsData: assertNotReached, 22 fetchFontsData: assertNotReached,
24 23
25 observeAdvancedFontExtensionAvailable: assertNotReached, 24 observeAdvancedFontExtensionAvailable: assertNotReached,
26 25
27 openAdvancedFontSettings: assertNotReached, 26 openAdvancedFontSettings: assertNotReached,
28 }; 27 };
29 28
30 /** 29 /**
31 * @implements {settings.FontsBrowserProxy} 30 * @implements {settings.FontsBrowserProxy}
(...skipping 18 matching lines...) Expand all
50 openAdvancedFontSettings: function() { 49 openAdvancedFontSettings: function() {
51 chrome.send('openAdvancedFontSettings'); 50 chrome.send('openAdvancedFontSettings');
52 } 51 }
53 }; 52 };
54 53
55 return { 54 return {
56 FontsBrowserProxy: FontsBrowserProxy, 55 FontsBrowserProxy: FontsBrowserProxy,
57 FontsBrowserProxyImpl: FontsBrowserProxyImpl, 56 FontsBrowserProxyImpl: FontsBrowserProxyImpl,
58 }; 57 };
59 }); 58 });
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/webui/settings/font_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698