summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/extension_action.cc
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-15 06:07:38 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-15 06:07:38 +0000
commit15294d803ac17bb5355076c90ddbecca983985a8 (patch)
tree4d8a0f1a95daf85c51420bfa41984becad28e12c /chrome/common/extensions/extension_action.cc
parent66ff7356a381d6c8c6c3272b095938408c4f3188 (diff)
downloadchromium_src-15294d803ac17bb5355076c90ddbecca983985a8.zip
chromium_src-15294d803ac17bb5355076c90ddbecca983985a8.tar.gz
chromium_src-15294d803ac17bb5355076c90ddbecca983985a8.tar.bz2
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 Review URL: http://codereview.chromium.org/276010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29095 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/extension_action.cc')
-rw-r--r--chrome/common/extensions/extension_action.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/chrome/common/extensions/extension_action.cc b/chrome/common/extensions/extension_action.cc
index dee9eed..2d3291e 100644
--- a/chrome/common/extensions/extension_action.cc
+++ b/chrome/common/extensions/extension_action.cc
@@ -2,13 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/app/chrome_dll_resource.h"
#include "chrome/common/extensions/extension_action.h"
-int ExtensionAction::next_command_id_ = IDC_BROWSER_ACTION_FIRST;
-
ExtensionAction::ExtensionAction()
- : type_(PAGE_ACTION), command_id_(next_command_id_++) {
+ : type_(PAGE_ACTION) {
}
ExtensionAction::~ExtensionAction() {