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

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

Issue 10957010: alternate ntp: focus border of omnibox in ntp (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed david's comments 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..dc80a45ece6800d7c336e67764949c080507ef56 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.h
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.h
@@ -486,7 +486,10 @@ class LocationBarView : public LocationBar,
gfx::Font font_;
// An object used to paint the normal-mode background.
- scoped_ptr<views::Painter> painter_;
+ scoped_ptr<views::Painter> background_painter_;
+
+ // An object used to paint the focus border when search mode is |NTP|.
+ scoped_ptr<views::Painter> search_focus_painter_;
// An icon to the left of the edit field.
LocationIconView* location_icon_view_;

Powered by Google App Engine
This is Rietveld 408576698