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

Unified Diff: chrome/browser/ui/views/find_bar_view.h

Issue 6188005: This is an alternate CL to the fix in http://codereview.chromium.org/5553002. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 11 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
« no previous file with comments | « chrome/browser/ui/find_bar/find_bar_controller.cc ('k') | chrome/browser/ui/views/find_bar_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b535e023901e33c2c919787d5c9de92c69748f0b..2b743bd19267693d675ef12a7cac347864374a32 100644
--- a/chrome/browser/ui/views/find_bar_view.h
+++ b/chrome/browser/ui/views/find_bar_view.h
@@ -108,19 +108,6 @@ class FindBarView : public DropdownBarView,
DISALLOW_COPY_AND_ASSIGN(FocusForwarderView);
};
- // A wrapper of views::TextField that allows us to select all text when we
- // get focus. Represents the text field where the user enters a search term.
- class SearchTextfieldView : public views::Textfield {
- public:
- SearchTextfieldView();
- virtual ~SearchTextfieldView();
-
- virtual void RequestFocus();
-
- private:
- DISALLOW_COPY_AND_ASSIGN(SearchTextfieldView);
- };
-
// Returns the OS-specific view for the find bar that acts as an intermediary
// between us and the TabContentsView.
FindBarHost* find_bar_host() const;
@@ -135,7 +122,7 @@ class FindBarView : public DropdownBarView,
#endif
// The controls in the window.
- SearchTextfieldView* find_text_;
+ views::Textfield* find_text_;
views::Label* match_count_text_;
FocusForwarderView* focus_forwarder_view_;
views::ImageButton* find_previous_button_;
« no previous file with comments | « chrome/browser/ui/find_bar/find_bar_controller.cc ('k') | chrome/browser/ui/views/find_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698