blob: e82579653cbfbca48ad907d3ba41e9c4855b63c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/controls/textfield/textfield_controller.h"
#include "ui/base/dragdrop/drag_drop_types.h"
#include "ui/events/event.h"
namespace views {
bool TextfieldController::HandleKeyEvent(Textfield* sender,
const ui::KeyEvent& key_event) {
return false;
}
bool TextfieldController::HandleMouseEvent(Textfield* sender,
const ui::MouseEvent& mouse_event) {
return false;
}
int TextfieldController::OnDrop(const ui::OSExchangeData& data) {
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
|