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

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..b8efcacf65d682a2e2a34724b723744fe4ae7950 100644
--- a/chrome/browser/resources/settings/downloads_page/downloads_page.html
+++ b/chrome/browser/resources/settings/downloads_page/downloads_page.html
@@ -1,32 +1,30 @@
<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">
<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="chrome://md-settings/settings_page/settings_page.css">
<link rel="import" type="css" href="downloads_page.css">
<template>
- <paper-material>
- <div class="horizontal layout center">
- <div class="layout horizontal center">
- <div id="locationLabel" i18n-content="downloadLocation"></div>
- <cr-input id="downloadsPath" floating-label="false"
- value="{{prefs.download.default_directory.value}}"
- readonly aria-labelledby="locationLabel">
- </cr-input>
- </div>
- <cr-button id="changeDownloadsPath" on-click="selectDownloadLocation_"
- i18n-content="changeDownloadLocation">
- </cr-button>
+ <div class="horizontal layout center">
+ <div class="layout horizontal center">
+ <div id="locationLabel" i18n-content="downloadLocation"></div>
+ <cr-input id="downloadsPath" floating-label="false"
+ value="{{prefs.download.default_directory.value}}"
+ readonly aria-labelledby="locationLabel">
+ </cr-input>
</div>
- <cr-settings-checkbox pref="{{prefs.download.prompt_for_download}}"
- i18n-values="label:promptForDownload">
- </cr-settings-checkbox>
- </paper-material>
+ <cr-button id="changeDownloadsPath" on-click="selectDownloadLocation_"
+ i18n-content="changeDownloadLocation">
+ </cr-button>
+ </div>
+ <cr-settings-checkbox pref="{{prefs.download.prompt_for_download}}"
+ i18n-values="label:promptForDownload">
+ </cr-settings-checkbox>
</template>
<script src="downloads_page.js"></script>
</dom-module>

Powered by Google App Engine
This is Rietveld 408576698