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

Side by Side Diff: ui/base/ime/dummy_text_input_client.cc

Issue 2027133002: Modify ui::TextInputClient to use ui::TextEditCommand enum in place of resource ids. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@refactor4_up_down_mac
Patch Set: Address review comments. Created 4 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
« no previous file with comments | « ui/base/ime/dummy_text_input_client.h ('k') | ui/base/ime/text_edit_commands.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/base/ime/dummy_text_input_client.h" 5 #include "ui/base/ime/dummy_text_input_client.h"
6 #include "ui/events/event.h" 6 #include "ui/events/event.h"
7 #include "ui/gfx/geometry/rect.h" 7 #include "ui/gfx/geometry/rect.h"
8 8
9 namespace ui { 9 namespace ui {
10 10
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 return false; 98 return false;
99 } 99 }
100 100
101 void DummyTextInputClient::ExtendSelectionAndDelete(size_t before, 101 void DummyTextInputClient::ExtendSelectionAndDelete(size_t before,
102 size_t after) { 102 size_t after) {
103 } 103 }
104 104
105 void DummyTextInputClient::EnsureCaretInRect(const gfx::Rect& rect) { 105 void DummyTextInputClient::EnsureCaretInRect(const gfx::Rect& rect) {
106 } 106 }
107 107
108 bool DummyTextInputClient::IsEditCommandEnabled(int command_id) const { 108 bool DummyTextInputClient::IsTextEditCommandEnabled(
109 TextEditCommand command) const {
109 return false; 110 return false;
110 } 111 }
111 112
112 void DummyTextInputClient::SetEditCommandForNextKeyEvent(int command_id) { 113 void DummyTextInputClient::SetTextEditCommandForNextKeyEvent(
113 } 114 TextEditCommand command) {}
114 115
115 } // namespace ui 116 } // namespace ui
OLDNEW
« no previous file with comments | « ui/base/ime/dummy_text_input_client.h ('k') | ui/base/ime/text_edit_commands.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698