Chromium Code Reviews| OLD | NEW |
|---|---|
| 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/polymer/v1_0/iron-resizable-behavior /iron-resizable-behavior.html"> | 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-resizable-behavior /iron-resizable-behavior.html"> |
| 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> | |
|
michaelpg
2016/10/08 08:40:41
i think we can remove paper-button from the displa
dpapad
2016/10/10 17:52:47
Done.
| |
| 4 <link rel="import" href="/device_page/drag_behavior.html"> | 3 <link rel="import" href="/device_page/drag_behavior.html"> |
| 5 <link rel="import" href="/device_page/layout_behavior.html"> | 4 <link rel="import" href="/device_page/layout_behavior.html"> |
| 6 <link rel="import" href="/settings_shared_css.html"> | 5 <link rel="import" href="/settings_shared_css.html"> |
| 7 | 6 |
| 8 <dom-module id="display-layout"> | 7 <dom-module id="display-layout"> |
| 9 <template> | 8 <template> |
| 10 <style include="settings-shared"> | 9 <style include="settings-shared"> |
| 11 /* Use relative position with no offset so that display divs (children), | 10 /* Use relative position with no offset so that display divs (children), |
| 12 which have absolute positions, are offset from the displayArea div. */ | 11 which have absolute positions, are offset from the displayArea div. */ |
| 13 #displayArea { | 12 #displayArea { |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 61 style$="[[getDivStyle_(item.id, item.bounds, visualScale)]]" | 60 style$="[[getDivStyle_(item.id, item.bounds, visualScale)]]" |
| 62 selected$="[[isSelected_(item, selectedDisplay)]]" | 61 selected$="[[isSelected_(item, selectedDisplay)]]" |
| 63 on-tap="onSelectDisplayTap_"> | 62 on-tap="onSelectDisplayTap_"> |
| 64 [[item.name]] | 63 [[item.name]] |
| 65 </div> | 64 </div> |
| 66 </template> | 65 </template> |
| 67 </div> | 66 </div> |
| 68 </template> | 67 </template> |
| 69 <script src="display_layout.js"></script> | 68 <script src="display_layout.js"></script> |
| 70 </dom-module> | 69 </dom-module> |
| OLD | NEW |