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

Side by Side Diff: chrome/browser/ui/views/location_bar/keyword_hint_view.h

Issue 1416683003: MD: Implement tab button for location bar's tab to search message (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: better string Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_KEYWORD_HINT_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_KEYWORD_HINT_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_KEYWORD_HINT_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_KEYWORD_HINT_VIEW_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 gfx::Size GetMinimumSize() const override; 48 gfx::Size GetMinimumSize() const override;
49 void Layout() override; 49 void Layout() override;
50 const char* GetClassName() const override; 50 const char* GetClassName() const override;
51 51
52 views::Label* CreateLabel(const gfx::FontList& font_list, 52 views::Label* CreateLabel(const gfx::FontList& font_list,
53 SkColor text_color, 53 SkColor text_color,
54 SkColor background_color); 54 SkColor background_color);
55 55
56 Profile* profile_; 56 Profile* profile_;
57 views::Label* leading_label_; 57 views::Label* leading_label_;
58 views::ImageView* tab_image_; 58 views::View* tab_key_image_;
59 views::Label* trailing_label_; 59 views::Label* trailing_label_;
60 base::string16 keyword_; 60 base::string16 keyword_;
61 61
62 DISALLOW_COPY_AND_ASSIGN(KeywordHintView); 62 DISALLOW_COPY_AND_ASSIGN(KeywordHintView);
63 }; 63 };
64 64
65 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_KEYWORD_HINT_VIEW_H_ 65 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_KEYWORD_HINT_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698