naiveproxy/third_party/blink/public/platform/input_messages.mojom
2018-08-14 22:19:20 +00:00

18 lines
682 B
Plaintext

// 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);
};