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

Issue 1881773002: [Extensions UI] Convert ExtensionMessageBubbles to ToolbarActionsBarBubbles (Closed)

Created:
4 years, 8 months ago by Devlin
Modified:
4 years, 8 months ago
Reviewers:
Finnur, Evan Stade
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] Convert ExtensionMessageBubbles to ToolbarActionsBarBubbles Make ExtensionMessageBubbles use ToolbarActionsBarBubble on Views platforms (we already do this on mac). In addition to meaning one less bubble, the ToolbarActionsBarBubbleViews class is much more suited to unit testing, since it doesn't require the full extensions system to be in place. Also add more unit tests. TBR=sky@chromium.org (c/b/ui/views/settings_api_bubble_helper_views.cc, reviewed by Finnur) BUG=601975 Committed: https://crrev.com/5251920ddf61989a550ba9e49c8d1663a824a81f Cr-Commit-Position: refs/heads/master@{#387076}

Patch Set 1 : #

Total comments: 1

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+280 lines, -445 lines) Patch
M chrome/browser/extensions/extension_message_bubble_controller.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/extensions/blocked_action_bubble_delegate.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/extensions/blocked_action_bubble_delegate.cc View 1 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/ui/extensions/extension_message_bubble_bridge.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/extensions/extension_message_bubble_bridge.cc View 1 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/ui/extensions/extension_message_bubble_browsertest.cc View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/toolbar/test_toolbar_actions_bar_bubble_delegate.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/toolbar/toolbar_actions_bar.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/toolbar/toolbar_actions_bar.cc View 1 3 chunks +27 lines, -2 lines 0 comments Download
M chrome/browser/ui/toolbar/toolbar_actions_bar_bubble_delegate.h View 1 1 chunk +0 lines, -4 lines 0 comments Download
D chrome/browser/ui/views/extensions/extension_message_bubble_view.h View 1 chunk +0 lines, -88 lines 0 comments Download
D chrome/browser/ui/views/extensions/extension_message_bubble_view.cc View 1 chunk +0 lines, -239 lines 0 comments Download
M chrome/browser/ui/views/extensions/extension_message_bubble_view_browsertest.cc View 1 2 3 2 chunks +3 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/settings_api_bubble_helper_views.cc View 1 2 3 chunks +12 lines, -7 lines 0 comments Download
M chrome/browser/ui/views/toolbar/browser_actions_container.cc View 2 chunks +6 lines, -18 lines 0 comments Download
M chrome/browser/ui/views/toolbar/toolbar_actions_bar_bubble_views.h View 4 chunks +11 lines, -1 line 0 comments Download
M chrome/browser/ui/views/toolbar/toolbar_actions_bar_bubble_views.cc View 1 2 5 chunks +55 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/toolbar/toolbar_actions_bar_bubble_views_unittest.cc View 1 2 3 4 5 chunks +160 lines, -61 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (8 generated)
Evan Stade
https://codereview.chromium.org/1881773002/diff/20001/chrome/browser/ui/views/toolbar/toolbar_actions_bar_bubble_views.cc File chrome/browser/ui/views/toolbar/toolbar_actions_bar_bubble_views.cc (right): https://codereview.chromium.org/1881773002/diff/20001/chrome/browser/ui/views/toolbar/toolbar_actions_bar_bubble_views.cc#newcode95 chrome/browser/ui/views/toolbar/toolbar_actions_bar_bubble_views.cc:95: if (!item_list.empty()) { if https://codereview.chromium.org/1877143002/ lands first, you can ...
4 years, 8 months ago (2016-04-12 00:56:59 UTC) #2
Devlin
Finnur, mind taking a first look? I'll look into the mac failures (and possibly rebase ...
4 years, 8 months ago (2016-04-13 00:47:30 UTC) #5
Finnur
Neat. LGTM.
4 years, 8 months ago (2016-04-13 13:15:20 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1881773002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1881773002/100001
4 years, 8 months ago (2016-04-13 20:16:51 UTC) #10
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 8 months ago (2016-04-13 20:23:28 UTC) #12
commit-bot: I haz the power
4 years, 8 months ago (2016-04-13 20:25:57 UTC) #14
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/5251920ddf61989a550ba9e49c8d1663a824a81f
Cr-Commit-Position: refs/heads/master@{#387076}

Powered by Google App Engine
This is Rietveld 408576698