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

Issue 583223002: Open just folder menu on middle clicking chevron button. (Closed)

Created:
6 years, 3 months ago by Gaja
Modified:
6 years, 3 months ago
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Open just folder menu on middle clicking chevron button. In common openBookmarkFolder: function, check if button is offTheSideButton and event is NSOtherMouseUp, if so, open just the folder menu instead of opening all bookmarks under it. BUG=46682 R=asvitkine@chromium.org TEST= 1) Launch chrome and add more bookmarks to Bookmarks bar so that offTheSideButton is visible. 2) Middle click on the button and observe. 3) It should just open its folder menu instead of opening all bookmarks under it. Committed: https://crrev.com/1e5f714262659081b565725a4c17890deefaae14 Cr-Commit-Position: refs/heads/master@{#295981}

Patch Set 1 #

Total comments: 9

Patch Set 2 : Changes addressing comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -3 lines) Patch
M chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm View 1 1 chunk +17 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller_unittest.mm View 2 chunks +33 lines, -1 line 0 comments Download

Messages

Total messages: 9 (1 generated)
Gaja
@asvitkine Please take a look. Thanks.
6 years, 3 months ago (2014-09-19 14:36:30 UTC) #1
Alexei Svitkine (slow)
https://codereview.chromium.org/583223002/diff/1/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm File chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm (right): https://codereview.chromium.org/583223002/diff/1/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm#newcode733 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm:733: // Function to open bookmark folder of offTheSideButton. Nit: ...
6 years, 3 months ago (2014-09-19 15:50:00 UTC) #2
Gaja
Thanks for the review. I do not have access to MAC PC at home. I ...
6 years, 3 months ago (2014-09-20 05:35:45 UTC) #3
Gaja
@asvitkine, Changes in Patch Set #2. Please review. https://codereview.chromium.org/583223002/diff/1/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm File chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm (right): https://codereview.chromium.org/583223002/diff/1/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm#newcode733 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm:733: // ...
6 years, 3 months ago (2014-09-22 03:34:41 UTC) #4
Alexei Svitkine (slow)
lgtm
6 years, 3 months ago (2014-09-22 14:56:44 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/583223002/20001
6 years, 3 months ago (2014-09-22 15:28:58 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001) as 2f9cadf79ee9aa383a44a43b21a4069b953441cd
6 years, 3 months ago (2014-09-22 16:13:30 UTC) #8
commit-bot: I haz the power
6 years, 3 months ago (2014-09-22 16:14:20 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/1e5f714262659081b565725a4c17890deefaae14
Cr-Commit-Position: refs/heads/master@{#295981}

Powered by Google App Engine
This is Rietveld 408576698