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

Unified Diff: ash/public/interfaces/locale.mojom

Issue 2420753002: ash: Use mojo LocaleNotificationController interface. (Closed)
Patch Set: Fixes Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: ash/public/interfaces/locale.mojom
diff --git a/ash/public/interfaces/locale.mojom b/ash/public/interfaces/locale.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..10f5e3898877f80bf0647cd7d81e42ae53de09f5
--- /dev/null
+++ b/ash/public/interfaces/locale.mojom
@@ -0,0 +1,16 @@
+// Copyright 2016 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 ash.mojom;
+
+enum LocaleNotificationResult {
msw 2016/10/17 22:19:34 nit: comment, mojoms should be thoroughly document
Elliot Glaysher 2016/10/17 22:37:17 Done.
+ ACCEPT,
+ REVERT
+};
+
+// Used by Chrome to make ash show a notification.
+interface LocaleNotificationController {
+ OnLocaleChanged(string current, string from, string to)
msw 2016/10/17 22:19:34 ditto nit: comment.
Elliot Glaysher 2016/10/17 22:37:17 Done.
+ => (LocaleNotificationResult result);
+};

Powered by Google App Engine
This is Rietveld 408576698