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

Unified Diff: chrome/browser/resources/settings/settings_page/settings_subpage.html

Issue 2092763004: [MD Settings] Implement search in material design passwords. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Feedback and Rebase Created 4 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/settings_page/settings_subpage.html
diff --git a/chrome/browser/resources/settings/settings_page/settings_subpage.html b/chrome/browser/resources/settings/settings_page/settings_subpage.html
index fa94d0769b665fd71012bd192229ae40c2f70b1c..3f7a80c2f4e68febf701a7177525cf31fb80eeef 100644
--- a/chrome/browser/resources/settings/settings_page/settings_subpage.html
+++ b/chrome/browser/resources/settings/settings_page/settings_subpage.html
@@ -3,6 +3,7 @@
<link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-animatable-behavior.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button.html">
<link rel="import" href="/icons.html">
+<link rel="import" href="/settings_page/settings_subpage_search.html">
<link rel="import" href="/settings_shared_css.html">
<dom-module id="settings-subpage">
@@ -29,11 +30,20 @@
color: var(--settings-nav-grey);
font-size: 107.6923%; /* go to 14px from 13px */
}
+
+ settings-subpage-search {
+ -webkit-margin-start: auto;
+ }
</style>
<div class="settings-box first">
<paper-icon-button icon="settings:arrow-back" on-tap="onTapBack_">
</paper-icon-button>
<h2>[[pageTitle]]</h2>
+ <template is="dom-if" if="[[searchLabel]]">
+ <settings-subpage-search label="[[searchLabel]]"
+ on-search-changed="onSearchChanged_">
+ </settings-subpage-search>
+ </template>
</div>
<content></content>
</template>

Powered by Google App Engine
This is Rietveld 408576698