| 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 9cd3f2ec924b5935918aec97bcfb78b3010d797a..650c183d0d28e4db01ee85870b0ef79c633f9cc4 100644
|
| --- a/chrome/browser/ui/views/location_bar/location_bar_view.h
|
| +++ b/chrome/browser/ui/views/location_bar/location_bar_view.h
|
| @@ -223,6 +223,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;
|
| @@ -476,6 +480,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);
|
| };
|
|
|
|
|