mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-25 06:46:09 +03:00
18 lines
682 B
Plaintext
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);
|
||
|
};
|