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

Unified Diff: chrome/browser/ui/views/location_bar/page_action_image_view.cc

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
« no previous file with comments | « chrome/browser/ui/views/browser_actions_container.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/location_bar/page_action_image_view.cc
===================================================================
--- chrome/browser/ui/views/location_bar/page_action_image_view.cc (revision 71520)
+++ chrome/browser/ui/views/location_bar/page_action_image_view.cc (working copy)
@@ -98,7 +98,8 @@
ExtensionPopup::BUBBLE_CHROME,
this); // ExtensionPopup::Observer
} else {
- ExtensionBrowserEventRouter::GetInstance()->PageActionExecuted(
+ ExtensionService* service = profile_->GetExtensionService();
+ service->browser_event_router()->PageActionExecuted(
profile_, page_action_->extension_id(), page_action_->id(),
current_tab_id_, current_url_.spec(), button);
}
« no previous file with comments | « chrome/browser/ui/views/browser_actions_container.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698