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

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

Issue 1758973002: MD Settings: Creating a <settings-dialog> element. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nits. 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.html
diff --git a/chrome/browser/resources/settings/settings_dialog.html b/chrome/browser/resources/settings/settings_dialog.html
new file mode 100644
index 0000000000000000000000000000000000000000..8fcfb1dfba083a9b792614f0ee834e7600e354b7
--- /dev/null
+++ b/chrome/browser/resources/settings/settings_dialog.html
@@ -0,0 +1,29 @@
+<link rel="import" href="chrome://resources/html/polymer_config.html">
+<link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.html">
+<link rel="import" href="chrome://resources/polymer/v1_0/paper-dialog/paper-dialog.html">
+<link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button.html">
+<link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
+<link rel="import" href="chrome://md-settings/settings_dialog_css.html">
+
+<dom-module id="settings-dialog">
+ <template>
+ <style include="settings-dialog-css"></style>
+ <paper-dialog modal id="dialog">
+ <div id="dialog-content">
+ <div class="top-row">
+ <content select=".title"></content>
+ <paper-icon-button icon="clear" on-tap="close" id="close">
+ </paper-icon-button>
+ </div>
+ <div class="body-content">
+ <content select=".body"></content>
+ <content select=".button-container"></content>
+ </div>
+ </div>
+ <div id="footer">
+ <content select=".footer"></content>
+ </div>
+ </paper-dialog>
+ </template>
+ <script src="settings_dialog.js"></script>
+</dom-module>

Powered by Google App Engine
This is Rietveld 408576698