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

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

Issue 11360144: Converts some of the omnibox related classes to support multiple (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win_initialized Created 8 years, 1 month 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/keyword_hint_view.h
diff --git a/chrome/browser/ui/views/location_bar/keyword_hint_view.h b/chrome/browser/ui/views/location_bar/keyword_hint_view.h
index fd81889e3d2dc7e22c0d1e3316b81c79af8083b0..d3fc3bf5b08f7b0c11dd70aa05087923df768575 100644
--- a/chrome/browser/ui/views/location_bar/keyword_hint_view.h
+++ b/chrome/browser/ui/views/location_bar/keyword_hint_view.h
@@ -11,9 +11,12 @@
#include "ui/gfx/size.h"
#include "ui/views/view.h"
+class LocationBarView;
+
namespace gfx {
class Font;
}
+
class Profile;
namespace views {
class Label;
@@ -29,7 +32,7 @@ class Label;
// couldn't bring myself to use such a long name.
class KeywordHintView : public views::View {
public:
- explicit KeywordHintView(Profile* profile);
+ KeywordHintView(Profile* profile, const LocationBarView* location_bar_view);
virtual ~KeywordHintView();
void SetFont(const gfx::Font& font);
@@ -44,7 +47,7 @@ class KeywordHintView : public views::View {
virtual void Layout() OVERRIDE;
private:
- views::Label* CreateLabel();
+ views::Label* CreateLabel(const LocationBarView* location_bar_view);
views::Label* leading_label_;
views::Label* trailing_label_;
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | chrome/browser/ui/views/location_bar/keyword_hint_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698