| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 module ash.mojom; |
| 6 |
| 7 // Sent as the response to LocaleNotificationController.OnLocaleChanged(). |
| 8 enum LocaleNotificationResult { |
| 9 ACCEPT, |
| 10 REVERT |
| 11 }; |
| 12 |
| 13 // Used by Chrome to make ash show a notification. |
| 14 interface LocaleNotificationController { |
| 15 // Displays a notification in ash prompting the user whether to accept a |
| 16 // change in the locale. If the user clicks the accept button (or closes the |
| 17 // notification), OnLocaleChange() returns ACCEPT. If the user clicks the |
| 18 // revert button, returns REVERT. |
| 19 OnLocaleChanged(string current, string from, string to) |
| 20 => (LocaleNotificationResult result); |
| 21 }; |
| OLD | NEW |