| 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.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"> |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 icon="settings:camera-alt" title="$i18n{takePhoto}" | 102 icon="settings:camera-alt" title="$i18n{takePhoto}" |
| 103 hidden="[[!cameraPresent_]]"> | 103 hidden="[[!cameraPresent_]]"> |
| 104 </iron-icon> | 104 </iron-icon> |
| 105 <iron-icon data-type$="[[selectionTypesEnum_.FILE]]" | 105 <iron-icon data-type$="[[selectionTypesEnum_.FILE]]" |
| 106 icon="settings:folder" title="$i18n{chooseFile}"> | 106 icon="settings:folder" title="$i18n{chooseFile}"> |
| 107 </iron-icon> | 107 </iron-icon> |
| 108 <img id="profileImage" | 108 <img id="profileImage" |
| 109 data-type$="[[selectionTypesEnum_.PROFILE]]" | 109 data-type$="[[selectionTypesEnum_.PROFILE]]" |
| 110 src="[[profileImageUrl_]]" title="$i18n{profilePhotoLoading}"> | 110 src="[[profileImageUrl_]]" title="$i18n{profilePhotoLoading}"> |
| 111 <img id="oldImage" data-type$="[[selectionTypesEnum_.OLD]]" | 111 <img id="oldImage" data-type$="[[selectionTypesEnum_.OLD]]" |
| 112 src="[[oldImageUrl_]]" hidden="[[!oldImageUrl_]]"> | 112 src="[[oldImageUrl_]]" hidden="[[!oldImageUrl_]]" |
| 113 title="$i18n{oldPhoto}"> |
| 113 <template is="dom-repeat" items="[[defaultImages_]]"> | 114 <template is="dom-repeat" items="[[defaultImages_]]"> |
| 114 <img data-type$="[[selectionTypesEnum_.DEFAULT]]" | 115 <img data-type$="[[selectionTypesEnum_.DEFAULT]]" |
| 115 data-default-image-index$="[[index]]" src="[[item.url]]" | 116 data-default-image-index$="[[index]]" src="[[item.url]]" |
| 116 title="[[item.title]]"> | 117 title="[[item.title]]"> |
| 117 </template> | 118 </template> |
| 118 </iron-selector> | 119 </iron-selector> |
| 119 <template is="dom-if" if="[[isAuthorCreditShown_(selectedItem_)]]"> | 120 <template is="dom-if" if="[[isAuthorCreditShown_(selectedItem_)]]"> |
| 120 <div id="authorCredit"> | 121 <div id="authorCredit"> |
| 121 $i18n{authorCredit} | 122 $i18n{authorCredit} |
| 122 [[getAuthorName_(selectedItem_, defaultImages_)]] | 123 [[getAuthorName_(selectedItem_, defaultImages_)]] |
| (...skipping 16 matching lines...) Expand all Loading... |
| 139 </div> | 140 </div> |
| 140 <settings-camera id="camera" | 141 <settings-camera id="camera" |
| 141 camera-active="[[isCameraActive_(cameraPresent_, selectedItem_)]]" | 142 camera-active="[[isCameraActive_(cameraPresent_, selectedItem_)]]" |
| 142 on-phototaken="onPhotoTaken_"> | 143 on-phototaken="onPhotoTaken_"> |
| 143 </settings-camera> | 144 </settings-camera> |
| 144 </div> | 145 </div> |
| 145 </div> | 146 </div> |
| 146 </template> | 147 </template> |
| 147 <script src="change_picture.js"></script> | 148 <script src="change_picture.js"></script> |
| 148 </dom-module> | 149 </dom-module> |
| OLD | NEW |