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.
4
5#include "ui/base/ime/infolist_entry.h"
6
7namespace ui {
8
9InfolistEntry::InfolistEntry(const base::string16& title,
10                             const base::string16& body)
11    : title(title), body(body), highlighted(false) {}
12
13bool InfolistEntry::operator==(const InfolistEntry& other) const {
14  return title == other.title && body == other.body &&
15      highlighted == other.highlighted;
16}
17
18bool InfolistEntry::operator!=(const InfolistEntry& other) const {
19  return !(*this == other);
20}
21
22}  // namespace ui
23