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

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

Issue 1007803003: Polymer Settings Scaffold in MD-Settings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Scaffold2
Patch Set: Created 5 years, 9 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-dummy-page' is a placeholder page for testing settings UI.
8 */
9 Polymer('cr-settings-dummy-page', {
10 publish: {
11 /**
12 * ID of the page.
13 *
14 * @attribute PAGE_ID
15 * @const string
16 * default 'dummy'
17 */
18 PAGE_ID: 'dummy',
19
20 /**
21 * Title for the page header and navigation menu.
22 *
23 * @attribute pageTitle
24 * @type string
25 * @default 'Dummy page'
26 */
27 pageTitle: 'Dummy page',
28
29 /**
30 * Name of the 'core-icon' to show.
31 *
32 * @attribute icon
33 * @type string
34 * @default 'add-circle'
35 */
36 icon: 'add-circle',
37 },
38
39 /**
40 * Event handler for the toggle button for the 'cr-collapse'.
41 *
42 * @private
43 */
44 toggleCollapse_: function() {
45 this.$.collapse.toggle();
46 },
47 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/dummy_page/dummy_page.html ('k') | chrome/browser/resources/settings/settings.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698