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

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

Issue 9479008: Re-factor location bar/toolbar code to get rid of the browser dependency. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win fix Created 8 years, 10 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/views/location_bar/ev_bubble_view.cc
diff --git a/chrome/browser/ui/views/location_bar/ev_bubble_view.cc b/chrome/browser/ui/views/location_bar/ev_bubble_view.cc
index 02288d7f38428a7d71678b9a48316a35fb2f16e7..45149f2dbe08984930f5280222ca91f10b698ae6 100644
--- a/chrome/browser/ui/views/location_bar/ev_bubble_view.cc
+++ b/chrome/browser/ui/views/location_bar/ev_bubble_view.cc
@@ -4,12 +4,16 @@
#include "chrome/browser/ui/views/location_bar/ev_bubble_view.h"
+#include "chrome/browser/ui/browser_show_actions.h"
+
EVBubbleView::EVBubbleView(const int background_images[],
int contained_image,
const SkColor& color,
- LocationBarView* location_bar)
+ LocationBarView* location_bar,
+ BrowserShowPageInfo* delegate)
: IconLabelBubbleView(background_images, contained_image, color),
- ALLOW_THIS_IN_INITIALIZER_LIST(click_handler_(this, location_bar)) {
+ ALLOW_THIS_IN_INITIALIZER_LIST(
+ click_handler_(this, location_bar, delegate)) {
SetElideInMiddle(true);
}

Powered by Google App Engine
This is Rietveld 408576698