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

Side by Side Diff: ui/webui/resources/cr_elements/cr_dialog/cr_dialog.html

Issue 2071543003: MD WebUI: Extract settings-dialog into shared cr-dialog element (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove ) from comment Created 4 years, 6 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
1 <link rel="import" href="chrome://resources/cr_elements/icons.html"> 1 <link rel="import" href="chrome://resources/cr_elements/icons.html">
2 <link rel="import" href="chrome://resources/html/polymer.html"> 2 <link rel="import" href="chrome://resources/html/polymer.html">
3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-dialog-behavior/p aper-dialog-behavior.html"> 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-dialog-behavior/p aper-dialog-behavior.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-dialog-behavior/p aper-dialog-shared-styles.html"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-dialog-behavior/p aper-dialog-shared-styles.html">
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html">
6 <link rel="import" href="/settings_root_css.html">
7 6
8 <dom-module id="settings-dialog"> 7 <dom-module id="cr-dialog">
9 <template> 8 <template>
10 <style include="paper-dialog-shared-styles"> 9 <style include="paper-dialog-shared-styles">
11 :host { 10 :host {
12 border-radius: 2px; 11 border-radius: 2px;
13 } 12 }
14 13
15 :host ::content > * { 14 :host ::content > * {
16 /* Overrides paper-dialog-shared-styles. */ 15 /* Overrides paper-dialog-shared-styles. */
17 -webkit-padding-end: 0; 16 -webkit-padding-end: 0;
18 -webkit-padding-start: 0; 17 -webkit-padding-start: 0;
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 <content select=".title"></content> 94 <content select=".title"></content>
96 <paper-icon-button icon="cr:clear" on-tap="cancel" id="close"> 95 <paper-icon-button icon="cr:clear" on-tap="cancel" id="close">
97 </paper-icon-button> 96 </paper-icon-button>
98 </div> 97 </div>
99 <div class="body-container"> 98 <div class="body-container">
100 <content select=".body"></content> 99 <content select=".body"></content>
101 </div> 100 </div>
102 <content select=".button-container"></content> 101 <content select=".button-container"></content>
103 <content select=".footer"></content> 102 <content select=".footer"></content>
104 </template> 103 </template>
105 <script src="settings_dialog.js"></script> 104 <script src="cr_dialog.js"></script>
106 </dom-module> 105 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698