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

Side by Side Diff: chrome/browser/resources/settings/device_page/stylus.html

Issue 2639373002: MD Settings: clean up text controls (links, buttons) (Closed)
Patch Set: slightly more clean-up Created 3 years, 11 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 | « no previous file | chrome/browser/resources/settings/internet_page/network_summary_item.html » ('j') | 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/action_link.html"> 1 <link rel="import" href="chrome://resources/html/action_link.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="/controls/settings_toggle_button.html"> 3 <link rel="import" href="/controls/settings_toggle_button.html">
4 <link rel="import" href="/settings_shared_css.html"> 4 <link rel="import" href="/settings_shared_css.html">
5 5
6 <dom-module id="settings-stylus"> 6 <dom-module id="settings-stylus">
7 <template> 7 <template>
8 <style include="settings-shared"></style> 8 <style include="settings-shared"></style>
9 9
10 <div class="settings-box"> 10 <div class="settings-box">
11 <settings-toggle-button class="start" 11 <settings-toggle-button class="start"
12 pref="{{prefs.settings.enable_stylus_tools}}" 12 pref="{{prefs.settings.enable_stylus_tools}}"
13 label="$i18n{stylusEnableStylusTools}"> 13 label="$i18n{stylusEnableStylusTools}">
14 </settings-toggle-button> 14 </settings-toggle-button>
15 </div> 15 </div>
16 16
17 <div class="settings-box continuation"> 17 <div class="settings-box continuation">
18 <settings-toggle-button class="start" 18 <settings-toggle-button class="start"
19 pref="{{prefs.settings.launch_palette_on_eject_event}}" 19 pref="{{prefs.settings.launch_palette_on_eject_event}}"
20 label="$i18n{stylusAutoOpenStylusTools}" 20 label="$i18n{stylusAutoOpenStylusTools}"
21 disabled="[[!prefs.settings.enable_stylus_tools.value]]"> 21 disabled="[[!prefs.settings.enable_stylus_tools.value]]">
22 </settings-toggle-button> 22 </settings-toggle-button>
23 </div> 23 </div>
24 24
25 <!-- TODO(scottchen): Make a proper a[href].settings-box with
michaelpg 2017/01/23 06:51:19 this is hard to understand, can you include a crbu
scottchen 2017/01/23 18:49:07 Done.
26 icon-external -->
25 <div class="settings-box"> 27 <div class="settings-box">
26 <!-- TODO(jdufault): This should launch an intent (using the 28 <!-- TODO(jdufault): This should launch an intent (using the
27 enable-intent-picker flag) that opens up the play store to a curated 29 enable-intent-picker flag) that opens up the play store to a curated
28 list of apps. --> 30 list of apps. -->
29 <a is="action-link" target="_blank" 31 <a target="_blank"
30 href="https://play.google.com/store/apps/collection/promotion_30023cb_s tylus_apps"> 32 href="https://play.google.com/store/apps/collection/promotion_30023cb_s tylus_apps">
31 $i18n{stylusFindMoreApps} 33 $i18n{stylusFindMoreApps}
32 </a> 34 </a>
33 </div> 35 </div>
34 36
35 </template> 37 </template>
36 <script src="stylus.js"></script> 38 <script src="stylus.js"></script>
37 </dom-module> 39 </dom-module>
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/settings/internet_page/network_summary_item.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698