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

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

Issue 2024003002: Add GetTextDirection to ui::TextInputClient API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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_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 25 matching lines...) Expand all
36 } 36 }
37 37
38 TextInputType DummyTextInputClient::GetTextInputType() const { 38 TextInputType DummyTextInputClient::GetTextInputType() const {
39 return text_input_type_; 39 return text_input_type_;
40 } 40 }
41 41
42 TextInputMode DummyTextInputClient::GetTextInputMode() const { 42 TextInputMode DummyTextInputClient::GetTextInputMode() const {
43 return TEXT_INPUT_MODE_DEFAULT; 43 return TEXT_INPUT_MODE_DEFAULT;
44 } 44 }
45 45
46 base::i18n::TextDirection DummyTextInputClient::GetTextDirection() const {
47 return base::i18n::UNKNOWN_DIRECTION;
48 }
49
46 int DummyTextInputClient::GetTextInputFlags() const { 50 int DummyTextInputClient::GetTextInputFlags() const {
47 return 0; 51 return 0;
48 } 52 }
49 53
50 bool DummyTextInputClient::CanComposeInline() const { 54 bool DummyTextInputClient::CanComposeInline() const {
51 return false; 55 return false;
52 } 56 }
53 57
54 gfx::Rect DummyTextInputClient::GetCaretBounds() const { 58 gfx::Rect DummyTextInputClient::GetCaretBounds() const {
55 return gfx::Rect(); 59 return gfx::Rect();
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 } 110 }
107 111
108 bool DummyTextInputClient::IsEditCommandEnabled(int command_id) { 112 bool DummyTextInputClient::IsEditCommandEnabled(int command_id) {
109 return false; 113 return false;
110 } 114 }
111 115
112 void DummyTextInputClient::SetEditCommandForNextKeyEvent(int command_id) { 116 void DummyTextInputClient::SetEditCommandForNextKeyEvent(int command_id) {
113 } 117 }
114 118
115 } // namespace ui 119 } // 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