| Index: chrome/browser/ui/views/find_bar_view.h
|
| diff --git a/chrome/browser/ui/views/find_bar_view.h b/chrome/browser/ui/views/find_bar_view.h
|
| index 7f3e89928ab1b2e520e02c97ac67bd28d2954a6f..d4cdfa003810b09204416e0247337821b35f14e3 100644
|
| --- a/chrome/browser/ui/views/find_bar_view.h
|
| +++ b/chrome/browser/ui/views/find_bar_view.h
|
| @@ -87,7 +87,7 @@ class FindBarView : public DropdownBarView,
|
| // Update the appearance for the match count label.
|
| void UpdateMatchCountAppearance(bool no_match);
|
|
|
| - // Overridden from views::View.
|
| + // views::View:
|
| virtual void OnThemeChanged() OVERRIDE;
|
|
|
| // We use a hidden view to grab mouse clicks and bring focus to the find
|
| @@ -117,9 +117,16 @@ class FindBarView : public DropdownBarView,
|
| SearchTextfieldView();
|
| virtual ~SearchTextfieldView();
|
|
|
| - virtual void RequestFocus() OVERRIDE;
|
| + // views::View:
|
| + virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE;
|
| + virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE;
|
| +
|
| + // views::Textfield:
|
| + virtual void OnFocus() OVERRIDE;
|
|
|
| private:
|
| + bool select_all_on_focus_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(SearchTextfieldView);
|
| };
|
|
|
|
|