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

Side by Side Diff: content/browser/android/text_suggestion_host_impl.h

Issue 2650113004: [WIP] Add support for Android SuggestionSpans when editing text (Closed)
Patch Set: Uploading the latest version from my repo so I can reference it Created 3 years, 7 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 unified diff | Download patch
OLDNEW
(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_
OLDNEW
« no previous file with comments | « content/browser/android/ime_adapter_android.cc ('k') | content/browser/android/text_suggestion_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698