Revert 264226 "Reduce dependency of TiclInvalidationService on P..."
[chromium-blink-merge.git] / chromeos / ime / composition_text.cc
blob8bc6b52bdb81e18c5d2cd44c751f36df095fc0da
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 "chromeos/ime/composition_text.h"
7 namespace chromeos {
9 CompositionText::CompositionText()
10 : selection_start_(0),
11 selection_end_(0) {}
13 CompositionText::~CompositionText() {}
15 void CompositionText::CopyFrom(const CompositionText& obj) {
16 text_ = obj.text();
17 underline_attributes_ = obj.underline_attributes();
18 selection_start_ = obj.selection_start();
19 selection_end_ = obj.selection_end();
22 } // namespace chromeos