naiveproxy/third_party/WebKit/public/platform/input_messages.mojom

18 lines
682 B
Plaintext
Raw Normal View History

2018-01-28 21:32:06 +03:00
// 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.
module blink.mojom;
// This interface is implemented in blink by TextSuggestionBackendImpl. It is
// called by browser code on Android implementing the spell check/text
// suggestion menu.
interface TextSuggestionBackend {
ApplySpellCheckSuggestion(string suggestion);
ApplyTextSuggestion(int32 marker_tag, int32 suggestion_index);
DeleteActiveSuggestionRange();
OnNewWordAddedToDictionary(string suggestion);
OnSuggestionMenuClosed();
SuggestionMenuTimeoutCallback(int32 max_number_of_suggestions);
};