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/fake_input_method.h" | 5 #include "ui/base/ime/fake_input_method.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/string16.h" | 8 #include "base/strings/string16.h" |
9 #include "ui/base/events/event.h" | 9 #include "ui/base/events/event.h" |
10 #include "ui/base/events/event_constants.h" | 10 #include "ui/base/events/event_constants.h" |
11 #include "ui/base/events/event_utils.h" | 11 #include "ui/base/events/event_utils.h" |
12 #include "ui/base/glib/glib_integers.h" | 12 #include "ui/base/glib/glib_integers.h" |
13 #include "ui/base/ime/input_method_delegate.h" | 13 #include "ui/base/ime/input_method_delegate.h" |
14 #include "ui/base/ime/text_input_client.h" | 14 #include "ui/base/ime/text_input_client.h" |
15 #include "ui/base/keycodes/keyboard_code_conversion.h" | 15 #include "ui/base/keycodes/keyboard_code_conversion.h" |
16 | 16 |
17 #if defined(USE_X11) | 17 #if defined(USE_X11) |
18 #include <X11/X.h> | 18 #include <X11/X.h> |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 | 142 |
143 void FakeInputMethod::AddObserver(InputMethodObserver* observer) { | 143 void FakeInputMethod::AddObserver(InputMethodObserver* observer) { |
144 observers_.AddObserver(observer); | 144 observers_.AddObserver(observer); |
145 } | 145 } |
146 | 146 |
147 void FakeInputMethod::RemoveObserver(InputMethodObserver* observer) { | 147 void FakeInputMethod::RemoveObserver(InputMethodObserver* observer) { |
148 observers_.RemoveObserver(observer); | 148 observers_.RemoveObserver(observer); |
149 } | 149 } |
150 | 150 |
151 } // namespace ui | 151 } // namespace ui |
OLD | NEW |