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

Side by Side Diff: components/spellcheck/common/spellcheck.mojom

Issue 2828313002: Convert render process component common Spellcheck IPC to mojo (Closed)
Patch Set: Build fix. 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 module spellcheck.mojom;
6
7 import "mojo/common/file.mojom";
8
9 // Render process interface exposed to the browser for receiving process-
10 // wide spellcheck control and updates from the browser process.
11 //
12 interface SpellChecker {
13 // Initialize the render process spellchecker. Called after startup and
14 // also in response to a render process RequestDictionary request.
15 Initialize(array<SpellCheckBDictLanguage> dictionaries,
16 array<string> custom_words,
17 bool enable);
18
19 // Custom dictionary words have been added or removed: update the local
20 // custom word list.
21 CustomDictionaryChanged(array<string> words_added,
22 array<string> words_removed);
23 };
24
25 struct SpellCheckBDictLanguage {
26 mojo.common.mojom.File? file;
27 string language;
28 };
OLDNEW
« no previous file with comments | « components/spellcheck/common/OWNERS ('k') | components/spellcheck/common/spellcheck_bdict_language.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698