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

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: addressed nits from peter Created 7 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/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..e59a713931ff79440060b3df846faec8c077e2b9 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.h
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.h
@@ -38,6 +38,7 @@ class ExtensionAction;
class GURL;
class InstantController;
class KeywordHintView;
+class LocationBarSeparatorView;
class LocationIconView;
class OpenPDFInReaderView;
class PageActionWithBadgeView;
@@ -455,6 +456,12 @@ 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.
+ views::Label* search_token_view_;
+ LocationBarSeparatorView* search_token_separator_view_;
+
// The content setting views.
ContentSettingViews content_setting_views_;

Powered by Google App Engine
This is Rietveld 408576698