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

Unified Diff: chrome/browser/resources/settings/settings_dialog.js

Issue 1758973002: MD Settings: Creating a <settings-dialog> element. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove extra blank line Created 4 years, 10 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_dialog.js
diff --git a/chrome/browser/resources/settings/settings_dialog.js b/chrome/browser/resources/settings/settings_dialog.js
new file mode 100644
index 0000000000000000000000000000000000000000..0322044e1b623d43f3eab47e22e5fb821fe641f0
--- /dev/null
+++ b/chrome/browser/resources/settings/settings_dialog.js
@@ -0,0 +1,28 @@
+// Copyright 2016 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 'settings-dialog' is a component for showing a modal dialog.
+ *
+ * @group Chrome Settings Elements
+ * @element settings-dialog
+ */
+Polymer({
+ is: 'settings-dialog',
+
+ properties: {
+ /** @override */
+ modal: {
+ type: Boolean,
+ value: true,
+ },
+ },
+
+ behaviors: [Polymer.PaperDialogBehavior],
+
+ /** @return {!PaperIconButtonElement} */
+ getCloseButton: function() {
+ return this.$.close;
+ },
+});
« no previous file with comments | « chrome/browser/resources/settings/settings_dialog.html ('k') | chrome/browser/resources/settings/settings_dialog_css.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698