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

Unified Diff: ui/views/controls/textfield/textfield_controller.cc

Issue 135813002: Revert of Merge NativeTextfieldViews into views::Textfield. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
Index: ui/views/controls/textfield/textfield_controller.cc
diff --git a/ui/views/controls/textfield/textfield_controller.cc b/ui/views/controls/textfield/textfield_controller.cc
index 1d90f3c06df26e2a424d6d7f855530ad542ea6ae..e82579653cbfbca48ad907d3ba41e9c4855b63c9 100644
--- a/ui/views/controls/textfield/textfield_controller.cc
+++ b/ui/views/controls/textfield/textfield_controller.cc
@@ -23,4 +23,20 @@
return ui::DragDropTypes::DRAG_NONE;
}
+bool TextfieldController::IsCommandIdEnabled(int command_id) const {
+ return false;
+}
+
+bool TextfieldController::IsItemForCommandIdDynamic(int command_id) const {
+ return false;
+}
+
+base::string16 TextfieldController::GetLabelForCommandId(int command_id) const {
+ return base::string16();
+}
+
+bool TextfieldController::HandlesCommand(int command_id) const {
+ return false;
+}
+
} // namespace views
« no previous file with comments | « ui/views/controls/textfield/textfield_controller.h ('k') | ui/views/controls/textfield/textfield_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698