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

Issue 2656463002: Implement MD simple gesture nav (Closed)

Created:
3 years, 11 months ago by mohsen
Modified:
3 years, 10 months ago
CC:
chromium-reviews, darin-cc_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement MD simple gesture nav This CL implements Material Design version of simple gesture nav to replace the existing overscroll effect. As a part of this CL, back and forward navigation icons are moved to ui/vector_icons/ so it can be accessible in contents/, too. BUG=668296 Review-Url: https://codereview.chromium.org/2656463002 Cr-Commit-Position: refs/heads/master@{#450272} Committed: https://chromium.googlesource.com/chromium/src/+/c8b9ca7e60bf607a91e1f73a9bc12e8cde0940e4

Patch Set 1 #

Total comments: 13

Patch Set 2 : Updated #

Patch Set 3 : Cleaned up #

Patch Set 4 : Rebased #

Patch Set 5 : Fixed Mac failure #

Patch Set 6 : Excluded from Android #

Total comments: 26

Patch Set 7 : Addressed review comments #

Patch Set 8 : Rebased #

Patch Set 9 : Rebased #

Total comments: 4

Patch Set 10 : Rebased #

Total comments: 2

Patch Set 11 : Removed IDR_BACK_ARROW, IDR_FORWARD_ARROW #

Total comments: 6

Patch Set 12 : Simplified ThreePartImage test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+349 lines, -290 lines) Patch
M chrome/app/vector_icons/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +0 lines, -4 lines 0 comments Download
D chrome/app/vector_icons/navigate_back.icon View 1 1 chunk +0 lines, -27 lines 0 comments Download
D chrome/app/vector_icons/navigate_back.1x.icon View 1 1 chunk +0 lines, -26 lines 0 comments Download
D chrome/app/vector_icons/navigate_forward.icon View 1 1 chunk +0 lines, -27 lines 0 comments Download
D chrome/app/vector_icons/navigate_forward.1x.icon View 1 1 chunk +0 lines, -27 lines 0 comments Download
M chrome/browser/ui/cocoa/toolbar/toolbar_button_cocoa.mm View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/payments/payment_request_views_util.cc View 1 2 3 4 5 6 7 8 9 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/toolbar/toolbar_view.cc View 1 2 3 4 5 6 7 8 9 2 chunks +7 lines, -8 lines 0 comments Download
M content/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -1 line 0 comments Download
M content/browser/DEPS View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/web_contents/aura/gesture_nav_simple.h View 1 2 chunks +3 lines, -15 lines 0 comments Download
M content/browser/web_contents/aura/gesture_nav_simple.cc View 1 2 3 4 5 6 7 8 9 5 chunks +303 lines, -138 lines 0 comments Download
M ui/base/cocoa/three_part_image_unittest.mm View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +26 lines, -15 lines 0 comments Download
D ui/resources/default_100_percent/common/back_arrow.png View 1 2 3 4 5 6 7 8 9 10 Binary file 0 comments Download
D ui/resources/default_100_percent/common/forward_arrow.png View 1 2 3 4 5 6 7 8 9 10 Binary file 0 comments Download
D ui/resources/default_200_percent/common/back_arrow.png View 1 2 3 4 5 6 7 8 9 10 Binary file 0 comments Download
D ui/resources/default_200_percent/common/forward_arrow.png View 1 2 3 4 5 6 7 8 9 10 Binary file 0 comments Download
M ui/resources/ui_resources.grd View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -2 lines 0 comments Download
M ui/vector_icons/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -0 lines 0 comments Download
A + ui/vector_icons/back_arrow.icon View 1 2 3 4 5 6 7 8 9 0 chunks +-1 lines, --1 lines 0 comments Download
A + ui/vector_icons/back_arrow.1x.icon View 1 2 3 4 5 6 7 8 9 0 chunks +-1 lines, --1 lines 0 comments Download
A + ui/vector_icons/forward_arrow.icon View 1 2 3 4 5 6 7 8 9 0 chunks +-1 lines, --1 lines 0 comments Download
A + ui/vector_icons/forward_arrow.1x.icon View 1 2 3 4 5 6 7 8 9 0 chunks +-1 lines, --1 lines 0 comments Download

Messages

Total messages: 94 (65 generated)
mohsen
mfomitchev@: FYI
3 years, 11 months ago (2017-01-23 21:47:54 UTC) #2
mfomitchev
Thanks Mohsen! I've posted some comments, but since this is WIP, they are not comprehensive. ...
3 years, 11 months ago (2017-01-23 23:04:43 UTC) #3
mfomitchev
https://codereview.chromium.org/2656463002/diff/1/content/browser/web_contents/aura/gesture_nav_simple.cc File content/browser/web_contents/aura/gesture_nav_simple.cc (right): https://codereview.chromium.org/2656463002/diff/1/content/browser/web_contents/aura/gesture_nav_simple.cc#newcode39 content/browser/web_contents/aura/gesture_nav_simple.cc:39: const unsigned int kMaxRippleOpacity = 0x66; Would it be ...
3 years, 11 months ago (2017-01-23 23:04:52 UTC) #4
mohsen
mfomitchev@: The CL is ready for review. Can you please take another look? https://codereview.chromium.org/2656463002/diff/1/content/browser/web_contents/aura/gesture_nav_simple.cc File ...
3 years, 10 months ago (2017-01-31 21:10:35 UTC) #32
mfomitchev
Awesome, thanks Mohsen! I am just wondering - perhaps putting the new resources under content/resources ...
3 years, 10 months ago (2017-01-31 22:54:13 UTC) #35
mfomitchev
On 2017/01/31 22:54:13, mfomitchev wrote: > Awesome, thanks Mohsen! > I am just wondering - ...
3 years, 10 months ago (2017-01-31 22:55:46 UTC) #36
mohsen
On 2017/01/31 at 22:55:46, mfomitchev wrote: > On 2017/01/31 22:54:13, mfomitchev wrote: > > Awesome, ...
3 years, 10 months ago (2017-02-01 17:32:56 UTC) #37
mfomitchev
On 2017/02/01 17:32:56, mohsen wrote: > On 2017/01/31 at 22:55:46, mfomitchev wrote: > > On ...
3 years, 10 months ago (2017-02-01 20:29:23 UTC) #38
mfomitchev
Looks great, thanks Mohsen! Comments below, mostly nits. https://codereview.chromium.org/2656463002/diff/180001/content/browser/web_contents/aura/gesture_nav_simple.cc File content/browser/web_contents/aura/gesture_nav_simple.cc (left): https://codereview.chromium.org/2656463002/diff/180001/content/browser/web_contents/aura/gesture_nav_simple.cc#oldcode223 content/browser/web_contents/aura/gesture_nav_simple.cc:223: // ...
3 years, 10 months ago (2017-02-03 02:14:37 UTC) #39
mohsen
https://codereview.chromium.org/2656463002/diff/180001/content/browser/web_contents/aura/gesture_nav_simple.cc File content/browser/web_contents/aura/gesture_nav_simple.cc (left): https://codereview.chromium.org/2656463002/diff/180001/content/browser/web_contents/aura/gesture_nav_simple.cc#oldcode223 content/browser/web_contents/aura/gesture_nav_simple.cc:223: // Adding the arrow as a child of the ...
3 years, 10 months ago (2017-02-03 22:32:00 UTC) #40
mfomitchev
LGTM Thanks Mohsen!
3 years, 10 months ago (2017-02-06 22:45:58 UTC) #41
mohsen
estade@: Can you take a look at changes to vector icon targets?
3 years, 10 months ago (2017-02-07 22:22:46 UTC) #49
Evan Stade
https://codereview.chromium.org/2656463002/diff/240001/ui/resources/vector_icons/BUILD.gn File ui/resources/vector_icons/BUILD.gn (right): https://codereview.chromium.org/2656463002/diff/240001/ui/resources/vector_icons/BUILD.gn#newcode7 ui/resources/vector_icons/BUILD.gn:7: aggregate_vector_icons("ui_resources_vector_icons") { I just added a target for this ...
3 years, 10 months ago (2017-02-08 00:00:25 UTC) #52
mohsen
https://codereview.chromium.org/2656463002/diff/240001/ui/resources/vector_icons/BUILD.gn File ui/resources/vector_icons/BUILD.gn (right): https://codereview.chromium.org/2656463002/diff/240001/ui/resources/vector_icons/BUILD.gn#newcode7 ui/resources/vector_icons/BUILD.gn:7: aggregate_vector_icons("ui_resources_vector_icons") { On 2017/02/08 at 00:00:24, Evan Stade wrote: ...
3 years, 10 months ago (2017-02-08 03:54:56 UTC) #55
Evan Stade
we should be able to remove IDR_BACK_ARROW now, no?
3 years, 10 months ago (2017-02-08 16:07:59 UTC) #58
Evan Stade
https://codereview.chromium.org/2656463002/diff/260001/ui/vector_icons/BUILD.gn File ui/vector_icons/BUILD.gn (right): https://codereview.chromium.org/2656463002/diff/260001/ui/vector_icons/BUILD.gn#newcode13 ui/vector_icons/BUILD.gn:13: "back_arrow.1x.icon", nit: alphabetize
3 years, 10 months ago (2017-02-08 16:08:10 UTC) #59
mohsen
Removed IDR_BACK_ARROW, IDR_FORWARD_ARROW. PTAL. https://codereview.chromium.org/2656463002/diff/260001/ui/vector_icons/BUILD.gn File ui/vector_icons/BUILD.gn (right): https://codereview.chromium.org/2656463002/diff/260001/ui/vector_icons/BUILD.gn#newcode13 ui/vector_icons/BUILD.gn:13: "back_arrow.1x.icon", On 2017/02/08 at 16:08:10, ...
3 years, 10 months ago (2017-02-08 20:52:04 UTC) #72
Evan Stade
lgtm
3 years, 10 months ago (2017-02-08 21:17:11 UTC) #73
mohsen
jam@: Can you please take an OWNERS look...
3 years, 10 months ago (2017-02-08 21:31:18 UTC) #75
jam
On 2017/02/08 21:31:18, mohsen wrote: > jam@: Can you please take an OWNERS look... which ...
3 years, 10 months ago (2017-02-08 22:48:59 UTC) #76
mohsen
Mainly: - content/browser/DEPS, - content/browser/BUILD.gn. Also, I'd apperciate if you rubber stamp changes in: - ...
3 years, 10 months ago (2017-02-08 23:16:10 UTC) #77
mohsen
On 2017/02/08 at 23:16:10, mohsen wrote: > Mainly: > - content/browser/DEPS, > - content/browser/BUILD.gn. > ...
3 years, 10 months ago (2017-02-10 20:25:34 UTC) #78
jam
lgtm
3 years, 10 months ago (2017-02-13 21:05:28 UTC) #79
mohsen
tapted@: Can you please take a look at ui/base/cocoa/three_part_image_unittest.mm?
3 years, 10 months ago (2017-02-13 21:16:45 UTC) #81
tapted
https://codereview.chromium.org/2656463002/diff/330001/ui/base/cocoa/three_part_image_unittest.mm File ui/base/cocoa/three_part_image_unittest.mm (right): https://codereview.chromium.org/2656463002/diff/330001/ui/base/cocoa/three_part_image_unittest.mm#newcode55 ui/base/cocoa/three_part_image_unittest.mm:55: // Create a bitmap with transparent corners. update - ...
3 years, 10 months ago (2017-02-13 22:29:09 UTC) #82
mohsen
https://codereview.chromium.org/2656463002/diff/330001/ui/base/cocoa/three_part_image_unittest.mm File ui/base/cocoa/three_part_image_unittest.mm (right): https://codereview.chromium.org/2656463002/diff/330001/ui/base/cocoa/three_part_image_unittest.mm#newcode55 ui/base/cocoa/three_part_image_unittest.mm:55: // Create a bitmap with transparent corners. On 2017/02/13 ...
3 years, 10 months ago (2017-02-14 04:54:31 UTC) #85
tapted
lgtm - thanks!
3 years, 10 months ago (2017-02-14 05:23:59 UTC) #88
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/2656463002/350001
3 years, 10 months ago (2017-02-14 05:34:52 UTC) #91
commit-bot: I haz the power
3 years, 10 months ago (2017-02-14 05:40:23 UTC) #94
Message was sent while issue was closed.
Committed patchset #12 (id:350001) as
https://chromium.googlesource.com/chromium/src/+/c8b9ca7e60bf607a91e1f73a9bc1...

Powered by Google App Engine
This is Rietveld 408576698