Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(153)

Side by Side Diff: chrome/browser/resources/settings/about_page/channel_switcher_dialog.html

Issue 2180823004: Migrate <cr-dialog> from PaperDialogBehavior to native <dialog>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge conflicts with Tommy's CL. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html "> 1 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.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/i18n_behavior.html"> 3 <link rel="import" href="chrome://resources/html/i18n_behavior.html">
4 <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-button/paper-butt on.html">
5 <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-button/pape r-radio-button.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-group/paper -radio-group.html"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-group/paper -radio-group.html">
7 <link rel="import" href="/about_page/about_page_browser_proxy.html"> 7 <link rel="import" href="/about_page/about_page_browser_proxy.html">
8 <link rel="import" href="/settings_shared_css.html"> 8 <link rel="import" href="/settings_shared_css.html">
9 9
10 <dom-module id="settings-channel-switcher-dialog"> 10 <dom-module id="settings-channel-switcher-dialog">
11 <template> 11 <template>
12 <style include="settings-shared"></style> 12 <style include="settings-shared"></style>
13 <cr-dialog id="dialog"> 13 <dialog is="cr-dialog" id="dialog">
14 <div class="title">$i18n{aboutChangeChannel}</div> 14 <div class="title">$i18n{aboutChangeChannel}</div>
15 <div class="body"> 15 <div class="body">
16 <paper-radio-group 16 <paper-radio-group
17 on-paper-radio-group-changed="onChannelSelectionChanged_"> 17 on-paper-radio-group-changed="onChannelSelectionChanged_">
18 <paper-radio-button name="[[browserChannelEnum_.STABLE]]"> 18 <paper-radio-button name="[[browserChannelEnum_.STABLE]]">
19 $i18n{aboutChannelStable} 19 $i18n{aboutChannelStable}
20 </paper-radio-button> 20 </paper-radio-button>
21 <paper-radio-button name="[[browserChannelEnum_.BETA]]"> 21 <paper-radio-button name="[[browserChannelEnum_.BETA]]">
22 $i18n{aboutChannelBeta} 22 $i18n{aboutChannelBeta}
23 </paper-radio-button> 23 </paper-radio-button>
(...skipping 13 matching lines...) Expand all
37 on-tap="onChangeChannelTap_" 37 on-tap="onChangeChannelTap_"
38 hidden="[[!shouldShowButtons_.changeChannel]]"> 38 hidden="[[!shouldShowButtons_.changeChannel]]">
39 $i18n{aboutChangeChannel} 39 $i18n{aboutChangeChannel}
40 </paper-button> 40 </paper-button>
41 <paper-button id="changeChannelAndPowerwash" class="action-button" 41 <paper-button id="changeChannelAndPowerwash" class="action-button"
42 on-tap="onChangeChannelAndPowerwashTap_" 42 on-tap="onChangeChannelAndPowerwashTap_"
43 hidden="[[!shouldShowButtons_.changeChannelAndPowerwash]]"> 43 hidden="[[!shouldShowButtons_.changeChannelAndPowerwash]]">
44 $i18n{aboutChangeChannelAndPowerwash} 44 $i18n{aboutChangeChannelAndPowerwash}
45 </paper-button> 45 </paper-button>
46 </div> 46 </div>
47 </cr-dialog> 47 </dialog>
48 </template> 48 </template>
49 <script src="channel_switcher_dialog.js"></script> 49 <script src="channel_switcher_dialog.js"></script>
50 </dom-module> 50 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698