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

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

Issue 1368733002: Introduce cr-settings-input and eliminate cr-input (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@issue_532540_elim_cr_toggle_button
Patch Set: More feedback Created 5 years, 3 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 c26412447eae54474d76b9f62012880c3c844de5..61dcdd149c4ff41104c823264178ac9d02a6e5ee 100644
--- a/chrome/browser/resources/settings/downloads_page/downloads_page.html
+++ b/chrome/browser/resources/settings/downloads_page/downloads_page.html
@@ -1,9 +1,8 @@
<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-button/paper-button.html">
-<link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input.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/input/input.html">
<dom-module id="cr-settings-downloads-page">
<link rel="import" type="css"
@@ -13,10 +12,10 @@
<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>
+ <cr-settings-input id="downloadsPath" readonly
+ pref="{{prefs.download.default_directory}}"
+ aria-labelledby="locationLabel">
+ </cr-settings-input>
</div>
<paper-button id="changeDownloadsPath" on-tap="selectDownloadLocation_"
i18n-content="changeDownloadLocation">

Powered by Google App Engine
This is Rietveld 408576698