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

Unified Diff: chrome/common/extensions/extension_action.cc

Issue 276010: Remove the implicit wrench menu items for browser actions. (Closed)
Patch Set: Rebase Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/extension_action.cc
diff --git a/chrome/common/extensions/extension_action.cc b/chrome/common/extensions/extension_action.cc
index dee9eeddf3bfae3759e4c99f7e89a8e78ac26cc7..2d3291e8f8b0484461620db1bc08620926d45f6d 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() {
« no previous file with comments | « chrome/common/extensions/extension_action.h ('k') | chrome/renderer/resources/extension_process_bindings.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698