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

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

Issue 2893573004: Simplify some code in c/b/u/views. (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/location_bar/keyword_hint_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/location_bar/keyword_hint_view.h
diff --git a/chrome/browser/ui/views/location_bar/keyword_hint_view.h b/chrome/browser/ui/views/location_bar/keyword_hint_view.h
index 8e044c085fa25120d472544742240c9411d747ac..43933895633503b0d994da99ec8db64891b3fcd4 100644
--- a/chrome/browser/ui/views/location_bar/keyword_hint_view.h
+++ b/chrome/browser/ui/views/location_bar/keyword_hint_view.h
@@ -37,7 +37,6 @@ class KeywordHintView : public views::CustomButton {
Profile* profile,
const gfx::FontList& font_list,
const gfx::FontList& chip_font_list,
- int chip_height,
SkColor text_color,
SkColor background_color);
~KeywordHintView() override;
@@ -60,11 +59,10 @@ class KeywordHintView : public views::CustomButton {
Profile* profile_;
views::Label* leading_label_;
- views::Label* chip_view_;
+ views::View* chip_container_;
+ views::Label* chip_label_;
views::Label* trailing_label_;
- int chip_view_height_;
-
base::string16 keyword_;
DISALLOW_COPY_AND_ASSIGN(KeywordHintView);
« no previous file with comments | « no previous file | chrome/browser/ui/views/location_bar/keyword_hint_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698