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

Side by Side Diff: chrome/browser/resources/settings/basic_page/basic_page.js

Issue 2615673003: [MD WebUI] Move icons used in Bookmarks and Settings to shared file. (Closed)
Patch Set: merge Created 3 years, 11 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 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 6 * @fileoverview
7 * 'settings-basic-page' is the settings page containing the actual settings. 7 * 'settings-basic-page' is the settings page containing the actual settings.
8 */ 8 */
9 Polymer({ 9 Polymer({
10 is: 'settings-basic-page', 10 is: 'settings-basic-page',
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 showAdvancedSettings_: function(visibility) { 176 showAdvancedSettings_: function(visibility) {
177 return visibility !== false; 177 return visibility !== false;
178 }, 178 },
179 179
180 /** 180 /**
181 * @param {boolean} opened Whether the menu is expanded. 181 * @param {boolean} opened Whether the menu is expanded.
182 * @return {string} Icon name. 182 * @return {string} Icon name.
183 * @private 183 * @private
184 */ 184 */
185 getArrowIcon_: function(opened) { 185 getArrowIcon_: function(opened) {
186 return opened ? 'settings:arrow-drop-up' : 'cr:arrow-drop-down'; 186 return opened ? 'cr:arrow-drop-up' : 'cr:arrow-drop-down';
187 }, 187 },
188 }); 188 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_bookmarks/item.html ('k') | chrome/browser/resources/settings/icons.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698