OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 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 #ifndef TEXT_SUGGESTION_HOST_IMPL_H_ |
| 6 #define TEXT_SUGGESTION_HOST_IMPL_H_ |
| 7 |
| 8 #include "third_party/WebKit/public/platform/input_host.mojom.h" |
| 9 |
| 10 namespace content { |
| 11 |
| 12 class ImeAdapterAndroid; |
| 13 |
| 14 class TextSuggestionHostImpl : public blink::mojom::TextSuggestionHost { |
| 15 public: |
| 16 explicit TextSuggestionHostImpl(ImeAdapterAndroid*); |
| 17 |
| 18 static void create(ImeAdapterAndroid*, |
| 19 blink::mojom::TextSuggestionHostRequest request); |
| 20 |
| 21 void ShowTextSuggestionMenu(std::vector<blink::mojom::TextSuggestionInfoPtr> |
| 22 suggestionInfos) override; |
| 23 |
| 24 private: |
| 25 ImeAdapterAndroid* m_imeAdapterAndroid; |
| 26 }; |
| 27 } |
| 28 |
| 29 #endif // TEXT_SUGGESTION_HOST_IMPL_H_ |
OLD | NEW |