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

Issue 276010: Remove the implicit wrench menu items for browser actions. (Closed)

Created:
11 years, 2 months ago by Aaron Boodman
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Remove the implicit wrench menu items for browser actions. Also, allow browser actions with no initial icons, and add some better tests. BUG=24379, 24671 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=29095

Patch Set 1 #

Patch Set 2 : Remove emacs backup file #

Total comments: 4

Patch Set 3 : erikkay comments #

Total comments: 3

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+259 lines, -270 lines) Patch
M chrome/app/chrome_dll_resource.h View 2 chunks +1 line, -8 lines 0 comments Download
M chrome/app/generated_resources.grd View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/browser.cc View 1 2 3 5 chunks +0 lines, -50 lines 0 comments Download
A chrome/browser/extensions/browser_action_apitest.cc View 1 2 1 chunk +86 lines, -0 lines 0 comments Download
D chrome/browser/extensions/browser_action_test.cc View 1 2 3 1 chunk +0 lines, -86 lines 0 comments Download
M chrome/browser/extensions/extension_apitest.h View 3 1 chunk +28 lines, -11 lines 0 comments Download
M chrome/browser/extensions/extension_apitest.cc View 3 3 chunks +33 lines, -36 lines 0 comments Download
M chrome/browser/extensions/extension_browser_actions_api.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/views/browser_actions_container.cc View 1 2 3 3 chunks +22 lines, -17 lines 0 comments Download
M chrome/browser/views/toolbar_view.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/views/toolbar_view.cc View 1 2 3 2 chunks +5 lines, -40 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/extension_action.h View 1 2 3 3 chunks +0 lines, -8 lines 0 comments Download
M chrome/common/extensions/extension_action.cc View 1 chunk +1 line, -4 lines 0 comments Download
M chrome/renderer/resources/extension_process_bindings.js View 2 chunks +7 lines, -6 lines 0 comments Download
A chrome/test/data/extensions/api_test/browser_action/background.html View 1 chunk +12 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/browser_action/icon.png View Binary file 0 comments Download
A chrome/test/data/extensions/api_test/browser_action/icon2.png View Binary file 0 comments Download
A chrome/test/data/extensions/api_test/browser_action/manifest.json View 1 chunk +12 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/browser_action/update.html View 1 2 1 chunk +14 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/browser_action_no_icon/background.html View 1 chunk +12 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/browser_action_no_icon/manifest.json View 1 chunk +11 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/browser_action_no_icon/update.html View 1 2 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Erik does not do reviews
http://codereview.chromium.org/276010/diff/44/3004 File chrome/browser/extensions/browser_action_apitest.cc (right): http://codereview.chromium.org/276010/diff/44/3004#newcode35 Line 35: ExtensionActionState* action_state = extension->browser_action_state(); Isn't this going to ...
11 years, 2 months ago (2009-10-13 23:18:28 UTC) #1
Erik does not do reviews
Talked a bit about this offline. Summary is that the racy behavior isn't what I ...
11 years, 2 months ago (2009-10-14 00:15:26 UTC) #2
Aaron Boodman
On 2009/10/13 23:18:28, Erik Kay wrote: > http://codereview.chromium.org/276010/diff/44/3004 > File chrome/browser/extensions/browser_action_apitest.cc (right): > > http://codereview.chromium.org/276010/diff/44/3004#newcode35 ...
11 years, 2 months ago (2009-10-14 01:20:52 UTC) #3
Erik does not do reviews
11 years, 2 months ago (2009-10-14 23:11:02 UTC) #4
I really like your abstraction here.  Much cleaner than what I had!

LGTM

http://codereview.chromium.org/276010/diff/4003/2008
File chrome/browser/extensions/extension_apitest.cc (right):

http://codereview.chromium.org/276010/diff/4003/2008#newcode62
Line 62: DCHECK(false);
NOTREACHED

http://codereview.chromium.org/276010/diff/4003/2009
File chrome/browser/extensions/extension_apitest.h (right):

http://codereview.chromium.org/276010/diff/4003/2009#newcode25
Line 25: // WaitUntilComplete() method.
I don't see this method anywhere.

http://codereview.chromium.org/276010/diff/4003/2009#newcode26
Line 26: class TestResultCatcher : public NotificationObserver {
Maybe this should have a more Extension-specific name?

Powered by Google App Engine
This is Rietveld 408576698