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

Side by Side Diff: chrome/browser/resources/settings/settings_page/settings_section.js

Issue 1241363002: Settings Rewrite: Make a common settings-section component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@0300-webui-settings-structure
Patch Set: Created 5 years, 5 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
(Empty)
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
3 // found in the LICENSE file.
4
5 /**
6 * @fileoverview
7 * 'cr-settings-section' shows a paper material themed section with a header
8 * which shows its page title and icon.
9 *
10 * Example:
11 *
12 * <cr-settings-section page-title="[[pageTitle]]" icon="[[icon]]">
13 * <!-- Insert your section controls here -->
14 * </cr-settings-section>
15 *
16 * @group Chrome Settings Elements
17 * @element cr-settings-section
18 */
19 Polymer({
20 is: 'cr-settings-section',
21
22 properties: {
23 /**
24 * Title for the page header and navigation menu.
25 */
26 pageTitle: String,
27
28 /**
29 * Name of the 'iron-icon' to show.
30 */
31 icon: String,
32 },
33 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698