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

Side by Side Diff: components/arc/ime/arc_ime_service.h

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 | « no previous file | components/arc/ime/arc_ime_service.cc » ('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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #ifndef COMPONENTS_ARC_IME_ARC_IME_SERVICE_H_ 5 #ifndef COMPONENTS_ARC_IME_ARC_IME_SERVICE_H_
6 #define COMPONENTS_ARC_IME_ARC_IME_SERVICE_H_ 6 #define COMPONENTS_ARC_IME_ARC_IME_SERVICE_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 void ClearCompositionText() override; 70 void ClearCompositionText() override;
71 void InsertText(const base::string16& text) override; 71 void InsertText(const base::string16& text) override;
72 void InsertChar(const ui::KeyEvent& event) override; 72 void InsertChar(const ui::KeyEvent& event) override;
73 ui::TextInputType GetTextInputType() const override; 73 ui::TextInputType GetTextInputType() const override;
74 gfx::Rect GetCaretBounds() const override; 74 gfx::Rect GetCaretBounds() const override;
75 75
76 // Overridden from ui::TextInputClient (with default implementation): 76 // Overridden from ui::TextInputClient (with default implementation):
77 // TODO(kinaba): Support each of these methods to the extent possible in 77 // TODO(kinaba): Support each of these methods to the extent possible in
78 // Android input method API. 78 // Android input method API.
79 ui::TextInputMode GetTextInputMode() const override; 79 ui::TextInputMode GetTextInputMode() const override;
80 base::i18n::TextDirection GetTextDirection() const override;
80 int GetTextInputFlags() const override; 81 int GetTextInputFlags() const override;
81 bool CanComposeInline() const override; 82 bool CanComposeInline() const override;
82 bool GetCompositionCharacterBounds(uint32_t index, 83 bool GetCompositionCharacterBounds(uint32_t index,
83 gfx::Rect* rect) const override; 84 gfx::Rect* rect) const override;
84 bool HasCompositionText() const override; 85 bool HasCompositionText() const override;
85 bool GetTextRange(gfx::Range* range) const override; 86 bool GetTextRange(gfx::Range* range) const override;
86 bool GetCompositionTextRange(gfx::Range* range) const override; 87 bool GetCompositionTextRange(gfx::Range* range) const override;
87 bool GetSelectionRange(gfx::Range* range) const override; 88 bool GetSelectionRange(gfx::Range* range) const override;
88 bool SetSelectionRange(const gfx::Range& range) override; 89 bool SetSelectionRange(const gfx::Range& range) override;
89 bool DeleteRange(const gfx::Range& range) override; 90 bool DeleteRange(const gfx::Range& range) override;
(...skipping 20 matching lines...) Expand all
110 aura::WindowTracker focused_arc_window_; 111 aura::WindowTracker focused_arc_window_;
111 112
112 ui::InputMethod* test_input_method_; 113 ui::InputMethod* test_input_method_;
113 114
114 DISALLOW_COPY_AND_ASSIGN(ArcImeService); 115 DISALLOW_COPY_AND_ASSIGN(ArcImeService);
115 }; 116 };
116 117
117 } // namespace arc 118 } // namespace arc
118 119
119 #endif // COMPONENTS_ARC_IME_ARC_IME_SERVICE_H_ 120 #endif // COMPONENTS_ARC_IME_ARC_IME_SERVICE_H_
OLDNEW
« no previous file with comments | « no previous file | components/arc/ime/arc_ime_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698