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

Side by Side Diff: components/translate/content/common/translate.mojom

Issue 2555853003: Break up common_custom_types.mojom. (Closed)
Patch Set: Created 4 years 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
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module translate.mojom; 5 module translate.mojom;
6 6
7 import "mojo/common/common_custom_types.mojom"; 7 import "mojo/common/time.mojom";
8 import "url/mojo/url.mojom"; 8 import "url/mojo/url.mojom";
9 9
10 enum TranslateError { 10 enum TranslateError {
11 NONE, 11 NONE,
12 NETWORK, 12 NETWORK,
13 INITIALIZATION_ERROR, 13 INITIALIZATION_ERROR,
14 UNKNOWN_LANGUAGE, 14 UNKNOWN_LANGUAGE,
15 UNSUPPORTED_LANGUAGE, 15 UNSUPPORTED_LANGUAGE,
16 IDENTICAL_LANGUAGES, 16 IDENTICAL_LANGUAGES,
17 TRANSLATION_ERROR, 17 TRANSLATION_ERROR,
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 // no translation applied. 56 // no translation applied.
57 RevertTranslation(); 57 RevertTranslation();
58 }; 58 };
59 59
60 interface ContentTranslateDriver { 60 interface ContentTranslateDriver {
61 // Notification that a new page is ready to translate, 61 // Notification that a new page is ready to translate,
62 // and the language for it has been determined. 62 // and the language for it has been determined.
63 RegisterPage(Page page, LanguageDetectionDetails details, 63 RegisterPage(Page page, LanguageDetectionDetails details,
64 bool page_needs_translation); 64 bool page_needs_translation);
65 }; 65 };
OLDNEW
« no previous file with comments | « components/startup_metric_utils/common/startup_metric.mojom ('k') | content/common/indexed_db/indexed_db.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698