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/cr_elements/icons.html"> | 2 <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
| 3 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> | 3 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> |
| 4 <link rel="import" href="chrome://resources/html/util.html"> | 4 <link rel="import" href="chrome://resources/html/util.html"> |
| 5 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> | 5 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> |
| 6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-a11y-keys/iron-a11 y-keys.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-a11y-keys/iron-a11 y-keys.html"> |
| 7 <link rel="import" href="chrome://resources/polymer/v1_0/iron-selector/iron-sele ctor.html"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/iron-selector/iron-sele ctor.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-icon-button/paper -icon-button-light.html"> |
| 9 <link rel="import" href="../i18n_setup.html"> | 9 <link rel="import" href="../i18n_setup.html"> |
| 10 <link rel="import" href="../icons.html"> | 10 <link rel="import" href="../icons.html"> |
| 11 <link rel="import" href="camera.html"> | 11 <link rel="import" href="camera.html"> |
| 12 <link rel="import" href="change_picture_browser_proxy.html"> | 12 <link rel="import" href="change_picture_browser_proxy.html"> |
| 13 <link rel="import" href="../route.html"> | 13 <link rel="import" href="../route.html"> |
| 14 <link rel="import" href="../settings_shared_css.html"> | 14 <link rel="import" href="../settings_shared_css.html"> |
| 15 | 15 |
| 16 <dom-module id="settings-change-picture"> | 16 <dom-module id="settings-change-picture"> |
| 17 <template> | 17 <template> |
| 18 <style include="settings-shared"> | 18 <style include="settings-shared"> |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 128 [[getAuthorWebsite_(selectedItem_, defaultImages_)]] | 128 [[getAuthorWebsite_(selectedItem_, defaultImages_)]] |
| 129 </a> | 129 </a> |
| 130 </div> | 130 </div> |
| 131 </template> | 131 </template> |
| 132 </div> | 132 </div> |
| 133 <div id="previewPane"> | 133 <div id="previewPane"> |
| 134 <img alt="$i18n{previewAltText}" src="[[selectedItem_.src]]" | 134 <img alt="$i18n{previewAltText}" src="[[selectedItem_.src]]" |
| 135 hidden="[[isPreviewImageHidden_(selectedItem_)]]"> | 135 hidden="[[isPreviewImageHidden_(selectedItem_)]]"> |
| 136 <div id="discardControlBar" | 136 <div id="discardControlBar" |
| 137 hidden="[[isDiscardHidden_(selectedItem_)]]"> | 137 hidden="[[isDiscardHidden_(selectedItem_)]]"> |
| 138 <paper-icon-button id="discardOldImage" tabindex="0" | 138 <button is="paper-icon-button-light" id="discardOldImage" |
| 139 icon="cr:delete" title="$i18n{discardPhoto}" | 139 tabindex="0" class="icon-delete" title="$i18n{discardPhoto}" |
|
Dan Beam
2017/05/23 16:36:22
do you still need a tabindex=0 here?
scottchen
2017/05/27 00:18:03
nope
| |
| 140 on-tap="onTapDiscardOldImage_"> | 140 on-tap="onTapDiscardOldImage_"> |
| 141 </paper-icon-button> | 141 </button> |
| 142 </div> | 142 </div> |
| 143 <settings-camera id="camera" | 143 <settings-camera id="camera" |
| 144 camera-active="[[isCameraActive_(cameraPresent_, selectedItem_)]]" | 144 camera-active="[[isCameraActive_(cameraPresent_, selectedItem_)]]" |
| 145 on-phototaken="onPhotoTaken_"> | 145 on-phototaken="onPhotoTaken_"> |
| 146 </settings-camera> | 146 </settings-camera> |
| 147 </div> | 147 </div> |
| 148 </div> | 148 </div> |
| 149 </template> | 149 </template> |
| 150 <script src="change_picture.js"></script> | 150 <script src="change_picture.js"></script> |
| 151 </dom-module> | 151 </dom-module> |
| OLD | NEW |