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

Unified Diff: chrome/browser/gtk/location_bar_view_gtk.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
Index: chrome/browser/gtk/location_bar_view_gtk.cc
===================================================================
--- chrome/browser/gtk/location_bar_view_gtk.cc (revision 70913)
+++ chrome/browser/gtk/location_bar_view_gtk.cc (working copy)
@@ -4,7 +4,9 @@
#include "chrome/browser/gtk/location_bar_view_gtk.h"
+#include <algorithm>
Erik does not do reviews 2011/01/12 00:31:54 why did these get added?
asargent_no_longer_on_chrome 2011/01/13 21:34:07 Same deal here - just cleanup of gcl lint while I'
#include <string>
+#include <vector>
#include "app/gtk_dnd_util.h"
#include "app/l10n_util.h"
@@ -1503,7 +1505,8 @@
GdkEvent* event) {
if (event->button.button != 3) {
if (!ShowPopup(false)) {
- ExtensionBrowserEventRouter::GetInstance()->PageActionExecuted(
+ ExtensionService* service = profile_->GetExtensionService();
+ service->browser_event_router()->PageActionExecuted(
profile_,
page_action_->extension_id(),
page_action_->id(),

Powered by Google App Engine
This is Rietveld 408576698