| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_VIEWS_IME_INPUT_METHOD_H_ | 5 #ifndef UI_VIEWS_IME_INPUT_METHOD_H_ |
| 6 #define UI_VIEWS_IME_INPUT_METHOD_H_ | 6 #define UI_VIEWS_IME_INPUT_METHOD_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/i18n/rtl.h" | 12 #include "base/i18n/rtl.h" |
| 13 #include "ui/base/ime/text_input_type.h" | 13 #include "ui/base/ime/text_input_type.h" |
| 14 #include "views/views_export.h" | 14 #include "ui/views/views_export.h" |
| 15 | 15 |
| 16 namespace ui { | 16 namespace ui { |
| 17 class TextInputClient; | 17 class TextInputClient; |
| 18 } // namespace ui | 18 } // namespace ui |
| 19 | 19 |
| 20 namespace views { | 20 namespace views { |
| 21 | 21 |
| 22 namespace internal { | 22 namespace internal { |
| 23 class InputMethodDelegate; | 23 class InputMethodDelegate; |
| 24 } // namespace internal | 24 } // namespace internal |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 | 107 |
| 108 // Returns true if the input method is a mock and not real. | 108 // Returns true if the input method is a mock and not real. |
| 109 virtual bool IsMock() const = 0; | 109 virtual bool IsMock() const = 0; |
| 110 | 110 |
| 111 // TODO(suzhe): Support mouse/touch event. | 111 // TODO(suzhe): Support mouse/touch event. |
| 112 }; | 112 }; |
| 113 | 113 |
| 114 } // namespace views | 114 } // namespace views |
| 115 | 115 |
| 116 #endif // UI_VIEWS_IME_INPUT_METHOD_H_ | 116 #endif // UI_VIEWS_IME_INPUT_METHOD_H_ |
| OLD | NEW |