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

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

Issue 6628037: views: Moves TextfieldController/TextRange into their own headers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments 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
« no previous file with comments | « chrome/browser/ui/input_window_dialog_win.cc ('k') | chrome/browser/ui/views/autofill_profiles_view_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/autofill_profiles_view_win.h
diff --git a/chrome/browser/ui/views/autofill_profiles_view_win.h b/chrome/browser/ui/views/autofill_profiles_view_win.h
index 46cf02787228ea5080d064220242d75867f921eb..9e4d7762d3117f58623ef3ee157cf4e2675dc39b 100644
--- a/chrome/browser/ui/views/autofill_profiles_view_win.h
+++ b/chrome/browser/ui/views/autofill_profiles_view_win.h
@@ -22,7 +22,7 @@
#include "views/controls/combobox/combobox.h"
#include "views/controls/link.h"
#include "views/controls/table/table_view_observer.h"
-#include "views/controls/textfield/textfield.h"
+#include "views/controls/textfield/textfield_controller.h"
#include "views/focus/focus_manager.h"
#include "views/view.h"
#include "views/window/dialog_delegate.h"
@@ -249,7 +249,7 @@ class AutoFillProfilesView : public views::View,
class EditableSetViewContents : public views::View,
public views::DialogDelegate,
public views::ButtonListener,
- public views::Textfield::Controller,
+ public views::TextfieldController,
public views::Combobox::Listener {
public:
EditableSetViewContents(AutoFillProfilesView* observer,
@@ -258,13 +258,14 @@ class AutoFillProfilesView : public views::View,
virtual ~EditableSetViewContents() {}
protected:
- // views::View methods:
+ // views::View:
virtual void Layout();
virtual gfx::Size GetPreferredSize();
- virtual void ViewHierarchyChanged(bool is_add, views::View* parent,
+ virtual void ViewHierarchyChanged(bool is_add,
+ views::View* parent,
views::View* child);
- // views::DialogDelegate methods:
+ // views::DialogDelegate:
virtual int GetDialogButtons() const;
virtual std::wstring GetDialogButtonLabel(
MessageBoxFlags::DialogButton button) const;
@@ -280,11 +281,11 @@ class AutoFillProfilesView : public views::View,
virtual bool Cancel();
virtual bool Accept();
- // views::ButtonListener methods:
+ // views::ButtonListener:
virtual void ButtonPressed(views::Button* sender,
const views::Event& event);
- // views::Textfield::Controller methods:
+ // views::TextfieldController:
virtual void ContentsChanged(views::Textfield* sender,
const string16& new_contents);
virtual bool HandleKeyEvent(views::Textfield* sender,
« no previous file with comments | « chrome/browser/ui/input_window_dialog_win.cc ('k') | chrome/browser/ui/views/autofill_profiles_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698