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

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

Issue 2554513002: Change |EnsureCaretInRect| to |EnsureCaretNotInRect|. (Closed)
Patch Set: Created 4 years 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_input_client.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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 109
110 bool DummyTextInputClient::ChangeTextDirectionAndLayoutAlignment( 110 bool DummyTextInputClient::ChangeTextDirectionAndLayoutAlignment(
111 base::i18n::TextDirection direction) { 111 base::i18n::TextDirection direction) {
112 return false; 112 return false;
113 } 113 }
114 114
115 void DummyTextInputClient::ExtendSelectionAndDelete(size_t before, 115 void DummyTextInputClient::ExtendSelectionAndDelete(size_t before,
116 size_t after) { 116 size_t after) {
117 } 117 }
118 118
119 void DummyTextInputClient::EnsureCaretInRect(const gfx::Rect& rect) { 119 void DummyTextInputClient::EnsureCaretNotInRect(const gfx::Rect& rect) {}
120 }
121 120
122 bool DummyTextInputClient::IsTextEditCommandEnabled( 121 bool DummyTextInputClient::IsTextEditCommandEnabled(
123 TextEditCommand command) const { 122 TextEditCommand command) const {
124 return false; 123 return false;
125 } 124 }
126 125
127 void DummyTextInputClient::SetTextEditCommandForNextKeyEvent( 126 void DummyTextInputClient::SetTextEditCommandForNextKeyEvent(
128 TextEditCommand command) {} 127 TextEditCommand command) {}
129 128
130 } // namespace ui 129 } // namespace ui
OLDNEW
« no previous file with comments | « ui/base/ime/dummy_text_input_client.h ('k') | ui/base/ime/text_input_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698