Index: chrome/browser/resources/md_downloads/toolbar.html |
diff --git a/chrome/browser/resources/md_downloads/toolbar.html b/chrome/browser/resources/md_downloads/toolbar.html |
index a52c54021a62a35f9871e073a9a1199d902e2665..3a8fc07558181ab765621277289bd3f74b81d950 100644 |
--- a/chrome/browser/resources/md_downloads/toolbar.html |
+++ b/chrome/browser/resources/md_downloads/toolbar.html |
@@ -2,13 +2,13 @@ |
<link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.html"> |
<link rel="import" href="chrome://resources/polymer/v1_0/iron-input/iron-input.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-container.html"> |
<link rel="import" href="chrome://resources/polymer/v1_0/paper-item/paper-item.html"> |
<link rel="import" href="chrome://resources/polymer/v1_0/paper-menu/paper-menu.html"> |
<link rel="import" href="chrome://resources/polymer/v1_0/paper-menu-button/paper-menu-button.html"> |
<link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button.html"> |
<link rel="import" href="chrome://resources/html/assert.html"> |
<link rel="import" href="chrome://resources/html/cr.html"> |
+<link rel="import" href="chrome://resources/html/cr/ui/search_field.html"> |
<dom-module id="downloads-toolbar"> |
<template> |
@@ -22,17 +22,7 @@ |
on-click="onOpenDownloadsFolderClick_"></paper-button> |
</div> |
<div id="search"> |
- <paper-icon-button icon="search" id="search-button" |
- on-click="toggleShowingSearch_"></paper-icon-button> |
- <paper-input-container id="search-term" on-search="onSearchTermSearch_" |
- on-keydown="onSearchTermKeydown_" hidden$="[[!showingSearch_]]" |
- no-label-float> |
- <input is="iron-input" id="search-input" type="search" |
- i18n-values="placeholder:search" incremental> |
- <paper-icon-button icon="cancel" id="clear-search" |
- on-click="toggleShowingSearch_" |
- hidden$="[[!showingSearch_]]"></paper-icon-button> |
- </paper-input-container> |
+ <search-field id="search-input"></search-field> |
<paper-menu-button id="more" horizontal-align="right"> |
<paper-icon-button icon="more-vert" |
class="dropdown-trigger"></paper-icon-button> |