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

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

Issue 10834279: Give request-to-act badges a grey background, and increase spacing to make it fit. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Call the right superclass method Created 8 years, 3 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 c1ad32ff6dbe16ebb318a6e3e0518895145d3837..aa68e21bd9fd59546bb4b700c473b7ab20d07074 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.h
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.h
@@ -437,6 +437,10 @@ class LocationBarView : public LocationBar,
void PaintActionBoxBackground(gfx::Canvas* canvas,
const gfx::Rect& content_rect);
+ // Draw backgrounds and borders for page actions. Must be called
+ // after layout, so the |page_action_views_| have their bounds.
+ void PaintPageActionBackgrounds(gfx::Canvas* canvas);
+
#if defined(USE_AURA)
// Fade in the location bar view so the icons come in gradually.
void StartFadeAnimation();
« no previous file with comments | « chrome/browser/ui/omnibox/location_bar_util.cc ('k') | chrome/browser/ui/views/location_bar/location_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698