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

Issue 10378117: With enable-action-box add extensions to BrowserActionContainer only if they have preference kBrows… (Closed)

Created:
8 years, 7 months ago by yefimt
Modified:
8 years, 7 months ago
CC:
chromium-reviews, mihaip-chromium-reviews_chromium.org, not at google - send to devlin
Visibility:
Public.

Description

Added browser_action_pinned extension preference and modified BrowserActionContainer to show extensions based on it. BUG=125307 TEST=make sure you have extensions that show icon in browser action area; add --enable_action_box to command line; make sure browser doesn't show any extensions in browser actions area; go to extensions setting, try show/hide extensions Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=137081

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 8

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 10

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -27 lines) Patch
M chrome/browser/extensions/extension_context_menu_model.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_prefs.cc View 1 2 3 4 5 6 7 8 4 chunks +20 lines, -5 lines 0 comments Download
M chrome/browser/extensions/extension_service.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -9 lines 0 comments Download
M chrome/browser/extensions/extension_toolbar_model.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/extension_action_context_menu.mm View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/browser_actions_container_browsertest.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/extensions/extension_settings_handler.cc View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/common/extensions/extension_switch_utils.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension_switch_utils.cc View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
yefimt
8 years, 7 months ago (2012-05-11 23:37:09 UTC) #1
yefimt
8 years, 7 months ago (2012-05-14 18:01:26 UTC) #2
Aaron Boodman
It seems like it would be cleaner/easier to re-use the existing Get/SetBrowserActionVisibility methods, and the ...
8 years, 7 months ago (2012-05-14 18:36:17 UTC) #3
yefimt
http://codereview.chromium.org/10378117/diff/8002/chrome/browser/extensions/extension_prefs.cc File chrome/browser/extensions/extension_prefs.cc (right): http://codereview.chromium.org/10378117/diff/8002/chrome/browser/extensions/extension_prefs.cc#newcode118 chrome/browser/extensions/extension_prefs.cc:118: // Whether the browser action is visible in the ...
8 years, 7 months ago (2012-05-14 18:50:45 UTC) #4
yefimt
all done
8 years, 7 months ago (2012-05-14 19:34:39 UTC) #5
Aaron Boodman
http://codereview.chromium.org/10378117/diff/3003/chrome/browser/extensions/extension_prefs.cc File chrome/browser/extensions/extension_prefs.cc (right): http://codereview.chromium.org/10378117/diff/3003/chrome/browser/extensions/extension_prefs.cc#newcode1280 chrome/browser/extensions/extension_prefs.cc:1280: bool enable_action_box = command_line.HasSwitch(switches::kEnableActionBox); Nit: variable should not have ...
8 years, 7 months ago (2012-05-14 20:18:13 UTC) #6
yefimt
http://codereview.chromium.org/10378117/diff/3003/chrome/browser/extensions/extension_prefs.cc File chrome/browser/extensions/extension_prefs.cc (right): http://codereview.chromium.org/10378117/diff/3003/chrome/browser/extensions/extension_prefs.cc#newcode1280 chrome/browser/extensions/extension_prefs.cc:1280: bool enable_action_box = command_line.HasSwitch(switches::kEnableActionBox); On 2012/05/14 20:18:13, Aaron Boodman ...
8 years, 7 months ago (2012-05-14 21:07:36 UTC) #7
Aaron Boodman
LGTM
8 years, 7 months ago (2012-05-14 21:14:52 UTC) #8
Aaron Boodman
+jhawkins for webui
8 years, 7 months ago (2012-05-14 21:15:41 UTC) #9
James Hawkins
webui LGTM
8 years, 7 months ago (2012-05-14 21:44:35 UTC) #10
yefimt
+asvitkine for cocoa
8 years, 7 months ago (2012-05-15 00:09:19 UTC) #11
yefimt
+ sky@ for chrome/browser/ui/views/browser_actions_container_browsertest.cc
8 years, 7 months ago (2012-05-15 00:12:54 UTC) #12
sky
LGTM
8 years, 7 months ago (2012-05-15 00:20:58 UTC) #13
Alexei Svitkine (slow)
cocoa/ LGTM Please add BUG= and TEST= lines to your CL description and fix the ...
8 years, 7 months ago (2012-05-15 00:24:32 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yefim@chromium.org/10378117/6018
8 years, 7 months ago (2012-05-15 03:09:25 UTC) #15
Aaron Boodman
cc:kalman Yefim, kalman@ is also working on (a different aspect of) the UI. Can you ...
8 years, 7 months ago (2012-05-15 03:30:16 UTC) #16
commit-bot: I haz the power
8 years, 7 months ago (2012-05-15 05:21:34 UTC) #17
Change committed as 137081

Powered by Google App Engine
This is Rietveld 408576698