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

Issue 602613003: Fix three small bugs in BrowserActionsContainer (Closed)

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

Description

Fix three small bugs in BrowserActionsContainer There are three subtle bugs that appear when using the redesign that this fixes: 1. You can drag the container to be only 3 pixels wide, but then it expands back to 6 pixels wide. 2. Expanding the container enough to see an icon won't necessarily make the container "stick" with the icon visible. 3. The highlight painter should still be initialized for the main container with the redesign. Also tweak the function signature of IconCountToWidth(), and have it determine the need for a chevron. Committed: https://crrev.com/e544ac94dcfcd3ef43f06d412a4a56183080de19 Cr-Commit-Position: refs/heads/master@{#297946}

Patch Set 1 : #

Total comments: 10

Patch Set 2 : Peter's #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -36 lines) Patch
M chrome/browser/ui/views/toolbar/browser_actions_container.h View 1 2 chunks +9 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/toolbar/browser_actions_container.cc View 1 12 chunks +28 lines, -30 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
Devlin
Peter, mind taking a quick look?
6 years, 2 months ago (2014-10-02 21:44:14 UTC) #4
Peter Kasting
LGTM https://codereview.chromium.org/602613003/diff/40001/chrome/browser/ui/views/toolbar/browser_actions_container.cc File chrome/browser/ui/views/toolbar/browser_actions_container.cc (right): https://codereview.chromium.org/602613003/diff/40001/chrome/browser/ui/views/toolbar/browser_actions_container.cc#newcode363 chrome/browser/ui/views/toolbar/browser_actions_container.cc:363: // Subtract off the trailing padding. Should we ...
6 years, 2 months ago (2014-10-02 21:49:57 UTC) #5
Devlin
https://codereview.chromium.org/602613003/diff/40001/chrome/browser/ui/views/toolbar/browser_actions_container.cc File chrome/browser/ui/views/toolbar/browser_actions_container.cc (right): https://codereview.chromium.org/602613003/diff/40001/chrome/browser/ui/views/toolbar/browser_actions_container.cc#newcode363 chrome/browser/ui/views/toolbar/browser_actions_container.cc:363: // Subtract off the trailing padding. On 2014/10/02 21:49:56, ...
6 years, 2 months ago (2014-10-02 22:11: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/602613003/60001
6 years, 2 months ago (2014-10-02 22:13:18 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:60001) as a34e3ab31c9bc2d4f02f05078d6d0ecaa1e6565b
6 years, 2 months ago (2014-10-02 23:24:47 UTC) #9
commit-bot: I haz the power
6 years, 2 months ago (2014-10-02 23:26:14 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/e544ac94dcfcd3ef43f06d412a4a56183080de19
Cr-Commit-Position: refs/heads/master@{#297946}

Powered by Google App Engine
This is Rietveld 408576698