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

Issue 486022: Implement context menu for page and browser actions (Closed)

Created:
11 years ago by Finnur
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com, Aaron Boodman, Erik does not do reviews, pam+watch_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Add the right-click context menu for Browser actions and Page Actions. BUG=29538 TEST=Right-click an extension icon and make sure all the options work for both Page and Browser actions (Options should be grayed out when there is no Options page specified in the manifest). Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=34812

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 14

Patch Set 3 : '' #

Total comments: 8

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 1

Patch Set 6 : '' #

Total comments: 1

Patch Set 7 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+350 lines, -65 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/extensions/crx_installer.h View 3 4 5 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/extensions/crx_installer.cc View 3 4 5 2 chunks +2 lines, -39 lines 0 comments Download
A chrome/browser/extensions/extension_action_context_menu_model.h View 3 4 5 6 1 chunk +40 lines, -0 lines 0 comments Download
A chrome/browser/extensions/extension_action_context_menu_model.cc View 3 4 5 6 1 chunk +105 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_disabled_infobar_delegate.cc View 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extensions_ui.cc View 3 4 5 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/views/browser_actions_container.h View 1 2 4 chunks +12 lines, -4 lines 0 comments Download
M chrome/browser/views/browser_actions_container.cc View 1 2 5 chunks +27 lines, -8 lines 0 comments Download
A chrome/browser/views/extensions/extension_action_context_menu.h View 3 1 chunk +38 lines, -0 lines 0 comments Download
A chrome/browser/views/extensions/extension_action_context_menu.cc View 3 1 chunk +34 lines, -0 lines 0 comments Download
M chrome/browser/views/location_bar_view.h View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/views/location_bar_view.cc View 1 2 1 chunk +18 lines, -4 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension.h View 3 4 5 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension.cc View 3 4 5 2 chunks +45 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Finnur
Looks like I forgot to send it out... :/
11 years ago (2009-12-14 16:56:09 UTC) #1
Erik does not do reviews
http://codereview.chromium.org/486022/diff/1008/14 File chrome/browser/extensions/extension_action_context_menu.cc (right): http://codereview.chromium.org/486022/diff/1008/14#newcode30 chrome/browser/extensions/extension_action_context_menu.cc:30: kDisable, l10n_util::GetStringUTF16(IDS_EXTENSIONS_DISABLE)); I'm assuming that all of these strings ...
11 years ago (2009-12-15 01:30:36 UTC) #2
Finnur
Updated to address review comments. http://codereview.chromium.org/486022/diff/1008/14 File chrome/browser/extensions/extension_action_context_menu.cc (right): http://codereview.chromium.org/486022/diff/1008/14#newcode30 chrome/browser/extensions/extension_action_context_menu.cc:30: kDisable, l10n_util::GetStringUTF16(IDS_EXTENSIONS_DISABLE)); Yes, these ...
11 years ago (2009-12-16 23:39:11 UTC) #3
Erik does not do reviews
http://codereview.chromium.org/486022/diff/6001/7009 File chrome/browser/extensions/crx_installer.cc (right): http://codereview.chromium.org/486022/diff/6001/7009#newcode158 chrome/browser/extensions/crx_installer.cc:158: extension_->GetIconPath(Extension::EXTENSION_ICON_LARGE).GetFilePath(); why figure out the path here? do it ...
11 years ago (2009-12-17 00:34:51 UTC) #4
Finnur
http://codereview.chromium.org/486022/diff/6001/7014 File chrome/browser/extensions/extension_action_context_menu_model.cc (right): http://codereview.chromium.org/486022/diff/6001/7014#newcode38 chrome/browser/extensions/extension_action_context_menu_model.cc:38: if (locale == "en-US" || locale == "en-GB") There ...
11 years ago (2009-12-17 01:11:48 UTC) #5
Erik does not do reviews
11 years ago (2009-12-17 01:23:07 UTC) #6
LGTM

http://codereview.chromium.org/486022/diff/9012/8032
File chrome/browser/extensions/extension_action_context_menu_model.h (right):

http://codereview.chromium.org/486022/diff/9012/8032#newcode31
chrome/browser/extensions/extension_action_context_menu_model.h:31: enum
MenuEntries {
this should still be in the cc file, right?  (it's not used in the APIs)

Powered by Google App Engine
This is Rietveld 408576698