| Index: ui/views/mus/text_input_client_impl.cc
|
| diff --git a/ui/views/mus/text_input_client_impl.cc b/ui/views/mus/text_input_client_impl.cc
|
| deleted file mode 100644
|
| index 4193e127e280382d4610a27dd6fec609f109ddb8..0000000000000000000000000000000000000000
|
| --- a/ui/views/mus/text_input_client_impl.cc
|
| +++ /dev/null
|
| @@ -1,44 +0,0 @@
|
| -// Copyright 2016 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/views/mus/text_input_client_impl.h"
|
| -
|
| -#include "base/strings/utf_string_conversions.h"
|
| -#include "ui/base/ime/text_input_client.h"
|
| -#include "ui/views/mus/input_method_mus.h"
|
| -
|
| -namespace views {
|
| -
|
| -TextInputClientImpl::TextInputClientImpl(ui::TextInputClient* text_input_client)
|
| - : text_input_client_(text_input_client), binding_(this) {}
|
| -
|
| -TextInputClientImpl::~TextInputClientImpl() {}
|
| -
|
| -ui::mojom::TextInputClientPtr TextInputClientImpl::CreateInterfacePtrAndBind() {
|
| - return binding_.CreateInterfacePtrAndBind();
|
| -}
|
| -
|
| -void TextInputClientImpl::SetCompositionText(
|
| - const ui::CompositionText& composition) {
|
| - text_input_client_->SetCompositionText(composition);
|
| -}
|
| -
|
| -void TextInputClientImpl::ConfirmCompositionText() {
|
| - text_input_client_->ConfirmCompositionText();
|
| -}
|
| -
|
| -void TextInputClientImpl::ClearCompositionText() {
|
| - text_input_client_->ClearCompositionText();
|
| -}
|
| -
|
| -void TextInputClientImpl::InsertText(const std::string& text) {
|
| - text_input_client_->InsertText(base::UTF8ToUTF16(text));
|
| -}
|
| -
|
| -void TextInputClientImpl::InsertChar(std::unique_ptr<ui::Event> event) {
|
| - DCHECK(event->IsKeyEvent());
|
| - text_input_client_->InsertChar(*event->AsKeyEvent());
|
| -}
|
| -
|
| -} // namespace views
|
|
|