| 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 #include "ui/base/ime/mock_input_method.h" | 5 #include "ui/base/ime/mock_input_method.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/string16.h" | 8 #include "base/string16.h" |
| 9 #include "ui/base/events.h" | 9 #include "ui/base/events/event_constants.h" |
| 10 #include "ui/base/glib/glib_integers.h" | 10 #include "ui/base/glib/glib_integers.h" |
| 11 #include "ui/base/ime/input_method_delegate.h" | 11 #include "ui/base/ime/input_method_delegate.h" |
| 12 #include "ui/base/ime/text_input_client.h" | 12 #include "ui/base/ime/text_input_client.h" |
| 13 #include "ui/base/keycodes/keyboard_code_conversion.h" | 13 #include "ui/base/keycodes/keyboard_code_conversion.h" |
| 14 | 14 |
| 15 #if defined(USE_X11) | 15 #if defined(USE_X11) |
| 16 #include <X11/X.h> | 16 #include <X11/X.h> |
| 17 #include <X11/Xlib.h> | 17 #include <X11/Xlib.h> |
| 18 #include <X11/Xutil.h> | 18 #include <X11/Xutil.h> |
| 19 #include "ui/base/keycodes/keyboard_code_conversion_x.h" | 19 #include "ui/base/keycodes/keyboard_code_conversion_x.h" |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 | 113 |
| 114 ui::TextInputType MockInputMethod::GetTextInputType() const { | 114 ui::TextInputType MockInputMethod::GetTextInputType() const { |
| 115 return ui::TEXT_INPUT_TYPE_NONE; | 115 return ui::TEXT_INPUT_TYPE_NONE; |
| 116 } | 116 } |
| 117 | 117 |
| 118 bool MockInputMethod::CanComposeInline() const { | 118 bool MockInputMethod::CanComposeInline() const { |
| 119 return true; | 119 return true; |
| 120 } | 120 } |
| 121 | 121 |
| 122 } // namespace ui | 122 } // namespace ui |
| OLD | NEW |