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 #include "chrome/browser/chromeos/input_method/ibus_ui_controller.h" | 5 #include "chrome/browser/chromeos/input_method/ibus_ui_controller.h" |
6 | 6 |
7 #if defined(HAVE_IBUS) | 7 #if defined(HAVE_IBUS) |
8 #include <ibus.h> | 8 #include <ibus.h> |
9 #endif | 9 #endif |
10 | 10 |
11 #include <sstream> | 11 #include <sstream> |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
13 #include "base/string_util.h" | 13 #include "base/string_util.h" |
14 #include "third_party/mozc/session/commands.pb.h" | 14 #include "session/candidates_lite.pb.h" |
15 | 15 |
16 namespace chromeos { | 16 namespace chromeos { |
17 namespace input_method { | 17 namespace input_method { |
18 | 18 |
19 InputMethodLookupTable::InputMethodLookupTable() | 19 InputMethodLookupTable::InputMethodLookupTable() |
20 : visible(false), | 20 : visible(false), |
21 cursor_absolute_index(0), | 21 cursor_absolute_index(0), |
22 page_size(0), | 22 page_size(0), |
23 orientation(kHorizontal) { | 23 orientation(kHorizontal) { |
24 } | 24 } |
(...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
643 #else | 643 #else |
644 return new IBusUiControllerStubImpl; | 644 return new IBusUiControllerStubImpl; |
645 #endif | 645 #endif |
646 } | 646 } |
647 | 647 |
648 IBusUiController::~IBusUiController() { | 648 IBusUiController::~IBusUiController() { |
649 } | 649 } |
650 | 650 |
651 } // namespace input_method | 651 } // namespace input_method |
652 } // namespace chromeos | 652 } // namespace chromeos |
OLD | NEW |