1 // Copyright 2013 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 namespace chromeos { 8 9 IBusText::IBusText() 10 : selection_start_(0), 11 selection_end_(0) {} 12 13 IBusText::~IBusText() {} 14 15 void IBusText::CopyFrom(const IBusText& obj) { 16 text_ = obj.text(); 17 underline_attributes_ = obj.underline_attributes(); 18 selection_start_ = obj.selection_start(); 19 selection_end_ = obj.selection_end(); 20 } 21 22 } // namespace chromeos 23