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

Side by Side Diff: chrome/browser/resources/settings/printing_page/cups_add_printer_dialog_util.html

Issue 2790603003: Make CUPS USB printing play better with the settings page. This change does several things: (Closed)
Patch Set: Address xdai@ comments Created 3 years, 8 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/cr_dialog/cr_dialog.html "> 1 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html ">
2 <link rel="import" href="chrome://resources/cr_elements/icons.html"> 2 <link rel="import" href="chrome://resources/cr_elements/icons.html">
3 <link rel="import" href="chrome://resources/html/polymer.html"> 3 <link rel="import" href="chrome://resources/html/polymer.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-dropdown/iron-drop down.html"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-dropdown/iron-drop down.html">
5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-input/iron-input.h tml"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-input/iron-input.h tml">
6 <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">
7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.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-input/paper-input -container.html"> 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input -container.html">
9 <link rel="import" href="cups_printers_browser_proxy.html"> 9 <link rel="import" href="cups_printers_browser_proxy.html">
10 <link rel="import" href="../settings_shared_css.html"> 10 <link rel="import" href="../settings_shared_css.html">
(...skipping 25 matching lines...) Expand all
36 36
37 <dom-module id="add-printer-list"> 37 <dom-module id="add-printer-list">
38 <template> 38 <template>
39 <style include="settings-shared cups-add-printer-dialog-style"> 39 <style include="settings-shared cups-add-printer-dialog-style">
40 .list-item { 40 .list-item {
41 padding: 0 20px; 41 padding: 0 20px;
42 } 42 }
43 </style> 43 </style>
44 <div> 44 <div>
45 <array-selector id="arraySelector" items="[[printers]]" 45 <array-selector id="arraySelector" items="[[printers]]"
46 selected="{{selectedPrinter}}"> 46 selected="{{newPrinter}}">
47 </array-selector> 47 </array-selector>
48 <template is="dom-repeat" items="[[printers]]"> 48 <template is="dom-repeat" items="[[printers]]">
49 <button class="list-item" on-tap="onSelect_"> 49 <button class="list-item" on-tap="onSelect_">
50 [[item.printerName]] [[item.printerModel]] 50 [[item.printerName]]
51 </button> 51 </button>
52 </template> 52 </template>
53 </div> 53 </div>
54 </template> 54 </template>
55 </dom-module> 55 </dom-module>
56 56
57 <dom-module id="drop-down-search-box"> 57 <dom-module id="drop-down-search-box">
58 <template> 58 <template>
59 <style include="settings-shared cups-add-printer-dialog-style"> 59 <style include="settings-shared cups-add-printer-dialog-style">
60 iron-dropdown, 60 iron-dropdown,
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 <div class="body"> 124 <div class="body">
125 <content select=".dialog-body"></content> 125 <content select=".dialog-body"></content>
126 </div> 126 </div>
127 <div class="button-container"> 127 <div class="button-container">
128 <content select=".dialog-buttons"></content> 128 <content select=".dialog-buttons"></content>
129 </div> 129 </div>
130 </dialog> 130 </dialog>
131 </template> 131 </template>
132 <script src="cups_add_printer_dialog_util.js"></script> 132 <script src="cups_add_printer_dialog_util.js"></script>
133 </dom-module> 133 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698