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

Unified Diff: chrome/browser/resources/md_downloads/toolbar.html

Issue 1308893009: [MD Extensions] Move search field out of downloads, use it in extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Dan's + move search field to cr_search_field 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/md_downloads/toolbar.html
diff --git a/chrome/browser/resources/md_downloads/toolbar.html b/chrome/browser/resources/md_downloads/toolbar.html
index c1814dee5b8b3a07035d9c8bc822aaab6b5ab37a..ce70cd89a3fdeb6c31f79106c33c96614b6e4ed4 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">
Dan Beam 2015/09/14 23:16:06 iron-input is no longer used
Devlin 2015/09/15 17:24:06 Done.
<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/cr_elements/v1_0/cr_search_field/cr_search_field.html">
<dom-module id="downloads-toolbar">
<template>
@@ -22,18 +22,7 @@
on-click="onOpenDownloadsFolderClick_"></paper-button>
</div>
<div id="search">
- <paper-icon-button icon="search" id="search-button"
- i18n-values="title:search"
- 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>
+ <cr-search-field id="search-input"></cr-search-field>
<paper-menu-button id="more" horizontal-align="right">
<paper-icon-button icon="more-vert" i18n-values="title:moreActions"
class="dropdown-trigger"></paper-icon-button>

Powered by Google App Engine
This is Rietveld 408576698