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

Issue 636283004: To ensure that the location bar will not reach the minimum width. (Closed)

Created:
6 years, 2 months ago by Malcolm
Modified:
6 years, 1 month ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

To ensure that the location bar will not reach the minimum width. Fix the width of location bar will be less than the minimum width, when dragging the browserActionsContainer to the left. Before the browserActionsContainer will translate on x-axis, sending a notification to see whether it will be allowed. This will give the toolbar controller a chance to check if the width of location bar will reach the minimum by dragging the browserActionsContainer. BUG=329842 TEST=manually tested. Committed: https://crrev.com/e9cc4e8457ee68f6bbd621e0a2aea262343026ec Cr-Commit-Position: refs/heads/master@{#302209}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Update CL #

Total comments: 5

Patch Set 3 : Make naming consistent. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -0 lines) Patch
M chrome/browser/ui/cocoa/extensions/browser_actions_container_view.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/browser_actions_container_view.mm View 1 2 2 chunks +14 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/browser_actions_controller.mm View 1 2 3 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm View 1 2 3 chunks +18 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (5 generated)
Malcolm
Please review this CL, thanks!
6 years, 2 months ago (2014-10-16 03:31:23 UTC) #2
Nico
yoz, can you look at this?
6 years, 1 month ago (2014-10-27 20:46:27 UTC) #4
Yoyo Zhou
https://codereview.chromium.org/636283004/diff/1/chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm File chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm (right): https://codereview.chromium.org/636283004/diff/1/chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm#newcode592 chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm:592: name:kBrowseActionContainerWillTranslateOnXNotification typo: kBrowserAction... https://codereview.chromium.org/636283004/diff/1/chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm#newcode647 chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm:647: CGFloat locationBarWidth = NSWidth([locationBar_ ...
6 years, 1 month ago (2014-10-27 23:45:26 UTC) #5
Malcolm
Hi Yoyo, I've updated the CL and added some comments, please review it, thanks! https://codereview.chromium.org/636283004/diff/1/chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm ...
6 years, 1 month ago (2014-10-28 06:56:09 UTC) #6
Yoyo Zhou
LGTM https://chromiumcodereview.appspot.com/636283004/diff/20001/chrome/browser/ui/cocoa/extensions/browser_actions_container_view.mm File chrome/browser/ui/cocoa/extensions/browser_actions_container_view.mm (right): https://chromiumcodereview.appspot.com/636283004/diff/20001/chrome/browser/ui/cocoa/extensions/browser_actions_container_view.mm#newcode18 chrome/browser/ui/cocoa/extensions/browser_actions_container_view.mm:18: NSString* const kBrowserActionContainerWillTranslateOnXNotification = Should this name be ...
6 years, 1 month ago (2014-10-29 21:17:10 UTC) #7
Robert Sesek
https://chromiumcodereview.appspot.com/636283004/diff/20001/chrome/browser/ui/cocoa/extensions/browser_actions_container_view.mm File chrome/browser/ui/cocoa/extensions/browser_actions_container_view.mm (right): https://chromiumcodereview.appspot.com/636283004/diff/20001/chrome/browser/ui/cocoa/extensions/browser_actions_container_view.mm#newcode18 chrome/browser/ui/cocoa/extensions/browser_actions_container_view.mm:18: NSString* const kBrowserActionContainerWillTranslateOnXNotification = On 2014/10/29 21:17:10, Yoyo Zhou ...
6 years, 1 month ago (2014-10-29 21:21:34 UTC) #8
Malcolm
Hi Robert&Yoyo, I updated the CL, following by your comments, thank you for reviewing it! ...
6 years, 1 month ago (2014-10-30 10:08:05 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/636283004/40001
6 years, 1 month ago (2014-10-30 10:09:36 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/21195)
6 years, 1 month ago (2014-10-30 10:12:52 UTC) #13
Malcolm
chromium_presubmit failed, I missed the LGTM frome OWNER. Robert, would you please review it again, ...
6 years, 1 month ago (2014-10-30 11:24:18 UTC) #14
Robert Sesek
LGTM
6 years, 1 month ago (2014-10-30 13:13:25 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/636283004/40001
6 years, 1 month ago (2014-10-31 01:26:10 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years, 1 month ago (2014-10-31 01:51:38 UTC) #18
commit-bot: I haz the power
6 years, 1 month ago (2014-10-31 01:52:35 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/e9cc4e8457ee68f6bbd621e0a2aea262343026ec
Cr-Commit-Position: refs/heads/master@{#302209}

Powered by Google App Engine
This is Rietveld 408576698