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

Unified Diff: chrome/browser/resources/settings/device_page/device_page.html

Issue 2348913002: Port storage manager to MD settings. (Closed)
Patch Set: Address review comments 2. Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/device_page/device_page.html
diff --git a/chrome/browser/resources/settings/device_page/device_page.html b/chrome/browser/resources/settings/device_page/device_page.html
index 91e33c83b1dc61bffbc2b4276d6a81f2f0af060a..79db53b46e1ef07a840fbd3cf0debfe5e1491f8c 100644
--- a/chrome/browser/resources/settings/device_page/device_page.html
+++ b/chrome/browser/resources/settings/device_page/device_page.html
@@ -8,8 +8,9 @@
<link rel="import" href="/device_page/device_page_browser_proxy.html">
<link rel="import" href="/device_page/display.html">
<link rel="import" href="/device_page/keyboard.html">
-<link rel="import" href="/device_page/stylus.html">
<link rel="import" href="/device_page/pointers.html">
+<link rel="import" href="/device_page/storage.html">
+<link rel="import" href="/device_page/stylus.html">
<link rel="import" href="/icons.html">
<link rel="import" href="/prefs/prefs.html">
<link rel="import" href="/route.html">
@@ -39,7 +40,7 @@
<button class="icon-arrow-right" is="paper-icon-button-light">
</button>
</div>
- <template is="dom-if" if=[[stylusAllowed_]]>
+ <template is="dom-if" if="[[stylusAllowed_]]">
<div id="stylusRow" class="settings-box" on-tap="onStylusTap_"
actionable>
<iron-icon icon="settings:note"></iron-icon>
@@ -55,6 +56,15 @@
<button class="icon-arrow-right" is="paper-icon-button-light">
</button>
</div>
+ <template is="dom-if" if="[[showStorageManager_]]">
+ <div id="storageRow" class="settings-box" on-tap="onStorageTap_"
+ actionable>
+ <iron-icon icon="settings:storage"></iron-icon>
+ <div class="middle">$i18n{storageTitle}</div>
+ <button class="icon-arrow-right" is="paper-icon-button-light">
+ </button>
+ </div>
+ </template>
</neon-animatable>
<template is="dom-if" route-path="/pointer-overlay">
<settings-subpage
@@ -72,7 +82,7 @@
<settings-keyboard prefs="{{prefs}}"></settings-keyboard>
</settings-subpage>
</template>
- <template is="dom-if" if=[[stylusAllowed_]]>
+ <template is="dom-if" if="[[stylusAllowed_]]">
<template is="dom-if" route-path="/stylus">
<settings-subpage
associated-control="[[$$('#stylusRow')]]"
@@ -88,6 +98,15 @@
<settings-display></settings-display>
</settings-subpage>
</template>
+ <template is="dom-if" if="[[showStorageManager_]]">
+ <template is="dom-if" route-path="/storage">
+ <settings-subpage
+ associated-control="[[$$('#storageRow')]]"
+ page-title="$i18n{storageTitle}">
+ <settings-storage></settings-storage>
+ </settings-subpage>
+ </template>
+ </template>
</settings-animated-pages>
</template>
<script src="device_page.js"></script>

Powered by Google App Engine
This is Rietveld 408576698