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

Issue 1086973004: [Extensions Mac] Implement developer mode warning on mac (Closed)

Created:
5 years, 8 months ago by Devlin
Modified:
5 years, 8 months ago
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] Implement developer mode warning on mac Implement the developer mode warning on mac. Instead of creating yet-another-bubble-class, refactor the bubble we used for the toolbar redesign. This includes: - Expanding ToolbarActionsBarBubbleDelegate. - Moving the logic for showing the redesign bubble into a new class. - Updating the redesign bubble to have a more flexible UI (and renaming it to ToolbarActionsBarBubble). Hook up the ToolbarActionsBarBubble for use with ExtensionMessageBubbles, and implement the highlighting on the toolbar. Note that this does *not* turn the feature on for mac. TBR=benwells@chromium.org (OWNERS file change) BUG=474092 Committed: https://crrev.com/b6e393967429379375c0a92973f0f367c29500de Cr-Commit-Position: refs/heads/master@{#325549}

Patch Set 1 : #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : Finnur's #

Total comments: 12

Patch Set 4 : Avi's #

Unified diffs Side-by-side diffs Delta from patch set Stats (+978 lines, -625 lines) Patch
M chrome/browser/extensions/extension_message_bubble.h View 1 2 3 1 chunk +5 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/browser_actions_container_view.h View 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/browser_actions_container_view.mm View 3 chunks +18 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/browser_actions_controller.mm View 7 chunks +42 lines, -12 lines 0 comments Download
A chrome/browser/ui/cocoa/extensions/extension_message_bubble_bridge.h View 1 chunk +54 lines, -0 lines 0 comments Download
A chrome/browser/ui/cocoa/extensions/extension_message_bubble_bridge.mm View 1 chunk +65 lines, -0 lines 0 comments Download
D chrome/browser/ui/cocoa/extensions/extension_toolbar_icon_surfacing_bubble_mac.h View 1 chunk +0 lines, -29 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/extension_toolbar_icon_surfacing_bubble_mac.mm View 1 chunk +0 lines, -232 lines 0 comments Download
D chrome/browser/ui/cocoa/extensions/extension_toolbar_icon_surfacing_bubble_mac_unittest.mm View 1 chunk +0 lines, -149 lines 0 comments Download
A chrome/browser/ui/cocoa/extensions/toolbar_actions_bar_bubble_mac.h View 1 chunk +48 lines, -0 lines 0 comments Download
A + chrome/browser/ui/cocoa/extensions/toolbar_actions_bar_bubble_mac.mm View 1 2 3 7 chunks +173 lines, -64 lines 0 comments Download
A chrome/browser/ui/cocoa/extensions/toolbar_actions_bar_bubble_mac_unittest.mm View 1 2 1 chunk +190 lines, -0 lines 0 comments Download
M chrome/browser/ui/extensions/OWNERS View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
A chrome/browser/ui/extensions/extension_toolbar_icon_surfacing_bubble_delegate.h View 1 chunk +39 lines, -0 lines 0 comments Download
A chrome/browser/ui/extensions/extension_toolbar_icon_surfacing_bubble_delegate.cc View 1 chunk +102 lines, -0 lines 0 comments Download
A chrome/browser/ui/toolbar/test_toolbar_actions_bar_bubble_delegate.h View 1 2 1 chunk +57 lines, -0 lines 0 comments Download
A chrome/browser/ui/toolbar/test_toolbar_actions_bar_bubble_delegate.cc View 1 chunk +58 lines, -0 lines 0 comments Download
M chrome/browser/ui/toolbar/toolbar_actions_bar.h View 3 chunks +1 line, -9 lines 0 comments Download
M chrome/browser/ui/toolbar/toolbar_actions_bar.cc View 2 chunks +0 lines, -46 lines 0 comments Download
M chrome/browser/ui/toolbar/toolbar_actions_bar_bubble_delegate.h View 1 chunk +33 lines, -6 lines 0 comments Download
M chrome/browser/ui/toolbar/toolbar_actions_bar_unittest.cc View 3 chunks +22 lines, -13 lines 0 comments Download
M chrome/browser/ui/views/extensions/extension_toolbar_icon_surfacing_bubble_views.h View 1 chunk +7 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/extensions/extension_toolbar_icon_surfacing_bubble_views.cc View 1 7 chunks +12 lines, -15 lines 0 comments Download
M chrome/browser/ui/views/extensions/extension_toolbar_icon_surfacing_bubble_views_unittest.cc View 1 4 chunks +24 lines, -37 lines 0 comments Download
M chrome/browser/ui/views/toolbar/browser_actions_container.cc View 2 chunks +8 lines, -4 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 4 chunks +8 lines, -4 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 21 (12 generated)
Devlin
Finnur, mind taking a look? (I'll have Avi take the cocoa.) Sorry about the size ...
5 years, 8 months ago (2015-04-16 00:05:34 UTC) #10
Finnur
You'll need someone to look over the Mac code but once the potentially accidental change ...
5 years, 8 months ago (2015-04-16 09:52:09 UTC) #11
Devlin
https://codereview.chromium.org/1086973004/diff/180001/chrome/browser/ui/extensions/extension_message_bubble_factory.cc File chrome/browser/ui/extensions/extension_message_bubble_factory.cc (right): https://codereview.chromium.org/1086973004/diff/180001/chrome/browser/ui/extensions/extension_message_bubble_factory.cc#newcode29 chrome/browser/ui/extensions/extension_message_bubble_factory.cc:29: bool g_enabled = true; On 2015/04/16 09:52:09, Finnur wrote: ...
5 years, 8 months ago (2015-04-16 15:59:51 UTC) #12
Devlin
Avi, mind taking a look at the Cocoa? https://codereview.chromium.org/1086973004/diff/200001/chrome/browser/ui/cocoa/extensions/browser_actions_container_view.mm File chrome/browser/ui/cocoa/extensions/browser_actions_container_view.mm (right): https://codereview.chromium.org/1086973004/diff/200001/chrome/browser/ui/cocoa/extensions/browser_actions_container_view.mm#newcode79 chrome/browser/ui/cocoa/extensions/browser_actions_container_view.mm:79: ui::NinePartImageIds ...
5 years, 8 months ago (2015-04-16 16:02:38 UTC) #14
Avi (use Gerrit)
LGTM, just nits. https://codereview.chromium.org/1086973004/diff/200001/chrome/browser/extensions/extension_message_bubble.h File chrome/browser/extensions/extension_message_bubble.h (right): https://codereview.chromium.org/1086973004/diff/200001/chrome/browser/extensions/extension_message_bubble.h#newcode14 chrome/browser/extensions/extension_message_bubble.h:14: // The interface between the SuspiciousExtensionBubble ...
5 years, 8 months ago (2015-04-16 19:05:54 UTC) #15
Devlin
https://codereview.chromium.org/1086973004/diff/200001/chrome/browser/extensions/extension_message_bubble.h File chrome/browser/extensions/extension_message_bubble.h (right): https://codereview.chromium.org/1086973004/diff/200001/chrome/browser/extensions/extension_message_bubble.h#newcode14 chrome/browser/extensions/extension_message_bubble.h:14: // The interface between the SuspiciousExtensionBubble bubble and its ...
5 years, 8 months ago (2015-04-16 22:40:59 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1086973004/220001
5 years, 8 months ago (2015-04-16 22:42:47 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:220001)
5 years, 8 months ago (2015-04-16 23:28:55 UTC) #20
commit-bot: I haz the power
5 years, 8 months ago (2015-04-16 23:29:43 UTC) #21
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/b6e393967429379375c0a92973f0f367c29500de
Cr-Commit-Position: refs/heads/master@{#325549}

Powered by Google App Engine
This is Rietveld 408576698