Chromium Code Reviews| 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); |
| +}; |