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/browser/resources/settings/site_settings/site_settings_behavior.js

Issue 2351363003: MD History: Update button style for CBD in sidenav (Closed)
Patch Set: rebase 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 | « chrome/browser/resources/settings/icons.html ('k') | ui/webui/resources/cr_elements/icons.html » ('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 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 /** 5 /**
6 * @fileoverview Behavior common to Site Settings classes. 6 * @fileoverview Behavior common to Site Settings classes.
7 */ 7 */
8 8
9 /** @polymerBehavior */ 9 /** @polymerBehavior */
10 var SiteSettingsBehaviorImpl = { 10 var SiteSettingsBehaviorImpl = {
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 return 'settings:input'; 150 return 'settings:input';
151 case settings.ContentSettingsTypes.KEYGEN: 151 case settings.ContentSettingsTypes.KEYGEN:
152 return 'settings:code'; 152 return 'settings:code';
153 case settings.ContentSettingsTypes.MIC: 153 case settings.ContentSettingsTypes.MIC:
154 return 'settings:mic'; 154 return 'settings:mic';
155 case settings.ContentSettingsTypes.NOTIFICATIONS: 155 case settings.ContentSettingsTypes.NOTIFICATIONS:
156 return 'settings:notifications'; 156 return 'settings:notifications';
157 case settings.ContentSettingsTypes.PLUGINS: 157 case settings.ContentSettingsTypes.PLUGINS:
158 return 'cr:extension'; 158 return 'cr:extension';
159 case settings.ContentSettingsTypes.POPUPS: 159 case settings.ContentSettingsTypes.POPUPS:
160 return 'settings:open-in-new'; 160 return 'cr:open-in-new';
161 case settings.ContentSettingsTypes.PROTOCOL_HANDLERS: 161 case settings.ContentSettingsTypes.PROTOCOL_HANDLERS:
162 return 'settings:open-with'; 162 return 'settings:open-with';
163 case settings.ContentSettingsTypes.UNSANDBOXED_PLUGINS: 163 case settings.ContentSettingsTypes.UNSANDBOXED_PLUGINS:
164 return 'cr:extension'; 164 return 'cr:extension';
165 case settings.ContentSettingsTypes.USB_DEVICES: 165 case settings.ContentSettingsTypes.USB_DEVICES:
166 return 'settings:usb'; 166 return 'settings:usb';
167 case settings.ContentSettingsTypes.ZOOM_LEVELS: 167 case settings.ContentSettingsTypes.ZOOM_LEVELS:
168 return 'settings:zoom-in'; 168 return 'settings:zoom-in';
169 default: 169 default:
170 assertNotReached('Invalid category: ' + category); 170 assertNotReached('Invalid category: ' + category);
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 incognito: exception.incognito, 498 incognito: exception.incognito,
499 setting: exception.setting, 499 setting: exception.setting,
500 source: exception.source, 500 source: exception.source,
501 }; 501 };
502 }, 502 },
503 503
504 }; 504 };
505 505
506 /** @polymerBehavior */ 506 /** @polymerBehavior */
507 var SiteSettingsBehavior = [SiteSettingsBehaviorImpl]; 507 var SiteSettingsBehavior = [SiteSettingsBehaviorImpl];
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/icons.html ('k') | ui/webui/resources/cr_elements/icons.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698