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

Unified Diff: chrome/browser/extensions/api/extension_action/extension_action_api.h

Issue 495193004: Remove extra from deprecated pageActions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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/browser/extensions/api/extension_action/extension_action_api.h
diff --git a/chrome/browser/extensions/api/extension_action/extension_action_api.h b/chrome/browser/extensions/api/extension_action/extension_action_api.h
index de614f84407ac447783b77f5aba49cc7f89a8e88..dd88f6ffd9b2b4b74cc6dcef70eb2754ec7ed0c5 100644
--- a/chrome/browser/extensions/api/extension_action/extension_action_api.h
+++ b/chrome/browser/extensions/api/extension_action/extension_action_api.h
@@ -99,16 +99,6 @@ class ExtensionActionAPI : public BrowserContextKeyedAPI {
const std::string& event_name,
scoped_ptr<base::ListValue> event_args);
- // Called to dispatch a deprecated style page action click event that was
- // registered like:
- // chrome.pageActions["name"].addListener(function(actionId, info){})
- static void DispatchOldPageActionEvent(content::BrowserContext* context,
- const std::string& extension_id,
- const std::string& page_action_id,
- int tab_id,
- const std::string& url,
- int button);
-
// Called when either a browser or page action is executed. Figures out which
// event to send based on what the extension wants.
static void ExtensionActionExecuted(content::BrowserContext* context,

Powered by Google App Engine
This is Rietveld 408576698