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

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: impl new design to handle separator in layout system 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..fffd5eb94a7a960bfbf84a9c1a0a2865b35b61cf 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.h
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -38,12 +38,14 @@ class ExtensionAction;
class GURL;
class InstantController;
class KeywordHintView;
+class LocationBarSeparatorView;
class LocationIconView;
class OpenPDFInReaderView;
class PageActionWithBadgeView;
class PageActionImageView;
class Profile;
class ScriptBubbleIconView;
+class SearchTokenView;
class SelectedKeywordView;
class StarView;
class TemplateURLService;
@@ -455,6 +457,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.
+ SearchTokenView* 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