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

Side by Side Diff: chrome/browser/resources/settings/android_apps_page/android_apps_subpage.html

Issue 2873853002: arc: Handle ARC events in MD Settings (Closed)
Patch Set: move hide logic to subpage Created 3 years, 7 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/html/assert.html"> 1 <link rel="import" href="chrome://resources/html/assert.html">
2 <link rel="import" href="chrome://resources/html/cr/ui/focus_without_ink.html"> 2 <link rel="import" href="chrome://resources/html/cr/ui/focus_without_ink.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/html/polymer.html"> 4 <link rel="import" href="chrome://resources/html/polymer.html">
5 <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-button/paper-butt on.html">
6 <link rel="import" href="android_apps_browser_proxy.html"> 6 <link rel="import" href="android_apps_browser_proxy.html">
7 <link rel="import" href="../i18n_setup.html"> 7 <link rel="import" href="../i18n_setup.html">
8 <link rel="import" href="../prefs/prefs_behavior.html"> 8 <link rel="import" href="../prefs/prefs_behavior.html">
9 <link rel="import" href="../settings_shared_css.html"> 9 <link rel="import" href="../settings_shared_css.html">
10 10
11 <dom-module id="settings-android-apps-subpage"> 11 <dom-module id="settings-android-apps-subpage">
12 <template> 12 <template>
13 <style include="settings-shared"></style> 13 <style include="settings-shared"></style>
14 14
15 <div id="manageApps" class="settings-box first" 15 <div id="manageApps" class="settings-box first"
16 on-keydown="onManageAndroidAppsKeydown_" 16 on-keydown="onManageAndroidAppsKeydown_"
17 on-tap="onManageAndroidAppsTap_" actionable 17 on-tap="onManageAndroidAppsTap_" actionable
18 hidden="[[!androidAppsInfo_.appReady]]"> 18 hidden="[[!android_apps_info.settingsAppAvailable]]">
stevenjb 2017/05/11 17:46:54 androidAppsInfo.settingsAppAvailable
khmel 2017/05/11 19:09:46 Done.
19 <div class="start"> 19 <div class="start">
20 <div>$i18n{androidAppsManageApps}</div> 20 <div>$i18n{androidAppsManageApps}</div>
21 </div> 21 </div>
22 <button class="icon-external" is="paper-icon-button-light"> 22 <button class="icon-external" is="paper-icon-button-light">
23 </button> 23 </button>
24 </div> 24 </div>
25 25
26 <template is="dom-if" if="[[allowRemove_(prefs.arc.enabled.*)]]"> 26 <template is="dom-if" if="[[allowRemove_(prefs.arc.enabled.*)]]">
27 <div id="remove" class="settings-box" actionable on-tap="onRemoveTap_"> 27 <div id="remove" class="settings-box" actionable on-tap="onRemoveTap_">
28 <div class="start">$i18n{androidAppsRemove}</div> 28 <div class="start">$i18n{androidAppsRemove}</div>
(...skipping 17 matching lines...) Expand all
46 <paper-button class="action-button" 46 <paper-button class="action-button"
47 on-tap="onConfirmDisableDialogConfirm_"> 47 on-tap="onConfirmDisableDialogConfirm_">
48 $i18n{androidAppsDisableDialogRemove} 48 $i18n{androidAppsDisableDialogRemove}
49 </paper-button> 49 </paper-button>
50 </div> 50 </div>
51 </dialog> 51 </dialog>
52 52
53 </template> 53 </template>
54 <script src="android_apps_subpage.js"></script> 54 <script src="android_apps_subpage.js"></script>
55 </dom-module> 55 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698