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

Issue 1265743003: [Extensions Mac UI] Fix more bugs in the action overflow container (Closed)

Created:
5 years, 4 months ago by Devlin
Modified:
5 years, 4 months ago
Reviewers:
Avi (use Gerrit)
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Extensions Mac UI] Fix more bugs in the action overflow container There were more layout bugs in the extension overflow container, stemming from improperly assigning frames to the buttons and from Cocoa's unwillingness to let us do fun things in the wrench menu (it tries to automatically resize before showing, forcing the overflow off the edge). Correct the logic for the former, and tweak the overflow bounds for the latter. Also add a interactive ui test to try and prevent us from regressing. BUG= Committed: https://crrev.com/48601123e83ec912c29f564e2692ef93c66fd933 Cr-Commit-Position: refs/heads/master@{#341426}

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+238 lines, -23 lines) Patch
M chrome/browser/ui/cocoa/extensions/browser_action_button_interactive_uitest.mm View 1 2 9 chunks +186 lines, -16 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/browser_actions_controller.mm View 2 chunks +18 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/wrench_menu/wrench_menu_controller.mm View 1 6 chunks +34 lines, -4 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
Devlin
Another one for you, Avi
5 years, 4 months ago (2015-07-29 23:31:36 UTC) #2
Avi (use Gerrit)
lgtm nits only https://codereview.chromium.org/1265743003/diff/1/chrome/browser/ui/cocoa/extensions/browser_action_button_interactive_uitest.mm File chrome/browser/ui/cocoa/extensions/browser_action_button_interactive_uitest.mm (right): https://codereview.chromium.org/1265743003/diff/1/chrome/browser/ui/cocoa/extensions/browser_action_button_interactive_uitest.mm#newcode41 chrome/browser/ui/cocoa/extensions/browser_action_button_interactive_uitest.mm:41: // An arbitrary high id so ...
5 years, 4 months ago (2015-07-30 02:50:35 UTC) #3
Devlin
So, apparently even though the original patch passes on OS X 10.10 (my local machine), ...
5 years, 4 months ago (2015-07-31 19:48:30 UTC) #6
Avi (use Gerrit)
lgtm I don't mind the hackery. https://codereview.chromium.org/1265743003/diff/60001/chrome/browser/ui/cocoa/extensions/browser_action_button_interactive_uitest.mm File chrome/browser/ui/cocoa/extensions/browser_action_button_interactive_uitest.mm (right): https://codereview.chromium.org/1265743003/diff/60001/chrome/browser/ui/cocoa/extensions/browser_action_button_interactive_uitest.mm#newcode47 chrome/browser/ui/cocoa/extensions/browser_action_button_interactive_uitest.mm:47: "to have increased ...
5 years, 4 months ago (2015-07-31 20:26:19 UTC) #7
Devlin
https://codereview.chromium.org/1265743003/diff/60001/chrome/browser/ui/cocoa/extensions/browser_action_button_interactive_uitest.mm File chrome/browser/ui/cocoa/extensions/browser_action_button_interactive_uitest.mm (right): https://codereview.chromium.org/1265743003/diff/60001/chrome/browser/ui/cocoa/extensions/browser_action_button_interactive_uitest.mm#newcode47 chrome/browser/ui/cocoa/extensions/browser_action_button_interactive_uitest.mm:47: "to have increased wewidthe"; On 2015/07/31 20:26:19, Avi wrote: ...
5 years, 4 months ago (2015-07-31 22:12:36 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1265743003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1265743003/80001
5 years, 4 months ago (2015-07-31 22:12:57 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:80001)
5 years, 4 months ago (2015-07-31 22:18:14 UTC) #12
commit-bot: I haz the power
5 years, 4 months ago (2015-07-31 22:18:59 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/48601123e83ec912c29f564e2692ef93c66fd933
Cr-Commit-Position: refs/heads/master@{#341426}

Powered by Google App Engine
This is Rietveld 408576698