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

Side by Side Diff: chrome/browser/resources/chromeos/emulator/audio_settings.html

Issue 2958193002: Device emulator: Replace usage of paper-dialog with cr-dialog. (Closed)
Patch Set: Created 3 years, 5 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
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/emulator/audio_settings.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <link rel="import" href="chrome://resources/html/polymer.html"> 1 <link rel="import" href="chrome://resources/html/polymer.html">
2 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html ">
3 <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html">
2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f lex-layout-classes.html"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f lex-layout-classes.html">
3 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable-behavior.html"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable-behavior.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html">
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-checkbox/paper-ch eckbox.html"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-checkbox/paper-ch eckbox.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-dialog/paper-dial og.html">
7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html"> 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html">
8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input .html"> 9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input .html">
9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-button/pape r-radio-button.html"> 10 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-button/pape r-radio-button.html">
10 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-group/paper -radio-group.html"> 11 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-group/paper -radio-group.html">
11 <link rel="import" href="icons.html"> 12 <link rel="import" href="icons.html">
12 <link rel="import" href="shared_styles.html"> 13 <link rel="import" href="shared_styles.html">
13 14
14 <dom-module id="audio-settings"> 15 <dom-module id="audio-settings">
15 <template> 16 <template>
16 <!-- TODO(michaelpg): Wrap the line below to fit within the 80-char limit. 17 <!-- TODO(michaelpg): Wrap the line below to fit within the 80-char limit.
17 See https://github.com/Polymer/polymer/pull/3668. --> 18 See https://github.com/Polymer/polymer/pull/3668. -->
18 <style include="device-emulator-shared-styles iron-flex iron-flex-alignment iron-positioning"> 19 <style include="device-emulator-shared-styles cr-shared-style iron-flex iron -flex-alignment iron-positioning">
19 </style> 20 </style>
20 <paper-dialog with-backdrop id="editDialog"> 21 <dialog is="cr-dialog" id="editDialog">
21 <div class="element-label">[[currentEditableObject.deviceName]]</div> 22 <div class="title">[[currentEditableObject.deviceName]]</div>
22 <div> 23 <div class="body">
23 <form> 24 <form>
24 <div class="form-field-section"> 25 <div class="form-field-section">
25 <paper-input value="{{currentEditableObject.deviceName}}" 26 <paper-input value="{{currentEditableObject.deviceName}}"
26 label="Device Name"></paper-input> 27 label="Device Name"></paper-input>
27 <paper-input value="{{currentEditableObject.name}}" 28 <paper-input value="{{currentEditableObject.name}}"
28 label="Tray Name"></paper-input> 29 label="Tray Name"></paper-input>
29 <paper-input value="{{currentEditableObject.id}}" 30 <paper-input value="{{currentEditableObject.id}}"
30 label="ID" disabled></paper-input> 31 label="ID" disabled></paper-input>
31 </div> 32 </div>
32 <div class="form-field-section"> 33 <div class="form-field-section">
(...skipping 13 matching lines...) Expand all
46 <template is="dom-repeat" 47 <template is="dom-repeat"
47 items="[[nodeTypeOptions]]" as="option"> 48 items="[[nodeTypeOptions]]" as="option">
48 <paper-radio-button name="[[option.type]]"> 49 <paper-radio-button name="[[option.type]]">
49 [[option.name]] 50 [[option.name]]
50 </paper-radio-button> 51 </paper-radio-button>
51 </template> 52 </template>
52 </paper-radio-group> 53 </paper-radio-group>
53 </div> 54 </div>
54 </form> 55 </form>
55 </div> 56 </div>
56 <div class="buttons"> 57 <div class="button-container">
57 <paper-button on-click="insertEditedAudioNode" 58 <paper-button class="action-button" on-click="insertEditedAudioNode">
58 dialog-dismiss>Done</paper-button> 59 Done
60 </paper-button>
59 </div> 61 </div>
60 </paper-dialog> 62 </dialog>
61 63
62 <div class="layout vertical"> 64 <div class="layout vertical">
63 <div class="element-label"> 65 <div class="element-label">
64 <paper-icon-button icon="device-emulator:volume-up"></paper-icon-button> 66 <paper-icon-button icon="device-emulator:volume-up"></paper-icon-button>
65 Audio 67 Audio
66 </div> 68 </div>
67 <table class="devices-table"> 69 <table class="devices-table">
68 <tbody> 70 <tbody>
69 <tr class="table-section-header"> 71 <tr class="table-section-header">
70 <td colspan="2">Devices</td> 72 <td colspan="2">Devices</td>
(...skipping 28 matching lines...) Expand all
99 </table> 101 </table>
100 <div class="add-device-container"> 102 <div class="add-device-container">
101 <paper-button on-click="appendNewNode"> 103 <paper-button on-click="appendNewNode">
102 Add Node 104 Add Node
103 </paper-button> 105 </paper-button>
104 </div> 106 </div>
105 </div> 107 </div>
106 </template> 108 </template>
107 <script src="audio_settings.js"></script> 109 <script src="audio_settings.js"></script>
108 </dom-module> 110 </dom-module>
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/emulator/audio_settings.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698