Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1549)

Unified Diff: ui/views/mus/text_input_client_impl.h

Issue 2611773002: Removes code using mus client lib (Closed)
Patch Set: dont run on linux Created 3 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/mus/test_utils.h ('k') | ui/views/mus/text_input_client_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/text_input_client_impl.h
diff --git a/ui/views/mus/text_input_client_impl.h b/ui/views/mus/text_input_client_impl.h
deleted file mode 100644
index 2531ed6ae28d904378e8b199bc5d7903c8ce6a14..0000000000000000000000000000000000000000
--- a/ui/views/mus/text_input_client_impl.h
+++ /dev/null
@@ -1,43 +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.
-
-#ifndef UI_VIEWS_MUS_TEXT_INPUT_CLIENT_IMPL_H_
-#define UI_VIEWS_MUS_TEXT_INPUT_CLIENT_IMPL_H_
-
-#include "mojo/public/cpp/bindings/binding.h"
-#include "services/ui/public/interfaces/ime/ime.mojom.h"
-#include "ui/base/ime/composition_text.h"
-
-namespace ui {
-class TextInputClient;
-}
-
-namespace views {
-
-// TextInputClientImpl receieves updates from IME drivers over Mojo IPC, and
-// notifies the underlying ui::TextInputClient accordingly.
-class TextInputClientImpl : public ui::mojom::TextInputClient {
- public:
- explicit TextInputClientImpl(ui::TextInputClient* text_input_client);
- ~TextInputClientImpl() override;
-
- ui::mojom::TextInputClientPtr CreateInterfacePtrAndBind();
-
- private:
- // ui::mojom::TextInputClient:
- void SetCompositionText(const ui::CompositionText& composition) override;
- void ConfirmCompositionText() override;
- void ClearCompositionText() override;
- void InsertText(const std::string& text) override;
- void InsertChar(std::unique_ptr<ui::Event> event) override;
-
- ui::TextInputClient* text_input_client_;
- mojo::Binding<ui::mojom::TextInputClient> binding_;
-
- DISALLOW_COPY_AND_ASSIGN(TextInputClientImpl);
-};
-
-} // namespace views
-
-#endif // UI_VIEWS_MUS_TEXT_INPUT_CLIENT_IMPL_H_
« no previous file with comments | « ui/views/mus/test_utils.h ('k') | ui/views/mus/text_input_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698