| 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 1f25de48eb7be5782a1bfb92495941bc60f5e084..45a3bf9d449920c618f244f74d87ef847df92408 100644
|
| --- a/chrome/browser/ui/views/location_bar/location_bar_view.h
|
| +++ b/chrome/browser/ui/views/location_bar/location_bar_view.h
|
| @@ -225,6 +225,10 @@ class LocationBarView : public LocationBar,
|
|
|
| const gfx::Font& font() const { return font_; }
|
|
|
| + // See description above field.
|
| + void set_view_to_focus(views::View* view) { view_to_focus_ = view; }
|
| + views::View* view_to_focus() { return view_to_focus_; }
|
| +
|
| #if defined(OS_WIN) && !defined(USE_AURA)
|
| // Event Handlers
|
| virtual bool OnMousePressed(const views::MouseEvent& event) OVERRIDE;
|
| @@ -478,6 +482,10 @@ class LocationBarView : public LocationBar,
|
| // Used to register for notifications received by NotificationObserver.
|
| content::NotificationRegistrar registrar_;
|
|
|
| + // The view to give focus to. This is either |this| or the
|
| + // LocationBarContainer.
|
| + views::View* view_to_focus_;
|
| +
|
| DISALLOW_IMPLICIT_CONSTRUCTORS(LocationBarView);
|
| };
|
|
|
|
|