OLD | NEW |
---|---|
(Empty) | |
1 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> | |
2 <link rel="import" href="chrome://resources/html/polymer.html"> | |
3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> | |
4 <link rel="import" href="/android_apps_page/android_apps_browser_proxy.html"> | |
5 <link rel="import" href="/controls/settings_checkbox.html"> | |
6 <link rel="import" href="/i18n_setup.html"> | |
7 <link rel="import" href="/prefs/prefs_behavior.html"> | |
8 <link rel="import" href="/settings_shared_css.html"> | |
9 | |
10 <dom-module id="settings-android-apps-page"> | |
11 <template> | |
12 <style include="settings-shared"> | |
13 a { | |
14 -webkit-margin-start: 4px; | |
15 height: var(--checkbox-size); | |
16 } | |
17 | |
18 .indented { | |
19 -webkit-margin-start: 36px; | |
20 } | |
21 </style> | |
22 | |
23 <div class="settings-box first"> | |
24 <settings-checkbox id="enabledCheckbox" pref="{{prefs.arc.enabled}}" | |
25 label="$i18n{androidAppsEnabled}" | |
26 no-set-pref on-change="onArcEnabledChange_"> | |
27 </settings-checkbox> | |
28 <a href="$i18nRaw{androidAppsLearnMoreUrl}" target="_blank"> | |
29 $i18n{androidAppsLearnMore} | |
30 </a> | |
31 </div> | |
32 | |
33 <div class="settings-box continuation indented" | |
34 on-tap="onManageAndroidAppsTap_" actionable | |
35 hidden="[[!androidAppsInfo_.appReady]]"> | |
36 <div class="start"> | |
37 <div>$i18n{androidAppsManageApps}</div> | |
38 </div> | |
39 <button class="icon-external" is="paper-icon-button-light"> | |
40 </button> | |
41 </div> | |
42 | |
43 <!-- Confirm disable android apps dialog --> | |
michaelpg
2016/12/01 20:15:34
nit: remove redundant comment
stevenjb
2016/12/02 00:39:19
I like my highly visible comments separating out t
| |
44 <dialog is="cr-dialog" id="confirmDisableDialog" | |
45 on-cancel="onConfirmDisableDialogCancel_"> | |
46 <div class="title">$i18n{androidAppsDisableDialogTitle}</div> | |
47 <div class="body" inner-h-t-m-l="[[getDialogBody_()]]"></div> | |
48 <div class="button-container"> | |
49 <paper-button class="cancel-button" | |
50 on-tap="onConfirmDisableDialogCancel_"> | |
51 $i18n{cancel} | |
52 </paper-button> | |
53 <paper-button class="action-button" | |
54 on-tap="onConfirmDisableDialogConfirm_"> | |
55 $i18n{confirm} | |
56 </paper-button> | |
57 </div> | |
58 </dialog> | |
59 | |
michaelpg
2016/12/01 20:15:34
nit: no blank line (its fine keeping <dialog> sepa
stevenjb
2016/12/02 00:39:19
Done.
| |
60 </template> | |
61 <script src="android_apps_page.js"></script> | |
62 </dom-module> | |
OLD | NEW |