Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <link rel="import" href="chrome://resources/html/polymer.html"> | |
| 2 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> | |
| 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> | |
| 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-button/pape r-radio-button.html"> | |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-group/paper -radio-group.html"> | |
| 6 <link rel="import" href="chrome://md-settings/about_page/about_page_browser_prox y.html"> | |
| 7 <link rel="import" href="chrome://md-settings/settings_dialog.html"> | |
|
dschuyler
2016/05/26 01:35:50
Since "settings-shared" is mentioned below,
we sho
dpapad
2016/05/26 17:58:55
Done.
| |
| 8 | |
| 9 <dom-module id="settings-channel-switcher-dialog"> | |
| 10 <template> | |
| 11 <style include="settings-shared"></style> | |
| 12 <settings-dialog id="dialog"> | |
| 13 <div class="title">$i18n{aboutChangeChannel}</div> | |
| 14 <div class="body"> | |
| 15 <paper-radio-group | |
| 16 on-paper-radio-group-changed="onChannelSelectionChanged_"> | |
| 17 <paper-radio-button name="[[browserChannelEnum_.STABLE]]"> | |
| 18 $i18n{aboutChannelStable} | |
| 19 </paper-radio-button> | |
| 20 <paper-radio-button name="[[browserChannelEnum_.BETA]]"> | |
| 21 $i18n{aboutChannelBeta} | |
| 22 </paper-radio-button> | |
| 23 <paper-radio-button name="[[browserChannelEnum_.DEV]]"> | |
| 24 $i18n{aboutChannelDev} | |
| 25 </paper-radio-button> | |
| 26 </paper-radio-group> | |
| 27 <div id="warning" hidden="[[!shouldShowWarning_(warning_)]]"> | |
| 28 <h2>[[warning_.title]]</h2> | |
| 29 <div>[[warning_.description]]</div> | |
| 30 </div> | |
| 31 </div> | |
| 32 <div class="button-container"> | |
| 33 <paper-button class="cancel-button" on-tap="onCancelTap_" | |
| 34 id="cancel">$i18n{cancel}</paper-button> | |
| 35 <paper-button id="changeChannel" class="action-button" | |
| 36 on-tap="onChangeChannelTap_" | |
| 37 hidden="[[!shouldShowButtons_.changeChannel]]"> | |
| 38 $i18n{aboutChangeChannel} | |
| 39 </paper-button> | |
| 40 <paper-button id="changeChannelAndPowerwash" class="action-button" | |
| 41 on-tap="onChangeChannelAndPowerwashTap_" | |
| 42 hidden="[[!shouldShowButtons_.changeChannelAndPowerwash]]"> | |
| 43 $i18n{aboutChangeChannelAndPowerwash} | |
| 44 </paper-button> | |
| 45 </div> | |
| 46 </settings-dialog> | |
| 47 </template> | |
| 48 <script src="channel_switcher_dialog.js"></script> | |
| 49 </dom-module> | |
| OLD | NEW |