Index: content/browser/android/text_suggestion_host_impl.h |
diff --git a/content/browser/android/text_suggestion_host_impl.h b/content/browser/android/text_suggestion_host_impl.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..acc5ae84fb9ef432bd2ff5ee0d3966cd898de642 |
--- /dev/null |
+++ b/content/browser/android/text_suggestion_host_impl.h |
@@ -0,0 +1,29 @@ |
+// Copyright 2017 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 TEXT_SUGGESTION_HOST_IMPL_H_ |
+#define TEXT_SUGGESTION_HOST_IMPL_H_ |
+ |
+#include "third_party/WebKit/public/platform/input_host.mojom.h" |
+ |
+namespace content { |
+ |
+class ImeAdapterAndroid; |
+ |
+class TextSuggestionHostImpl : public blink::mojom::TextSuggestionHost { |
+ public: |
+ explicit TextSuggestionHostImpl(ImeAdapterAndroid*); |
+ |
+ static void create(ImeAdapterAndroid*, |
+ blink::mojom::TextSuggestionHostRequest request); |
+ |
+ void ShowTextSuggestionMenu(std::vector<blink::mojom::TextSuggestionInfoPtr> |
+ suggestionInfos) override; |
+ |
+ private: |
+ ImeAdapterAndroid* m_imeAdapterAndroid; |
+}; |
+} |
+ |
+#endif // TEXT_SUGGESTION_HOST_IMPL_H_ |