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

Issue 1270783005: V1 of material design find in page bar (Closed)

Created:
5 years, 4 months ago by Evan Stade
Modified:
5 years, 4 months ago
Reviewers:
sky, Justin Donnelly
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

V1 of material design find in page bar This patch adds some new vector icons. Because these icons are part of the primary UI, extra effort has been put into achieving a precise appearance. Hence there are new vector directives as well as different definitions for 1x and everything else. The definitions are not translated from the stock MD icons --- instead, they are hand-crafted to match PNGs provided by sgabriel@. This patch also changes the layout of the FIP bar. This patch does not attempt to achieve pixel perfection for element layout, which will be a goal of later iterations. You can see the new UI by running Chrome with --top-chrome-md=material-hybrid BUG=512443 R=jdonnelly@chromium.org, sky@chromium.org Committed: https://chromium.googlesource.com/chromium/src/+/cedd7da71f84a8764ea5e9ccadbaed293e0e6dc8

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : everything but the close button #

Patch Set 4 : mvp #

Total comments: 18

Patch Set 5 : sky review #

Patch Set 6 : rebase #

Patch Set 7 : suffixual f #

Unified diffs Side-by-side diffs Delta from patch set Stats (+330 lines, -60 lines) Patch
M chrome/browser/ui/views/find_bar_view.h View 1 2 3 4 6 chunks +14 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/find_bar_view.cc View 1 2 3 4 12 chunks +185 lines, -44 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view_layout.cc View 1 2 chunks +3 lines, -0 lines 0 comments Download
M ui/gfx/BUILD.gn View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M ui/gfx/paint_vector_icon.cc View 1 2 3 4 7 chunks +30 lines, -3 lines 0 comments Download
M ui/gfx/vector_icon_types.h View 1 3 3 chunks +10 lines, -0 lines 0 comments Download
M ui/gfx/vector_icons/aggregate_vector_icons.py View 1 2 3 4 2 chunks +22 lines, -11 lines 0 comments Download
A ui/gfx/vector_icons/find_close.icon View 1 2 3 4 5 6 1 chunk +8 lines, -0 lines 0 comments Download
A ui/gfx/vector_icons/find_close.1x.icon View 1 2 3 4 5 6 1 chunk +9 lines, -0 lines 0 comments Download
A ui/gfx/vector_icons/find_next.icon View 1 2 3 4 5 6 1 chunk +9 lines, -0 lines 0 comments Download
A ui/gfx/vector_icons/find_next.1x.icon View 1 2 3 4 5 6 1 chunk +8 lines, -0 lines 0 comments Download
A ui/gfx/vector_icons/find_prev.icon View 1 2 3 4 5 6 1 chunk +9 lines, -0 lines 0 comments Download
A ui/gfx/vector_icons/find_prev.1x.icon View 1 2 3 4 5 6 1 chunk +8 lines, -0 lines 0 comments Download
M ui/gfx/vector_icons/vector_icons.cc.template View 1 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (8 generated)
Evan Stade
+jdonnelly for ui/gfx/vector_icons/aggregate_vector_icons.py +sky for the rest
5 years, 4 months ago (2015-08-04 22:32:52 UTC) #2
sky
https://codereview.chromium.org/1270783005/diff/60001/chrome/browser/ui/views/find_bar_view.cc File chrome/browser/ui/views/find_bar_view.cc (right): https://codereview.chromium.org/1270783005/diff/60001/chrome/browser/ui/views/find_bar_view.cc#newcode81 chrome/browser/ui/views/find_bar_view.cc:81: // Creates a label that mouse click focus to ...
5 years, 4 months ago (2015-08-05 00:06:01 UTC) #3
Justin Donnelly
lgtm lgtm for aggregate_vector_icons.py https://codereview.chromium.org/1270783005/diff/60001/ui/gfx/vector_icons/aggregate_vector_icons.py File ui/gfx/vector_icons/aggregate_vector_icons.py (right): https://codereview.chromium.org/1270783005/diff/60001/ui/gfx/vector_icons/aggregate_vector_icons.py#newcode31 ui/gfx/vector_icons/aggregate_vector_icons.py:31: output_header.write(line) How about a continue ...
5 years, 4 months ago (2015-08-05 14:32:49 UTC) #4
Evan Stade
https://codereview.chromium.org/1270783005/diff/60001/chrome/browser/ui/views/find_bar_view.cc File chrome/browser/ui/views/find_bar_view.cc (right): https://codereview.chromium.org/1270783005/diff/60001/chrome/browser/ui/views/find_bar_view.cc#newcode81 chrome/browser/ui/views/find_bar_view.cc:81: // Creates a label that mouse click focus to ...
5 years, 4 months ago (2015-08-05 19:04:26 UTC) #5
sky
LGTM
5 years, 4 months ago (2015-08-05 21:37:06 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1270783005/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1270783005/100001
5 years, 4 months ago (2015-08-06 19:04:45 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/67760)
5 years, 4 months ago (2015-08-06 19:54:04 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1270783005/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1270783005/100001
5 years, 4 months ago (2015-08-06 19:55:36 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/89884)
5 years, 4 months ago (2015-08-06 20:21:10 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1270783005/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1270783005/120001
5 years, 4 months ago (2015-08-06 21:40:40 UTC) #18
Evan Stade
5 years, 4 months ago (2015-08-06 23:00:56 UTC) #19
Message was sent while issue was closed.
Committed patchset #7 (id:120001) manually as
cedd7da71f84a8764ea5e9ccadbaed293e0e6dc8 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698