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

Side by Side 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, 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 26 matching lines...) Expand all
37 class ExtensionAction; 37 class ExtensionAction;
38 class GURL; 38 class GURL;
39 class InstantController; 39 class InstantController;
40 class KeywordHintView; 40 class KeywordHintView;
41 class LocationIconView; 41 class LocationIconView;
42 class OpenPDFInReaderView; 42 class OpenPDFInReaderView;
43 class PageActionWithBadgeView; 43 class PageActionWithBadgeView;
44 class PageActionImageView; 44 class PageActionImageView;
45 class Profile; 45 class Profile;
46 class ScriptBubbleIconView; 46 class ScriptBubbleIconView;
47 class SearchTokenView;
47 class SelectedKeywordView; 48 class SelectedKeywordView;
48 class StarView; 49 class StarView;
49 class TemplateURLService; 50 class TemplateURLService;
50 class WebIntentsButtonView; 51 class WebIntentsButtonView;
51 class ZoomView; 52 class ZoomView;
52 53
53 namespace views { 54 namespace views {
54 class BubbleDelegateView; 55 class BubbleDelegateView;
55 class Label; 56 class Label;
56 class Widget; 57 class Widget;
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 // Shown if the user has selected a keyword. 449 // Shown if the user has selected a keyword.
449 SelectedKeywordView* selected_keyword_view_; 450 SelectedKeywordView* selected_keyword_view_;
450 451
451 // View responsible for showing suggested text. This is NULL when there is no 452 // View responsible for showing suggested text. This is NULL when there is no
452 // suggested text. 453 // suggested text.
453 views::Label* suggested_text_view_; 454 views::Label* suggested_text_view_;
454 455
455 // Shown if the selected url has a corresponding keyword. 456 // Shown if the selected url has a corresponding keyword.
456 KeywordHintView* keyword_hint_view_; 457 KeywordHintView* keyword_hint_view_;
457 458
459 // View responsible for showing text "<Search provider> Search", which appears
460 // when omnibox replaces the URL with its query terms and there's enough space
461 // in omnibox.
462 SearchTokenView* search_token_view_;
463
458 // The content setting views. 464 // The content setting views.
459 ContentSettingViews content_setting_views_; 465 ContentSettingViews content_setting_views_;
460 466
461 // The zoom icon. 467 // The zoom icon.
462 ZoomView* zoom_view_; 468 ZoomView* zoom_view_;
463 469
464 // The icon to open a PDF in Reader. 470 // The icon to open a PDF in Reader.
465 OpenPDFInReaderView* open_pdf_in_reader_view_; 471 OpenPDFInReaderView* open_pdf_in_reader_view_;
466 472
467 // The current page actions. 473 // The current page actions.
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
502 // in the right location. 508 // in the right location.
503 int animation_offset_; 509 int animation_offset_;
504 510
505 // Used to register for notifications received by NotificationObserver. 511 // Used to register for notifications received by NotificationObserver.
506 content::NotificationRegistrar registrar_; 512 content::NotificationRegistrar registrar_;
507 513
508 DISALLOW_IMPLICIT_CONSTRUCTORS(LocationBarView); 514 DISALLOW_IMPLICIT_CONSTRUCTORS(LocationBarView);
509 }; 515 };
510 516
511 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ 517 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698