blob: 4f3aeadbc2bc3e92983a2c7c2e2ed0213cb29f58 [file] [log] [blame]
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/base/ime/ime_text_span.h"
#include <string>
#include <vector>
namespace ui {
ImeTextSpan::ImeTextSpan(Type type,
uint32_t start_offset,
uint32_t end_offset,
Thickness thickness,
SkColor background_color,
SkColor suggestion_highlight_color,
const std::vector<std::string>& suggestions)
: type(type),
start_offset(start_offset),
end_offset(end_offset),
thickness(thickness),
background_color(background_color),
suggestion_highlight_color(suggestion_highlight_color),
suggestions(suggestions) {}
ImeTextSpan::ImeTextSpan(const ImeTextSpan& rhs) = default;
ImeTextSpan::~ImeTextSpan() = default;
} // namespace ui