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

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

Issue 1241363002: Settings Rewrite: Make a common settings-section component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@0300-webui-settings-structure
Patch Set: Created 5 years, 5 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/downloads_page/downloads_page.html
diff --git a/chrome/browser/resources/settings/downloads_page/downloads_page.html b/chrome/browser/resources/settings/downloads_page/downloads_page.html
index dcecd14524bbd94bc37b8e87c0f5f95683739692..300e022315aab2bafdab736663dda6e8352254b8 100644
--- a/chrome/browser/resources/settings/downloads_page/downloads_page.html
+++ b/chrome/browser/resources/settings/downloads_page/downloads_page.html
@@ -1,16 +1,15 @@
<link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classes/iron-flex-layout.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input.html">
-<link rel="import" href="chrome://resources/polymer/v1_0/paper-material/paper-material.html">
<link rel="import" href="chrome://resources/cr_elements/v1_0/cr_button/cr_button.html">
<link rel="import" href="chrome://resources/cr_elements/v1_0/cr_input/cr_input.html">
<link rel="import" href="chrome://md-settings/checkbox/checkbox.html">
+<link rel="import" href="chrome://md-settings/settings_page/settings_section.html">
<dom-module id="cr-settings-downloads-page">
- <link rel="import" type="css" href="chrome://md-settings/settings_page/settings_page.css">
<link rel="import" type="css" href="downloads_page.css">
<template>
- <paper-material>
+ <cr-settings-section page-title="[[pageTitle]]" icon="[[icon]]">
<div class="horizontal layout center">
<div class="layout horizontal center">
<div id="locationLabel" i18n-content="downloadLocation"></div>
@@ -26,7 +25,7 @@
<cr-settings-checkbox pref="{{prefs.download.prompt_for_download}}"
i18n-values="label:promptForDownload">
</cr-settings-checkbox>
- </paper-material>
+ </cr-settings-section>
</template>
<script src="downloads_page.js"></script>
</dom-module>

Powered by Google App Engine
This is Rietveld 408576698