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

Unified Diff: chrome/browser/views/shelf_item_dialog.h

Issue 115825: Move text_field.cc and rename the class to Textfield in preparation for porti... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 7 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/views/options/languages_page_view.cc ('k') | chrome/browser/views/shelf_item_dialog.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/shelf_item_dialog.h
===================================================================
--- chrome/browser/views/shelf_item_dialog.h (revision 17006)
+++ chrome/browser/views/shelf_item_dialog.h (working copy)
@@ -9,7 +9,7 @@
#include "chrome/browser/history/history.h"
#include "views/controls/button/native_button.h"
#include "views/controls/table/table_view.h"
-#include "views/controls/text_field.h"
+#include "views/controls/textfield/textfield.h"
#include "views/view.h"
#include "views/window/dialog_delegate.h"
#include "views/window/window.h"
@@ -42,7 +42,7 @@
////////////////////////////////////////////////////////////////////////////////
class ShelfItemDialog : public views::View,
public views::DialogDelegate,
- public views::TextField::Controller,
+ public views::Textfield::Controller,
public views::TableViewObserver {
public:
ShelfItemDialog(ShelfItemDialogDelegate* delegate,
@@ -66,10 +66,10 @@
virtual views::View* GetContentsView();
// TextField::Controller.
- virtual void ContentsChanged(views::TextField* sender,
+ virtual void ContentsChanged(views::Textfield* sender,
const std::wstring& new_contents);
- virtual bool HandleKeystroke(views::TextField* sender,
- const views::TextField::Keystroke& key) {
+ virtual bool HandleKeystroke(views::Textfield* sender,
+ const views::Textfield::Keystroke& key) {
return false;
}
@@ -102,10 +102,10 @@
Profile* profile_;
// URL Field.
- views::TextField* url_field_;
+ views::Textfield* url_field_;
// Title field. This is NULL if we're not showing the title.
- views::TextField* title_field_;
+ views::Textfield* title_field_;
// The table model.
scoped_ptr<PossibleURLModel> url_table_model_;
« no previous file with comments | « chrome/browser/views/options/languages_page_view.cc ('k') | chrome/browser/views/shelf_item_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698