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

Unified Diff: chrome/browser/ui/cocoa/extensions/browser_actions_controller.mm

Issue 6125003: Make ExtensionBrowserEventRouter owned by ExtensionService.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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/ui/cocoa/extensions/browser_actions_controller.mm
===================================================================
--- chrome/browser/ui/cocoa/extensions/browser_actions_controller.mm (revision 71520)
+++ chrome/browser/ui/cocoa/extensions/browser_actions_controller.mm (working copy)
@@ -741,7 +741,8 @@
arrowLocation:info_bubble::kTopRight
devMode:NO];
} else {
- ExtensionBrowserEventRouter::GetInstance()->BrowserActionExecuted(
+ ExtensionService* service = profile_->GetExtensionService();
+ service->browser_event_router()->BrowserActionExecuted(
profile_, action->extension_id(), browser_);
}
}
« no previous file with comments | « chrome/browser/extensions/page_action_apitest.cc ('k') | chrome/browser/ui/cocoa/location_bar/page_action_decoration.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698