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

Unified Diff: chrome/browser/resources/settings/settings_page/settings_page_header.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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/settings_page/settings_page_header.js
diff --git a/chrome/browser/resources/settings/settings_page/settings_page_header.js b/chrome/browser/resources/settings/settings_page/settings_page_header.js
new file mode 100644
index 0000000000000000000000000000000000000000..bd485f74fe3b0c41fad673f2ff544b97ea90b417
--- /dev/null
+++ b/chrome/browser/resources/settings/settings_page/settings_page_header.js
@@ -0,0 +1,28 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+/**
+ * @fileoverview
+ * 'cr-settings-page-header' shows a basic heading with a 'core-icon'.
+ *
+ * Example:
+ *
+ * <cr-settings-page-header page="{{page}}">
+ * </cr-settings-page-header>
+ *
+ * @group Chrome Settings Elements
+ * @element cr-settings-page-header
+ */
+Polymer('cr-settings-page-header', {
+ publish: {
+ /**
+ * Page to show a header for.
+ *
+ * @attribute page
+ * @type Object
+ * @default null
+ */
+ page: null,
+ },
+});

Powered by Google App Engine
This is Rietveld 408576698