OLD | NEW |
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 #ifndef UI_BASE_IME_TEXT_INPUT_CLIENT_H_ | 5 #ifndef UI_BASE_IME_TEXT_INPUT_CLIENT_H_ |
6 #define UI_BASE_IME_TEXT_INPUT_CLIENT_H_ | 6 #define UI_BASE_IME_TEXT_INPUT_CLIENT_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/i18n/rtl.h" | 9 #include "base/i18n/rtl.h" |
10 #include "base/string16.h" | 10 #include "base/strings/string16.h" |
11 #include "ui/base/ime/composition_text.h" | 11 #include "ui/base/ime/composition_text.h" |
12 #include "ui/base/ime/text_input_type.h" | 12 #include "ui/base/ime/text_input_type.h" |
13 #include "ui/base/range/range.h" | 13 #include "ui/base/range/range.h" |
14 #include "ui/base/ui_export.h" | 14 #include "ui/base/ui_export.h" |
15 #include "ui/gfx/native_widget_types.h" | 15 #include "ui/gfx/native_widget_types.h" |
16 | 16 |
17 namespace gfx { | 17 namespace gfx { |
18 class Rect; | 18 class Rect; |
19 } | 19 } |
20 | 20 |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 virtual void ExtendSelectionAndDelete(size_t before, size_t after) = 0; | 138 virtual void ExtendSelectionAndDelete(size_t before, size_t after) = 0; |
139 | 139 |
140 // Ensure the caret is within |rect|. |rect| is in screen coordinates and | 140 // Ensure the caret is within |rect|. |rect| is in screen coordinates and |
141 // may extend beyond the bounds of this TextInputClient. | 141 // may extend beyond the bounds of this TextInputClient. |
142 virtual void EnsureCaretInRect(const gfx::Rect& rect) = 0; | 142 virtual void EnsureCaretInRect(const gfx::Rect& rect) = 0; |
143 }; | 143 }; |
144 | 144 |
145 } // namespace ui | 145 } // namespace ui |
146 | 146 |
147 #endif // UI_BASE_IME_TEXT_INPUT_CLIENT_H_ | 147 #endif // UI_BASE_IME_TEXT_INPUT_CLIENT_H_ |
OLD | NEW |