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

Issue 2180843006: MD WebUI: Remove local DOM access from CrSearchFieldBehavior (Closed)

Created:
4 years, 4 months ago by tsergeant
Modified:
4 years, 4 months ago
Reviewers:
Dan Beam
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, michaelpg+watch-elements_chromium.org, stevenjb+watch-md-settings_chromium.org, dbeam+watch-elements_chromium.org, oshima+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@cr_search_field_clear
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD WebUI: Remove local DOM access from CrSearchFieldBehavior This decouples the behavior implementation from the HTML layout of the elements which use it. Also moves isSearchFocused to the cr-toolbar-search-field element, as it does not need to be in the generic behavior. BUG=None CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/2d558a65f1cfc92d007563789815078ef4e50853 Cr-Commit-Position: refs/heads/master@{#407975}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Vulcanize #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -20 lines) Patch
M chrome/browser/resources/md_downloads/crisper.js View 1 5 chunks +17 lines, -10 lines 0 comments Download
M ui/webui/resources/cr_elements/cr_search_field/cr_search_field.js View 1 chunk +6 lines, -1 line 0 comments Download
M ui/webui/resources/cr_elements/cr_search_field/cr_search_field_behavior.js View 4 chunks +11 lines, -9 lines 0 comments Download
M ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.js View 1 chunk +10 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 18 (11 generated)
tsergeant
Here we go, PTAL
4 years, 4 months ago (2016-07-26 05:47:56 UTC) #7
Dan Beam
lgtm https://codereview.chromium.org/2180843006/diff/1/ui/webui/resources/cr_elements/cr_search_field/cr_search_field.js File ui/webui/resources/cr_elements/cr_search_field/cr_search_field.js (right): https://codereview.chromium.org/2180843006/diff/1/ui/webui/resources/cr_elements/cr_search_field/cr_search_field.js#newcode14 ui/webui/resources/cr_elements/cr_search_field/cr_search_field.js:14: /** @return {!HTMLInputElement} */ does /** @override */ ...
4 years, 4 months ago (2016-07-26 16:42:02 UTC) #10
tsergeant
https://codereview.chromium.org/2180843006/diff/1/ui/webui/resources/cr_elements/cr_search_field/cr_search_field.js File ui/webui/resources/cr_elements/cr_search_field/cr_search_field.js (right): https://codereview.chromium.org/2180843006/diff/1/ui/webui/resources/cr_elements/cr_search_field/cr_search_field.js#newcode14 ui/webui/resources/cr_elements/cr_search_field/cr_search_field.js:14: /** @return {!HTMLInputElement} */ On 2016/07/26 16:42:02, Dan Beam ...
4 years, 4 months ago (2016-07-26 23:32:49 UTC) #11
Dan Beam
https://codereview.chromium.org/2180843006/diff/1/ui/webui/resources/cr_elements/cr_search_field/cr_search_field.js File ui/webui/resources/cr_elements/cr_search_field/cr_search_field.js (right): https://codereview.chromium.org/2180843006/diff/1/ui/webui/resources/cr_elements/cr_search_field/cr_search_field.js#newcode14 ui/webui/resources/cr_elements/cr_search_field/cr_search_field.js:14: /** @return {!HTMLInputElement} */ On 2016/07/26 23:32:49, tsergeant wrote: ...
4 years, 4 months ago (2016-07-26 23:36:54 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2180843006/20001
4 years, 4 months ago (2016-07-26 23:40:51 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-07-26 23:45:33 UTC) #16
commit-bot: I haz the power
4 years, 4 months ago (2016-07-26 23:49:31 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/2d558a65f1cfc92d007563789815078ef4e50853
Cr-Commit-Position: refs/heads/master@{#407975}

Powered by Google App Engine
This is Rietveld 408576698