1 // Copyright 2014 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.
5 #include "ui/base/ime/infolist_entry.h"
9 InfolistEntry::InfolistEntry(const base::string16
& title
,
10 const base::string16
& body
)
11 : title(title
), body(body
), highlighted(false) {}
13 bool InfolistEntry::operator==(const InfolistEntry
& other
) const {
14 return title
== other
.title
&& body
== other
.body
&&
15 highlighted
== other
.highlighted
;
18 bool InfolistEntry::operator!=(const InfolistEntry
& other
) const {
19 return !(*this == other
);