Roll icu to 241739 and drop a version from icudt*dat
[chromium-blink-merge.git] / ui / views / controls / textfield / textfield_controller.cc
blobe82579653cbfbca48ad907d3ba41e9c4855b63c9
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
3 // found in the LICENSE file.
5 #include "ui/views/controls/textfield/textfield_controller.h"
7 #include "ui/base/dragdrop/drag_drop_types.h"
8 #include "ui/events/event.h"
10 namespace views {
12 bool TextfieldController::HandleKeyEvent(Textfield* sender,
13 const ui::KeyEvent& key_event) {
14 return false;
17 bool TextfieldController::HandleMouseEvent(Textfield* sender,
18 const ui::MouseEvent& mouse_event) {
19 return false;
22 int TextfieldController::OnDrop(const ui::OSExchangeData& data) {
23 return ui::DragDropTypes::DRAG_NONE;
26 bool TextfieldController::IsCommandIdEnabled(int command_id) const {
27 return false;
30 bool TextfieldController::IsItemForCommandIdDynamic(int command_id) const {
31 return false;
34 base::string16 TextfieldController::GetLabelForCommandId(int command_id) const {
35 return base::string16();
38 bool TextfieldController::HandlesCommand(int command_id) const {
39 return false;
42 } // namespace views