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

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: Final (??) Windows and GTK support 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 8e0ced59908a204f1ba6ac97079394321fa6749b..5b03838d17ffcbbc14f5085b04737bf25d2f8226 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.h
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.h
@@ -434,6 +434,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();

Powered by Google App Engine
This is Rietveld 408576698