| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/html/util.html"> | 1 <link rel="import" href="chrome://resources/html/util.html"> |
| 2 <link rel="import" href="chrome://resources/html/polymer.html"> | 2 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 3 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> | 3 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> |
| 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe
s/iron-flex-layout.html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe
s/iron-flex-layout.html"> |
| 5 <link rel="import" href="../controls/controlled_button.html"> | 5 <link rel="import" href="../controls/controlled_button.html"> |
| 6 <link rel="import" href="../controls/settings_toggle_button.html"> | 6 <link rel="import" href="../controls/settings_toggle_button.html"> |
| 7 <link rel="import" href="../settings_shared_css.html"> | 7 <link rel="import" href="../settings_shared_css.html"> |
| 8 <link rel="import" href="downloads_browser_proxy.html"> | 8 <link rel="import" href="downloads_browser_proxy.html"> |
| 9 | 9 |
| 10 <dom-module id="settings-downloads-page"> | 10 <dom-module id="settings-downloads-page"> |
| 11 <template> | 11 <template> |
| 12 <style include="settings-shared"></style> | 12 <style include="settings-shared"></style> |
| 13 <div class="settings-box first two-line"> | 13 <div class="settings-box first two-line"> |
| 14 <div class="start"> | 14 <div class="start"> |
| 15 <div>$i18n{downloadLocation}</div> | 15 <div>$i18n{downloadLocation}</div> |
| 16 <div class="secondary"> | 16 <div class="secondary" no-search> |
| 17 <if expr="not chromeos"> | 17 <if expr="not chromeos"> |
| 18 [[prefs.download.default_directory.value]] | 18 [[prefs.download.default_directory.value]] |
| 19 </if> | 19 </if> |
| 20 <if expr="chromeos"> | 20 <if expr="chromeos"> |
| 21 [[getDownloadLocation_(prefs.download.default_directory.value)]] | 21 [[getDownloadLocation_(prefs.download.default_directory.value)]] |
| 22 </if> | 22 </if> |
| 23 </div> | 23 </div> |
| 24 </div> | 24 </div> |
| 25 <div class="secondary-action"> | 25 <div class="secondary-action"> |
| 26 <controlled-button class="secondary-button" id="changeDownloadsPath" | 26 <controlled-button class="secondary-button" id="changeDownloadsPath" |
| (...skipping 26 matching lines...) Expand all Loading... |
| 53 <paper-button id="resetAutoOpenFileTypes" class="secondary-button" | 53 <paper-button id="resetAutoOpenFileTypes" class="secondary-button" |
| 54 on-tap="onClearAutoOpenFileTypesTap_"> | 54 on-tap="onClearAutoOpenFileTypesTap_"> |
| 55 $i18n{clear} | 55 $i18n{clear} |
| 56 </paper-button> | 56 </paper-button> |
| 57 </div> | 57 </div> |
| 58 </div> | 58 </div> |
| 59 </template> | 59 </template> |
| 60 </template> | 60 </template> |
| 61 <script src="downloads_page.js"></script> | 61 <script src="downloads_page.js"></script> |
| 62 </dom-module> | 62 </dom-module> |
| OLD | NEW |