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

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

Issue 11418229: alternate ntp: implement right-aligned search token (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: re-impl based on philippe's new layout design Created 7 years, 12 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/location_bar_view.h
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.h b/chrome/browser/ui/views/location_bar/location_bar_view.h
index 7ed5633bd4afe1e32ab3e5c91c61c205916d50ef..dd05766814d19e80785ba734454647135709a65b 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.h
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.h
@@ -44,6 +44,7 @@ class PageActionWithBadgeView;
class PageActionImageView;
class Profile;
class ScriptBubbleIconView;
+class SearchTokenView;
class SelectedKeywordView;
class StarView;
class TemplateURLService;
@@ -455,6 +456,11 @@ class LocationBarView : public LocationBar,
// Shown if the selected url has a corresponding keyword.
KeywordHintView* keyword_hint_view_;
+ // View responsible for showing text "<Search provider> Search", which appears
+ // when omnibox replaces the URL with its query terms and there's enough space
+ // in omnibox.
+ SearchTokenView* search_token_view_;
+
// The content setting views.
ContentSettingViews content_setting_views_;

Powered by Google App Engine
This is Rietveld 408576698