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 CHROMEOS_DBUS_IBUS_IBUS_LOOKUP_TABLE_H_ | 5 #ifndef CHROMEOS_DBUS_IBUS_IBUS_LOOKUP_TABLE_H_ |
6 #define CHROMEOS_DBUS_IBUS_IBUS_LOOKUP_TABLE_H_ | 6 #define CHROMEOS_DBUS_IBUS_IBUS_LOOKUP_TABLE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "chromeos/chromeos_export.h" | 12 #include "chromeos/chromeos_export.h" |
13 | 13 |
14 namespace dbus { | 14 namespace dbus { |
15 class MessageWriter; | 15 class MessageWriter; |
16 class MessageReader; | 16 class MessageReader; |
17 } // namespace dbus | 17 } // namespace dbus |
18 | 18 |
19 namespace chromeos { | 19 namespace chromeos { |
20 // TODO(nona): Remove ibus namespace after complete libibus removal. | |
21 namespace ibus { | |
22 | 20 |
23 // The IBusLookupTable is one of IBusObjects. IBusLookupTable contains IBusTexts | 21 // The IBusLookupTable is one of IBusObjects. IBusLookupTable contains IBusTexts |
24 // but all of them are used as plain string. The overview of each data | 22 // but all of them are used as plain string. The overview of each data |
25 // structure is as follows: | 23 // structure is as follows: |
26 // | 24 // |
27 // DATA STRUCTURE OVERVIEW: | 25 // DATA STRUCTURE OVERVIEW: |
28 // variant struct { | 26 // variant struct { |
29 // string "IBusLookupTable" | 27 // string "IBusLookupTable" |
30 // array [ | 28 // array [ |
31 // dict_entry ( | 29 // dict_entry ( |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 uint32 page_size_; | 142 uint32 page_size_; |
145 uint32 cursor_position_; | 143 uint32 cursor_position_; |
146 bool is_cursor_visible_; | 144 bool is_cursor_visible_; |
147 Orientation orientation_; | 145 Orientation orientation_; |
148 std::vector<Entry> candidates_; | 146 std::vector<Entry> candidates_; |
149 bool show_window_at_composition_; | 147 bool show_window_at_composition_; |
150 | 148 |
151 DISALLOW_COPY_AND_ASSIGN(IBusLookupTable); | 149 DISALLOW_COPY_AND_ASSIGN(IBusLookupTable); |
152 }; | 150 }; |
153 | 151 |
154 } // namespace ibus | |
155 } // namespace chromeos | 152 } // namespace chromeos |
156 | 153 |
157 #endif // CHROMEOS_DBUS_IBUS_IBUS_LOOKUP_TABLE_H_ | 154 #endif // CHROMEOS_DBUS_IBUS_IBUS_LOOKUP_TABLE_H_ |
OLD | NEW |