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

Issue 1105713002: [Extension Toolbar] Slide out overflowed actions for popups (Closed)

Created:
5 years, 8 months ago by Devlin
Modified:
5 years, 7 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, tfarina, 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

[Extension Toolbar] Slide out overflowed actions for popups Instead of using the wrench menu as an anchor for an overflowed action's popup, slide the action out onto the main toolbar for the duration of the popup, and then slide it back in when the popup closes. On Mac, do the same for context menus (since we can't open a menu-in-menu on mac). Known issue: - On Mac, if you right click on an action that has slid out to show its popup, it will slide back in (but the context menu still appears). This is fixable, but requires a bit of a refactor. BUG=479387 Committed: https://crrev.com/fb6edb44b47dfcb661608f4e33d776480c34bdac Cr-Commit-Position: refs/heads/master@{#327330}

Patch Set 1 : #

Total comments: 11

Patch Set 2 : #

Patch Set 3 : Latest master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+466 lines, -164 lines) Patch
M chrome/browser/ui/cocoa/extensions/browser_action_button.mm View 1 4 chunks +13 lines, -19 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/browser_action_test_util_mac.mm View 1 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/browser_actions_container_view.h View 1 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/extensions/browser_actions_container_view.mm View 1 3 chunks +25 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/browser_actions_controller.h View 1 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/extensions/browser_actions_controller.mm View 1 6 chunks +19 lines, -5 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/extension_action_platform_delegate_cocoa.h View 1 chunk +5 lines, -4 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/extension_action_platform_delegate_cocoa.mm View 2 chunks +14 lines, -15 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/extension_popup_controller.h View 1 chunk +7 lines, -6 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm View 7 chunks +13 lines, -24 lines 0 comments Download
M chrome/browser/ui/extensions/extension_action_platform_delegate.h View 1 chunk +10 lines, -10 lines 0 comments Download
M chrome/browser/ui/extensions/extension_action_view_controller.h View 4 chunks +21 lines, -8 lines 0 comments Download
M chrome/browser/ui/extensions/extension_action_view_controller.cc View 1 7 chunks +57 lines, -12 lines 0 comments Download
M chrome/browser/ui/toolbar/browser_actions_bar_browsertest.cc View 2 chunks +86 lines, -1 line 0 comments Download
M chrome/browser/ui/toolbar/component_toolbar_actions_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/toolbar/toolbar_actions_bar.h View 1 6 chunks +35 lines, -1 line 0 comments Download
M chrome/browser/ui/toolbar/toolbar_actions_bar.cc View 1 4 chunks +79 lines, -2 lines 0 comments Download
M chrome/browser/ui/toolbar/toolbar_actions_bar_unittest.cc View 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/extensions/extension_action_platform_delegate_views.h View 1 chunk +5 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/extensions/extension_action_platform_delegate_views.cc View 1 6 chunks +20 lines, -14 lines 0 comments Download
M chrome/browser/ui/views/extensions/extension_popup.h View 1 chunk +9 lines, -9 lines 0 comments Download
M chrome/browser/ui/views/extensions/extension_popup.cc View 1 4 chunks +19 lines, -19 lines 0 comments Download
M chrome/browser/ui/views/toolbar/browser_actions_container.cc View 4 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/toolbar/toolbar_view.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/toolbar/toolbar_view.cc View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (16 generated)
Devlin
And, here's the fun one. :) There are a few rough edges (but mostly just ...
5 years, 8 months ago (2015-04-25 00:04:12 UTC) #9
Finnur
> would appreciate a quick review to make sure I'm > not doing anything terribly ...
5 years, 8 months ago (2015-04-27 14:39:00 UTC) #10
Devlin
https://codereview.chromium.org/1105713002/diff/140001/chrome/browser/ui/toolbar/toolbar_actions_bar.h File chrome/browser/ui/toolbar/toolbar_actions_bar.h (right): https://codereview.chromium.org/1105713002/diff/140001/chrome/browser/ui/toolbar/toolbar_actions_bar.h#newcode139 chrome/browser/ui/toolbar/toolbar_actions_bar.h:139: void PopInAction(); On 2015/04/27 14:39:00, Finnur wrote: > nit: ...
5 years, 8 months ago (2015-04-28 00:35:57 UTC) #15
Devlin
+Avi for the cocoa.
5 years, 8 months ago (2015-04-28 00:36:09 UTC) #17
Avi (use Gerrit)
cocoa lgtm
5 years, 7 months ago (2015-04-28 15:47:16 UTC) #18
Devlin
+Scott for toolbar_view (one new method).
5 years, 7 months ago (2015-04-28 16:08:17 UTC) #20
sky
LGTM
5 years, 7 months ago (2015-04-28 16:56:07 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1105713002/260001
5 years, 7 months ago (2015-04-28 17:46:02 UTC) #24
commit-bot: I haz the power
Committed patchset #3 (id:260001)
5 years, 7 months ago (2015-04-28 18:23:26 UTC) #25
commit-bot: I haz the power
5 years, 7 months ago (2015-04-28 18:24:23 UTC) #26
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/fb6edb44b47dfcb661608f4e33d776480c34bdac
Cr-Commit-Position: refs/heads/master@{#327330}

Powered by Google App Engine
This is Rietveld 408576698