OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #include "chromeos/ime/ibus_text.h" | |
6 | |
7 #include "base/logging.h" | |
8 #include "base/values.h" | |
Seigo Nonaka
2013/11/13 14:09:52
These includes are no longer necessary.
Hiro Komatsu
2013/11/14 02:55:01
Done.
| |
9 | |
10 namespace chromeos { | |
11 | |
12 namespace { | |
13 | |
14 struct IBusAttribute { | |
Seigo Nonaka
2013/11/13 14:09:52
Please remove this struct.
Hiro Komatsu
2013/11/14 02:55:01
Done.
| |
15 IBusAttribute() : type(0), value(0), start_index(0), end_index(0) {} | |
16 uint32 type; | |
17 uint32 value; | |
18 uint32 start_index; | |
19 uint32 end_index; | |
20 }; | |
21 | |
22 } // namespace | |
23 | |
24 /////////////////////////////////////////////////////////////////////////////// | |
25 // IBusText | |
26 IBusText::IBusText() | |
27 : text_("") { | |
28 } | |
29 | |
30 IBusText::~IBusText() { | |
31 } | |
32 | |
33 void IBusText::CopyFrom(const IBusText& obj) { | |
34 text_ = obj.text(); | |
35 annotation_ = obj.annotation(); | |
36 description_title_ = obj.description_title(); | |
37 description_body_ = obj.description_body(); | |
38 underline_attributes_ = obj.underline_attributes(); | |
39 selection_attributes_ = obj.selection_attributes(); | |
40 } | |
41 | |
42 } // namespace chromeos | |
OLD | NEW |