15d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)// Copyright 2014 The Chromium Authors. All rights reserved. 2f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)// Use of this source code is governed by a BSD-style license that can be 3f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)// found in the LICENSE file. 4f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles) 55d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#include "chromeos/ime/composition_text.h" 6f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles) 7f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)namespace chromeos { 8f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles) 95d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)CompositionText::CompositionText() 10a3f6a49ab37290eeeb8db0f41ec0f1cb74a68be7Torne (Richard Coles) : selection_start_(0), 11a3f6a49ab37290eeeb8db0f41ec0f1cb74a68be7Torne (Richard Coles) selection_end_(0) {} 12f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles) 135d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)CompositionText::~CompositionText() {} 14f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles) 155d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)void CompositionText::CopyFrom(const CompositionText& obj) { 16f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles) text_ = obj.text(); 17f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles) underline_attributes_ = obj.underline_attributes(); 18a3f6a49ab37290eeeb8db0f41ec0f1cb74a68be7Torne (Richard Coles) selection_start_ = obj.selection_start(); 19a3f6a49ab37290eeeb8db0f41ec0f1cb74a68be7Torne (Richard Coles) selection_end_ = obj.selection_end(); 20f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)} 21f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles) 22f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)} // namespace chromeos 23