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

Issue 1858773006: [Extensions UI] Use the ExtensionMessageBubbleBridge for Views platforms (Closed)

Created:
4 years, 8 months ago by Devlin
Modified:
4 years, 8 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

[Extensions UI] Use the ExtensionMessageBubbleBridge for Views platforms The ExtensionMessageBubbleBridge is a layer on top of an ExtensionMessageBubbleController that allows us to use it with a ToolbarActionsBarBubble. Use this same interface, which immediately allows us to remove ExtensionMessageBubbleController-specific methods in ToolbarActionsBar and it's platform-specific counterparts and makes both bubble showing flows follow the same path (easier to reason, less likely to conflict). As a next step, we can replace the ExtensionMessageBubbleView with the ToolbarActionsBarBubbleView, similar to what we have on mac, so that there's one less bubble to deal with. BUG=601975 TBR=sky@chromium.org (c/b/ui/views/settings_api_bubble_helper_views.cc, reviewed by Finnur) Committed: https://crrev.com/8befae922ea2ab1cc82b881dbb6bd91db852f51c Cr-Commit-Position: refs/heads/master@{#386565}

Patch Set 1 : #

Total comments: 1

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+262 lines, -327 lines) Patch
M chrome/browser/ui/cocoa/extensions/browser_actions_controller.mm View 1 6 chunks +25 lines, -61 lines 0 comments Download
D chrome/browser/ui/cocoa/extensions/extension_message_bubble_bridge.h View 1 chunk +0 lines, -48 lines 0 comments Download
D chrome/browser/ui/cocoa/extensions/extension_message_bubble_bridge.mm View 1 chunk +0 lines, -70 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/toolbar_actions_bar_bubble_mac.h View 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/toolbar_actions_bar_bubble_mac.mm View 4 chunks +8 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/toolbar_actions_bar_bubble_mac_unittest.mm View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/extensions/blocked_action_bubble_delegate.h View 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/ui/extensions/blocked_action_bubble_delegate.cc View 2 chunks +16 lines, -1 line 0 comments Download
A + chrome/browser/ui/extensions/extension_message_bubble_bridge.h View 3 chunks +9 lines, -12 lines 0 comments Download
A + chrome/browser/ui/extensions/extension_message_bubble_bridge.cc View 3 chunks +23 lines, -15 lines 0 comments Download
M chrome/browser/ui/extensions/extension_message_bubble_browsertest.cc View 1 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/toolbar/test_toolbar_actions_bar_bubble_delegate.h View 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/toolbar/test_toolbar_actions_bar_bubble_delegate.cc View 3 chunks +10 lines, -2 lines 0 comments Download
M chrome/browser/ui/toolbar/toolbar_actions_bar.h View 3 chunks +9 lines, -8 lines 0 comments Download
M chrome/browser/ui/toolbar/toolbar_actions_bar.cc View 4 chunks +27 lines, -28 lines 0 comments Download
M chrome/browser/ui/toolbar/toolbar_actions_bar_bubble_delegate.h View 2 chunks +15 lines, -1 line 0 comments Download
M chrome/browser/ui/toolbar/toolbar_actions_bar_delegate.h View 1 chunk +2 lines, -8 lines 0 comments Download
M chrome/browser/ui/views/extensions/extension_message_bubble_view.h View 4 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/extensions/extension_message_bubble_view.cc View 13 chunks +25 lines, -23 lines 0 comments Download
M chrome/browser/ui/views/settings_api_bubble_helper_views.cc View 1 3 chunks +7 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/toolbar/browser_actions_container.h View 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/toolbar/browser_actions_container.cc View 2 chunks +28 lines, -28 lines 0 comments Download
M chrome/browser/ui/views/toolbar/toolbar_actions_bar_bubble_views.h View 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/toolbar/toolbar_actions_bar_bubble_views.cc View 3 chunks +7 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/toolbar/toolbar_actions_bar_bubble_views_unittest.cc View 1 chunk +22 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 3 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 20 (12 generated)
Devlin
Finnur, mind taking a look? (I'll have Avi take the Cocoa once you've had a ...
4 years, 8 months ago (2016-04-09 01:29:20 UTC) #6
Devlin
+Finnur for real this time. :)
4 years, 8 months ago (2016-04-09 01:29:38 UTC) #8
Finnur
LGTM
4 years, 8 months ago (2016-04-11 10:01:50 UTC) #9
Devlin
+Avi for Cocoa.
4 years, 8 months ago (2016-04-11 17:37:32 UTC) #11
Avi (use Gerrit)
Cocoa lgtm
4 years, 8 months ago (2016-04-11 18:17:20 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1858773006/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1858773006/100001
4 years, 8 months ago (2016-04-12 00:57:42 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:100001)
4 years, 8 months ago (2016-04-12 03:19:41 UTC) #18
commit-bot: I haz the power
4 years, 8 months ago (2016-04-12 03:21:10 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/8befae922ea2ab1cc82b881dbb6bd91db852f51c
Cr-Commit-Position: refs/heads/master@{#386565}

Powered by Google App Engine
This is Rietveld 408576698