OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "ui/views/controls/textfield/textfield_controller.h" | 5 #include "ui/views/controls/textfield/textfield_controller.h" |
6 | 6 |
| 7 #include "ui/base/dragdrop/drag_drop_types.h" |
| 8 |
7 namespace views { | 9 namespace views { |
8 | 10 |
| 11 int TextfieldController::OnDrop(const ui::OSExchangeData& data) { |
| 12 return ui::DragDropTypes::DRAG_NONE; |
| 13 } |
| 14 |
9 bool TextfieldController::IsCommandIdEnabled(int command_id) const { | 15 bool TextfieldController::IsCommandIdEnabled(int command_id) const { |
10 return false; | 16 return false; |
11 } | 17 } |
12 | 18 |
13 bool TextfieldController::IsItemForCommandIdDynamic(int command_id) const { | 19 bool TextfieldController::IsItemForCommandIdDynamic(int command_id) const { |
14 return false; | 20 return false; |
15 } | 21 } |
16 | 22 |
17 string16 TextfieldController::GetLabelForCommandId(int command_id) const { | 23 string16 TextfieldController::GetLabelForCommandId(int command_id) const { |
18 return string16(); | 24 return string16(); |
19 } | 25 } |
20 | 26 |
21 bool TextfieldController::HandlesCommand(int command_id) const { | 27 bool TextfieldController::HandlesCommand(int command_id) const { |
22 return false; | 28 return false; |
23 } | 29 } |
24 | 30 |
25 } // namespace views | 31 } // namespace views |
OLD | NEW |