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

Side by Side Diff: chrome/browser/resources/settings/default_browser_page/default_browser_page.html

Issue 2752993002: MD Settings: Default browser message tweak. (Closed)
Patch Set: tweak chromium string and fix indentation Created 3 years, 9 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
« no previous file with comments | « chrome/app/settings_google_chrome_strings.grdp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/html/web_ui_listener_behavior.html"> 2 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html">
3 <link rel="import" href="default_browser_browser_proxy.html"> 3 <link rel="import" href="default_browser_browser_proxy.html">
4 <link rel="import" href="../icons.html"> 4 <link rel="import" href="../icons.html">
5 <link rel="import" href="../settings_shared_css.html"> 5 <link rel="import" href="../settings_shared_css.html">
6 6
7 <dom-module id="settings-default-browser-page"> 7 <dom-module id="settings-default-browser-page">
8 <template> 8 <template>
9 <style include="settings-shared"> 9 <style include="settings-shared">
10 .solo-secondary {
11 @apply(--settings-secondary);
12 margin: 0;
13 }
14 </style> 10 </style>
15 <template is="dom-if" if="[[maySetDefaultBrowser_]]"> 11 <template is="dom-if" if="[[maySetDefaultBrowser_]]">
16 <div class="settings-box first two-line"> 12 <div class="settings-box first two-line">
17 <div class="start"> 13 <div class="start">
18 <div id="canBeDefaultBrowser">$i18n{defaultBrowser}</div> 14 <div id="canBeDefaultBrowser">$i18n{defaultBrowser}</div>
19 <div class="secondary">$i18n{defaultBrowserMakeDefault}</div> 15 <div class="secondary">$i18n{defaultBrowserMakeDefault}</div>
20 </div> 16 </div>
21 <div class="secondary-action"> 17 <div class="secondary-action">
22 <paper-button class="secondary-button" 18 <paper-button class="secondary-button"
23 on-tap="onSetDefaultBrowserTap_"> 19 on-tap="onSetDefaultBrowserTap_">
24 $i18n{defaultBrowserMakeDefaultButton} 20 $i18n{defaultBrowserMakeDefaultButton}
25 </paper-button> 21 </paper-button>
26 </div> 22 </div>
27 </div> 23 </div>
28 </template> 24 </template>
29 <template is="dom-if" if="[[!maySetDefaultBrowser_]]"> 25 <template is="dom-if" if="[[!maySetDefaultBrowser_]]">
30 <div class="settings-box first"> 26 <div class="settings-box first">
31 <div class="solo-secondary start" hidden$="[[!isDefault_]]" 27 <div class="start" hidden$="[[!isDefault_]]" id="isDefault">
32 id="isDefault">
33 $i18n{defaultBrowserDefault} 28 $i18n{defaultBrowserDefault}
34 </div> 29 </div>
35 <div class="solo-secondary start" hidden$="[[!isSecondaryInstall_]]" 30 <div class="start" hidden$="[[!isSecondaryInstall_]]"
36 id="isSecondaryInstall"> 31 id="isSecondaryInstall">
37 $i18n{defaultBrowserSecondary} 32 $i18n{defaultBrowserSecondary}
38 </div> 33 </div>
39 <div class="solo-secondary start" hidden$="[[!isUnknownError_]]" 34 <div class="start" hidden$="[[!isUnknownError_]]" id="isUnknownError">
40 id="isUnknownError">
41 $i18n{defaultBrowserError} 35 $i18n{defaultBrowserError}
42 </div> 36 </div>
43 </div> 37 </div>
44 </template> 38 </template>
45 </template> 39 </template>
46 <script src="default_browser_page.js"></script> 40 <script src="default_browser_page.js"></script>
47 </dom-module> 41 </dom-module>
OLDNEW
« no previous file with comments | « chrome/app/settings_google_chrome_strings.grdp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698