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

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

Issue 6628037: views: Moves TextfieldController/TextRange into their own headers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix a typo Created 9 years, 9 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/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 646f13883cb57cdb95905f32a0d01447326939ca..55d103d3a74a25985ed16595626b40a5766c9b28 100644
--- a/chrome/browser/ui/views/find_bar_view.h
+++ b/chrome/browser/ui/views/find_bar_view.h
@@ -12,6 +12,7 @@
#include "ui/gfx/size.h"
#include "views/controls/button/button.h"
#include "views/controls/textfield/textfield.h"
sky 2011/03/09 17:02:33 Can you nuke the textfield include now?
tfarina 2011/03/09 17:31:06 No, we inherit from views::Textfield at line 114.
+#include "views/controls/textfield/textfield_controller.h"
class FindBarHost;
@@ -31,7 +32,7 @@ class View;
////////////////////////////////////////////////////////////////////////////////
class FindBarView : public DropdownBarView,
public views::ButtonListener,
- public views::Textfield::Controller {
+ public views::TextfieldController {
public:
// A tag denoting which button the user pressed.
enum ButtonTag {
@@ -64,7 +65,7 @@ class FindBarView : public DropdownBarView,
// Claims focus for the text field and selects its contents.
virtual void SetFocusAndSelection(bool select_all);
- // Overridden from views::View:
+ // views::View:
virtual void OnPaint(gfx::Canvas* canvas);
virtual void Layout();
virtual gfx::Size GetPreferredSize();
@@ -72,10 +73,10 @@ class FindBarView : public DropdownBarView,
views::View* parent,
views::View* child);
- // Overridden from views::ButtonListener:
+ // views::ButtonListener:
virtual void ButtonPressed(views::Button* sender, const views::Event& event);
- // Overridden from views::Textfield::Controller:
+ // views::TextfieldController:
virtual void ContentsChanged(views::Textfield* sender,
const string16& new_contents);
virtual bool HandleKeyEvent(views::Textfield* sender,

Powered by Google App Engine
This is Rietveld 408576698