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

Side by Side Diff: ui/views/controls/textfield/textfield_controller.cc

Issue 15841009: Delays find-in-page until IME composition is committed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Synced. Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/views/controls/textfield/textfield_controller.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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" 7 #include "ui/base/dragdrop/drag_drop_types.h"
8 #include "ui/base/events/event.h" 8 #include "ui/base/events/event.h"
9 9
10 namespace views { 10 namespace views {
11 11
12 bool TextfieldController::HandleKeyEvent(Textfield* sender,
13 const ui::KeyEvent& key_event) {
14 return false;
15 }
16
12 bool TextfieldController::HandleMouseEvent(Textfield* sender, 17 bool TextfieldController::HandleMouseEvent(Textfield* sender,
13 const ui::MouseEvent& mouse_event) { 18 const ui::MouseEvent& mouse_event) {
14 return false; 19 return false;
15 } 20 }
16 21
17 int TextfieldController::OnDrop(const ui::OSExchangeData& data) { 22 int TextfieldController::OnDrop(const ui::OSExchangeData& data) {
18 return ui::DragDropTypes::DRAG_NONE; 23 return ui::DragDropTypes::DRAG_NONE;
19 } 24 }
20 25
21 bool TextfieldController::IsCommandIdEnabled(int command_id) const { 26 bool TextfieldController::IsCommandIdEnabled(int command_id) const {
22 return false; 27 return false;
23 } 28 }
24 29
25 bool TextfieldController::IsItemForCommandIdDynamic(int command_id) const { 30 bool TextfieldController::IsItemForCommandIdDynamic(int command_id) const {
26 return false; 31 return false;
27 } 32 }
28 33
29 string16 TextfieldController::GetLabelForCommandId(int command_id) const { 34 string16 TextfieldController::GetLabelForCommandId(int command_id) const {
30 return string16(); 35 return string16();
31 } 36 }
32 37
33 bool TextfieldController::HandlesCommand(int command_id) const { 38 bool TextfieldController::HandlesCommand(int command_id) const {
34 return false; 39 return false;
35 } 40 }
36 41
37 } // namespace views 42 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/controls/textfield/textfield_controller.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698