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

Issue 1308893009: [MD Extensions] Move search field out of downloads, use it in extensions (Closed)

Created:
5 years, 3 months ago by Devlin
Modified:
5 years, 3 months ago
Reviewers:
Dan Beam, michaelpg
CC:
chromium-reviews, extensions-reviews_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, vitalyp+closure_chromium.org, dbeam+watch-closure_chromium.org, jlklein+watch-closure_chromium.org, michaelpg
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[MD Extensions] Move search field out of downloads, use it in extensions Make the search-field element a web component, and move it to ui/webui/. Use it in the MD extensions page, and add a toolbar. BUG=529395 Committed: https://crrev.com/2b2e07d6af7dede96cd0fd73f4523a5d7204729f Cr-Commit-Position: refs/heads/master@{#349260}

Patch Set 1 : #

Total comments: 10

Patch Set 2 : Dan's + move search field to cr_search_field #

Total comments: 19

Patch Set 3 : #

Total comments: 7

Patch Set 4 : #

Total comments: 22

Patch Set 5 : #

Patch Set 6 : Include order #

Total comments: 5

Patch Set 7 : License + Nit #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+232 lines, -185 lines) Patch
M chrome/app/generated_resources.grd View 1 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/browser_resources.grd View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/resources/md_downloads/compiled_resources.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/md_downloads/toolbar.css View 1 2 3 4 chunks +4 lines, -55 lines 0 comments Download
M chrome/browser/resources/md_downloads/toolbar.html View 1 2 3 4 5 2 chunks +2 lines, -14 lines 0 comments Download
M chrome/browser/resources/md_downloads/toolbar.js View 1 2 3 4 4 chunks +28 lines, -29 lines 0 comments Download
M chrome/browser/resources/md_extensions/compiled_resources.gyp View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/md_extensions/extensions.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A + chrome/browser/resources/md_extensions/manager.css View 1 chunk +5 lines, -3 lines 0 comments Download
M chrome/browser/resources/md_extensions/manager.html View 1 chunk +9 lines, -0 lines 0 comments Download
A + chrome/browser/resources/md_extensions/toolbar.css View 1 chunk +13 lines, -9 lines 0 comments Download
A chrome/browser/resources/md_extensions/toolbar.html View 1 2 3 4 5 1 chunk +12 lines, -0 lines 0 comments Download
A chrome/browser/resources/md_extensions/toolbar.js View 1 2 3 4 1 chunk +33 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/extensions/extensions_ui.cc View 1 chunk +8 lines, -0 lines 0 comments Download
A + ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.css View 1 2 3 4 5 6 3 chunks +2 lines, -75 lines 0 comments Download
A ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.html View 1 2 3 4 5 1 chunk +28 lines, -0 lines 2 comments Download
A ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.js View 1 2 3 4 5 6 1 chunk +65 lines, -0 lines 0 comments Download
M ui/webui/resources/cr_elements_resources.grdp View 1 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 38 (11 generated)
Devlin
Dan, take a look when you can. Also, my web component/polymer experience is nil, so ...
5 years, 3 months ago (2015-09-09 22:39:22 UTC) #3
Dan Beam
i'll look at this soon, but /cc michaelpg@ in the meantime this looks cr_element-esque, no?
5 years, 3 months ago (2015-09-09 23:41:56 UTC) #4
Devlin
On 2015/09/09 23:41:56, Dan Beam wrote: > i'll look at this soon, but /cc michaelpg@ ...
5 years, 3 months ago (2015-09-14 18:41:22 UTC) #5
michaelpg
On 2015/09/09 23:41:56, Dan Beam wrote: > i'll look at this soon, but /cc michaelpg@ ...
5 years, 3 months ago (2015-09-14 18:51:38 UTC) #6
Dan Beam
https://codereview.chromium.org/1308893009/diff/20001/chrome/browser/resources/md_downloads/toolbar.js File chrome/browser/resources/md_downloads/toolbar.js (right): https://codereview.chromium.org/1308893009/diff/20001/chrome/browser/resources/md_downloads/toolbar.js#newcode77 chrome/browser/resources/md_downloads/toolbar.js:77: }; }; -> } https://codereview.chromium.org/1308893009/diff/20001/chrome/browser/resources/md_extensions/toolbar.js File chrome/browser/resources/md_extensions/toolbar.js (right): https://codereview.chromium.org/1308893009/diff/20001/chrome/browser/resources/md_extensions/toolbar.js#newcode22 ...
5 years, 3 months ago (2015-09-14 19:22:06 UTC) #7
Devlin
https://codereview.chromium.org/1308893009/diff/20001/chrome/browser/resources/md_downloads/toolbar.js File chrome/browser/resources/md_downloads/toolbar.js (right): https://codereview.chromium.org/1308893009/diff/20001/chrome/browser/resources/md_downloads/toolbar.js#newcode77 chrome/browser/resources/md_downloads/toolbar.js:77: }; On 2015/09/14 19:22:05, Dan Beam wrote: > }; ...
5 years, 3 months ago (2015-09-14 21:47:19 UTC) #8
Dan Beam
https://codereview.chromium.org/1308893009/diff/20001/ui/webui/resources/html/cr/ui/search_field.html File ui/webui/resources/html/cr/ui/search_field.html (right): https://codereview.chromium.org/1308893009/diff/20001/ui/webui/resources/html/cr/ui/search_field.html#newcode13 ui/webui/resources/html/cr/ui/search_field.html:13: on-click="toggleShowingSearch_"></paper-icon-button> On 2015/09/14 21:47:19, Devlin wrote: > On 2015/09/14 ...
5 years, 3 months ago (2015-09-14 23:16:06 UTC) #9
Dan Beam
https://codereview.chromium.org/1308893009/diff/40001/chrome/browser/resources/md_downloads/toolbar.js File chrome/browser/resources/md_downloads/toolbar.js (right): https://codereview.chromium.org/1308893009/diff/40001/chrome/browser/resources/md_downloads/toolbar.js#newcode81 chrome/browser/resources/md_downloads/toolbar.js:81: onSearchTermSearch: function(value) { On 2015/09/14 23:16:06, Dan Beam wrote: ...
5 years, 3 months ago (2015-09-14 23:52:54 UTC) #10
Devlin
https://codereview.chromium.org/1308893009/diff/20001/ui/webui/resources/html/cr/ui/search_field.html File ui/webui/resources/html/cr/ui/search_field.html (right): https://codereview.chromium.org/1308893009/diff/20001/ui/webui/resources/html/cr/ui/search_field.html#newcode13 ui/webui/resources/html/cr/ui/search_field.html:13: on-click="toggleShowingSearch_"></paper-icon-button> On 2015/09/14 23:16:05, Dan Beam wrote: > On ...
5 years, 3 months ago (2015-09-15 17:24:07 UTC) #12
michaelpg
lgtm w/ nit and a plea for <dom-if> https://codereview.chromium.org/1308893009/diff/80001/ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.html File ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.html (right): https://codereview.chromium.org/1308893009/diff/80001/ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.html#newcode6 ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.html:6: <link ...
5 years, 3 months ago (2015-09-15 18:27:59 UTC) #14
Devlin
https://codereview.chromium.org/1308893009/diff/80001/ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.html File ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.html (right): https://codereview.chromium.org/1308893009/diff/80001/ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.html#newcode6 ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.html:6: <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button.html"> On 2015/09/15 18:27:59, michaelpg wrote: > ...
5 years, 3 months ago (2015-09-15 21:23:28 UTC) #15
Dan Beam
https://codereview.chromium.org/1308893009/diff/100001/ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.js File ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.js (right): https://codereview.chromium.org/1308893009/diff/100001/ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.js#newcode11 ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.js:11: value: false, observer: 'onShowingSearchChange_', https://codereview.chromium.org/1308893009/diff/100001/ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.js#newcode18 ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.js:18: 'dom-change', this.onDomChange_.bind(this)); i've ...
5 years, 3 months ago (2015-09-15 23:58:45 UTC) #16
Devlin
(no code changes; just asking/answering questions) https://codereview.chromium.org/1308893009/diff/100001/ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.js File ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.js (right): https://codereview.chromium.org/1308893009/diff/100001/ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.js#newcode18 ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.js:18: 'dom-change', this.onDomChange_.bind(this)); On ...
5 years, 3 months ago (2015-09-16 00:03:18 UTC) #17
Dan Beam
lgtm https://codereview.chromium.org/1308893009/diff/100001/ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.js File ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.js (right): https://codereview.chromium.org/1308893009/diff/100001/ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.js#newcode18 ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.js:18: 'dom-change', this.onDomChange_.bind(this)); On 2015/09/16 00:03:18, Devlin wrote: > ...
5 years, 3 months ago (2015-09-16 01:48:52 UTC) #18
michaelpg
https://codereview.chromium.org/1308893009/diff/80001/ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.html File ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.html (right): https://codereview.chromium.org/1308893009/diff/80001/ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.html#newcode6 ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.html:6: <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button.html"> On 2015/09/15 21:23:27, Devlin wrote: > ...
5 years, 3 months ago (2015-09-16 05:12:00 UTC) #19
Devlin
https://codereview.chromium.org/1308893009/diff/80001/ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.html File ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.html (right): https://codereview.chromium.org/1308893009/diff/80001/ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.html#newcode6 ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.html:6: <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button.html"> On 2015/09/16 05:12:00, michaelpg wrote: > ...
5 years, 3 months ago (2015-09-16 15:55:07 UTC) #21
Devlin
https://codereview.chromium.org/1308893009/diff/80001/ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.html File ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.html (right): https://codereview.chromium.org/1308893009/diff/80001/ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.html#newcode6 ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.html:6: <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button.html"> On 2015/09/16 15:55:06, Devlin wrote: > ...
5 years, 3 months ago (2015-09-16 20:37:05 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1308893009/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1308893009/160001
5 years, 3 months ago (2015-09-16 20:37:37 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/100587)
5 years, 3 months ago (2015-09-16 20:52:39 UTC) #27
Dan Beam
lgtm https://codereview.chromium.org/1308893009/diff/160001/ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.js File ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.js (right): https://codereview.chromium.org/1308893009/diff/160001/ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.js#newcode25 ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.js:25: /** @param{SearchFieldDelegate} delegate */ nit: @param {SearchFieldDelegate} https://codereview.chromium.org/1308893009/diff/160001/ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.js#newcode55 ...
5 years, 3 months ago (2015-09-16 20:57:33 UTC) #28
Dan Beam
https://codereview.chromium.org/1308893009/diff/160001/ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.css File ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.css (right): https://codereview.chromium.org/1308893009/diff/160001/ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.css#newcode1 ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.css:1: :host { can haz copyright?
5 years, 3 months ago (2015-09-16 20:58:00 UTC) #29
Devlin
https://codereview.chromium.org/1308893009/diff/160001/ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.css File ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.css (right): https://codereview.chromium.org/1308893009/diff/160001/ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.css#newcode1 ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.css:1: :host { On 2015/09/16 20:58:00, Dan Beam wrote: > ...
5 years, 3 months ago (2015-09-16 21:01:12 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1308893009/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1308893009/200001
5 years, 3 months ago (2015-09-16 21:03:24 UTC) #34
michaelpg
https://codereview.chromium.org/1308893009/diff/100001/ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.js File ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.js (right): https://codereview.chromium.org/1308893009/diff/100001/ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.js#newcode18 ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.js:18: 'dom-change', this.onDomChange_.bind(this)); On 2015/09/16 15:55:06, Devlin wrote: > On ...
5 years, 3 months ago (2015-09-16 21:12:42 UTC) #35
commit-bot: I haz the power
Committed patchset #7 (id:200001)
5 years, 3 months ago (2015-09-16 22:39:13 UTC) #36
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/2b2e07d6af7dede96cd0fd73f4523a5d7204729f Cr-Commit-Position: refs/heads/master@{#349260}
5 years, 3 months ago (2015-09-16 22:40:10 UTC) #37
Dan Beam
5 years, 3 months ago (2015-09-17 00:33:59 UTC) #38
Message was sent while issue was closed.
https://codereview.chromium.org/1308893009/diff/200001/ui/webui/resources/cr_...
File ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.html
(right):

https://codereview.chromium.org/1308893009/diff/200001/ui/webui/resources/cr_...
ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.html:12:
i18n-values="title:search"
i think this ...

https://codereview.chromium.org/1308893009/diff/200001/ui/webui/resources/cr_...
ui/webui/resources/cr_elements/v1_0/cr_search_field/cr_search_field.html:19:
i18n-values="placeholder:search" incremental>
... and this may have broken

Powered by Google App Engine
This is Rietveld 408576698