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

Issue 2627383002: MD History: Replace app-drawer with cr-drawer (Closed)

Created:
3 years, 11 months ago by tsergeant
Modified:
3 years, 11 months ago
Reviewers:
calamity
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, asanka, Patrick Dubroy, michaelpg+watch-md-ui_chromium.org, dbeam+watch-history_chromium.org, pam+watch_chromium.org, arv+watch_chromium.org, dbeam+watch-downloads_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD History: Replace app-drawer with cr-drawer This replaces the sidebar drawer in MD History with the shared cr-drawer element. cr-drawer has several benefits over app-drawer: * Styling is now directly shared with MD Settings * Focus is now correctly trapped within the drawer when it is open * cr-drawer is significantly smaller, saving 8kb of bundled page size (before gzip). Binary size will decrease further when we remove app-drawer in a follow-up CL. BUG=629808 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2627383002 Cr-Commit-Position: refs/heads/master@{#444257} Committed: https://chromium.googlesource.com/chromium/src/+/e316eda37d7a3b330320fcad850dd62902123dd4

Patch Set 1 #

Patch Set 2 : Fix tests #

Patch Set 3 : Rebase #

Patch Set 4 : Closure #

Patch Set 5 : Use correct close function #

Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -194 lines) Patch
M chrome/browser/resources/md_history/app.html View 1 3 chunks +8 lines, -32 lines 0 comments Download
M chrome/browser/resources/md_history/app.js View 1 2 3 4 4 chunks +17 lines, -7 lines 0 comments Download
M chrome/browser/resources/md_history/app.crisper.js View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/md_history/app.vulcanized.html View 1 2 3 5 chunks +7 lines, -34 lines 0 comments Download
M chrome/browser/resources/md_history/compiled_resources2.gyp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/md_history/lazy_load.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/md_history/lazy_load.crisper.js View 1 chunk +6 lines, -2 lines 0 comments Download
M chrome/browser/resources/md_history/lazy_load.vulcanized.html View 1 2 3 chunks +55 lines, -102 lines 0 comments Download
M chrome/browser/resources/md_history/side_bar.html View 1 2 3 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/resources/md_history/side_bar.js View 1 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/test/data/webui/md_history/history_drawer_test.js View 1 1 chunk +7 lines, -3 lines 0 comments Download

Messages

Total messages: 26 (18 generated)
tsergeant
Welcome back, have a code review
3 years, 11 months ago (2017-01-16 00:14:05 UTC) #10
tsergeant
Welcome back, have a code review
3 years, 11 months ago (2017-01-16 00:14:05 UTC) #11
calamity
Code LG, but the drawer close animation is a bit jank? Closing by clicking a ...
3 years, 11 months ago (2017-01-16 05:55:58 UTC) #14
tsergeant
Whoops, yep. Was using the native dialog close() function rather than the cr-drawer closeDrawer() function. ...
3 years, 11 months ago (2017-01-16 06:18:51 UTC) #15
tsergeant
ping~ from talking in person, it sounds like you were happy with this (apart from ...
3 years, 11 months ago (2017-01-18 00:50:32 UTC) #20
calamity
I am. lgtm.
3 years, 11 months ago (2017-01-18 01:56:40 UTC) #21
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/2627383002/80001
3 years, 11 months ago (2017-01-18 01:58:36 UTC) #23
commit-bot: I haz the power
3 years, 11 months ago (2017-01-18 03:07:53 UTC) #26
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/e316eda37d7a3b330320fcad850d...

Powered by Google App Engine
This is Rietveld 408576698