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

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

Issue 1423263004: [MD] Use programmatic rendering for omnibox chips (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/location_bar/content_setting_image_view.h
diff --git a/chrome/browser/ui/views/location_bar/content_setting_image_view.h b/chrome/browser/ui/views/location_bar/content_setting_image_view.h
index f68232fc2c1baa58401f3d208a7db741f4b6e24e..ec4c5b11f9f10daf2c683da8bdd23f40a36ce2b9 100644
--- a/chrome/browser/ui/views/location_bar/content_setting_image_view.h
+++ b/chrome/browser/ui/views/location_bar/content_setting_image_view.h
@@ -37,6 +37,7 @@ class ContentSettingImageView : public IconLabelBubbleView,
public gfx::AnimationDelegate,
public views::WidgetObserver {
public:
+ // TODO(estade): remove |text_color| because it isn't necessary for MD.
ContentSettingImageView(ContentSettingsType content_type,
LocationBarView* parent,
const gfx::FontList& font_list,
@@ -56,7 +57,9 @@ class ContentSettingImageView : public IconLabelBubbleView,
// intervening "stay open" period.
static const int kAnimationDurationMS;
- // IconLabelBubbleView::
+ // IconLabelBubbleView:
+ SkColor GetTextColor() const override;
+ SkColor GetBorderColor() const override;
bool ShouldShowBackground() const override;
double WidthMultiplier() const override;
« no previous file with comments | « chrome/app/theme/theme_resources.grd ('k') | chrome/browser/ui/views/location_bar/content_setting_image_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698