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

Side by Side Diff: ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html

Issue 2294613002: MD Downloads/History: Fix CSS selector that was mistakenly LTR-only (Closed)
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/resources/md_history/app.vulcanized.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <link rel="import" href="chrome://resources/html/polymer.html"> 1 <link rel="import" href="chrome://resources/html/polymer.html">
2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-input/iron-input.h tml"> 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-input/iron-input.h tml">
3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html"> 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input -container.html"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input -container.html">
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-spinner/paper-spi nner-lite.html"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-spinner/paper-spi nner-lite.html">
6 <link rel="import" href="chrome://resources/cr_elements/cr_search_field/cr_searc h_field_behavior.html"> 6 <link rel="import" href="chrome://resources/cr_elements/cr_search_field/cr_searc h_field_behavior.html">
7 <link rel="import" href="chrome://resources/cr_elements/icons.html"> 7 <link rel="import" href="chrome://resources/cr_elements/icons.html">
8 8
9 <dom-module id="cr-toolbar-search-field"> 9 <dom-module id="cr-toolbar-search-field">
10 <template> 10 <template>
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 100
101 /* Search open. */ 101 /* Search open. */
102 :host([showing-search][spinner-active]) #icon { 102 :host([showing-search][spinner-active]) #icon {
103 opacity: 0; 103 opacity: 0;
104 } 104 }
105 105
106 :host([narrow][showing-search]) { 106 :host([narrow][showing-search]) {
107 width: 100%; 107 width: 100%;
108 } 108 }
109 109
110 :host-context([dir=ltr]):host([narrow][showing-search]) #icon, 110 :host([narrow][showing-search]) #icon,
111 :host-context([dir=ltr]):host([narrow][showing-search]) 111 :host([narrow][showing-search]) paper-spinner-lite {
112 paper-spinner-lite {
113 -webkit-margin-start: 18px; 112 -webkit-margin-start: 18px;
114 } 113 }
115 </style> 114 </style>
116 <paper-spinner-lite 115 <paper-spinner-lite
117 active="[[isSpinnerShown_(spinnerActive, showingSearch)]]"> 116 active="[[isSpinnerShown_(spinnerActive, showingSearch)]]">
118 </paper-spinner-lite> 117 </paper-spinner-lite>
119 <paper-icon-button id="icon" icon="cr:search" title="[[label]]" 118 <paper-icon-button id="icon" icon="cr:search" title="[[label]]"
120 tabindex$="[[computeIconTabIndex_(narrow)]]"> 119 tabindex$="[[computeIconTabIndex_(narrow)]]">
121 </paper-icon-button> 120 </paper-icon-button>
122 <paper-input-container id="searchTerm" on-search="onSearchTermSearch" 121 <paper-input-container id="searchTerm" on-search="onSearchTermSearch"
123 on-keydown="onSearchTermKeydown" no-label-float> 122 on-keydown="onSearchTermKeydown" no-label-float>
124 <label id="prompt" for="searchInput">[[label]]</label> 123 <label id="prompt" for="searchInput">[[label]]</label>
125 <input is="iron-input" id="searchInput" type="search" 124 <input is="iron-input" id="searchInput" type="search"
126 on-blur="onInputBlur_" incremental></input> 125 on-blur="onInputBlur_" incremental></input>
127 </paper-input-container> 126 </paper-input-container>
128 <paper-icon-button icon="cr:cancel" id="clearSearch" 127 <paper-icon-button icon="cr:cancel" id="clearSearch"
129 title="[[clearLabel]]" hidden$="[[!hasSearchText_]]" 128 title="[[clearLabel]]" hidden$="[[!hasSearchText_]]"
130 on-tap="hideSearch_"> 129 on-tap="hideSearch_">
131 </paper-icon-button> 130 </paper-icon-button>
132 </template> 131 </template>
133 <script src="cr_toolbar_search_field.js"></script> 132 <script src="cr_toolbar_search_field.js"></script>
134 </dom-module> 133 </dom-module>
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_history/app.vulcanized.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698