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

Unified Diff: chrome/browser/ui/views/location_bar/click_handler.h

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/click_handler.h
diff --git a/chrome/browser/ui/views/location_bar/click_handler.h b/chrome/browser/ui/views/location_bar/click_handler.h
index ce7dc322b632489726be9e08fefe615536b99012..5a9c400d1c84a892107da9e22bcd622e387b6e47 100644
--- a/chrome/browser/ui/views/location_bar/click_handler.h
+++ b/chrome/browser/ui/views/location_bar/click_handler.h
@@ -8,6 +8,7 @@
#include "base/basictypes.h"
+class BrowserShowPageInfo;
class LocationBarView;
namespace views {
@@ -19,16 +20,18 @@ class View;
// Info dialog on click, to encapsulate that logic in one place.
class ClickHandler {
public:
- ClickHandler(const views::View* owner, LocationBarView* location_bar);
+ ClickHandler(const views::View* owner,
+ LocationBarView* location_bar,
+ BrowserShowPageInfo* delegate);
sky 2012/02/29 22:41:10 Can this take LocationBarView::Delegate directly?
altimofeev 2012/03/01 10:05:39 I can expose the delegate. Indeed, it will decreas
void OnMouseReleased(const views::MouseEvent& event);
private:
const views::View* owner_;
LocationBarView* location_bar_;
+ BrowserShowPageInfo* delegate_;
DISALLOW_IMPLICIT_CONSTRUCTORS(ClickHandler);
};
#endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_CLICK_HANDLER_H_
-

Powered by Google App Engine
This is Rietveld 408576698