summaryrefslogtreecommitdiff
path: root/chromium/ui/views/controls/textfield/textfield_controller.cc
blob: d9899d2e59a29e225214c1f79f6d4e6b500f0cf1 (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/base/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;
}

string16 TextfieldController::GetLabelForCommandId(int command_id) const {
  return string16();
}

bool TextfieldController::HandlesCommand(int command_id) const {
  return false;
}

}  // namespace views