summaryrefslogtreecommitdiffstats
path: root/chromium/ash/public/mojom/voice_interaction_controller.mojom
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-01-23 17:21:03 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-01-23 16:25:15 +0000
commitc551f43206405019121bd2b2c93714319a0a3300 (patch)
tree1f48c30631c421fd4bbb3c36da20183c8a2ed7d7 /chromium/ash/public/mojom/voice_interaction_controller.mojom
parent7961cea6d1041e3e454dae6a1da660b453efd238 (diff)
BASELINE: Update Chromium to 79.0.3945.139
Change-Id: I336b7182fab9bca80b709682489c07db112eaca5 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/ash/public/mojom/voice_interaction_controller.mojom')
-rw-r--r--chromium/ash/public/mojom/voice_interaction_controller.mojom60
1 files changed, 0 insertions, 60 deletions
diff --git a/chromium/ash/public/mojom/voice_interaction_controller.mojom b/chromium/ash/public/mojom/voice_interaction_controller.mojom
index 8f19c8ebf85..64b3fc49889 100644
--- a/chromium/ash/public/mojom/voice_interaction_controller.mojom
+++ b/chromium/ash/public/mojom/voice_interaction_controller.mojom
@@ -21,63 +21,3 @@ enum VoiceInteractionState {
// Voice interaction session is currently running.
RUNNING
};
-
-enum AssistantAllowedState {
- // Assistant feature is allowed.
- ALLOWED = 0,
- // Disallowed because search and assistant is disabled by policy.
- DISALLOWED_BY_POLICY,
- // Disallowed because user's locale is not compatible.
- DISALLOWED_BY_LOCALE,
- // Disallowed because current user is not primary user.
- DISALLOWED_BY_NONPRIMARY_USER,
- // Disallowed because current user is supervised user.
- DISALLOWED_BY_SUPERVISED_USER,
- // Disallowed because incognito mode.
- DISALLOWED_BY_INCOGNITO,
- // Disallowed because the device is in demo mode.
- DISALLOWED_BY_DEMO_MODE,
- // Disallowed because the device is in public session.
- DISALLOWED_BY_PUBLIC_SESSION,
- // Disallowed because the user's account type is currently not supported.
- DISALLOWED_BY_ACCOUNT_TYPE,
- // Disallowed because the device is in Kiosk mode.
- DISALLOWED_BY_KIOSK_MODE
-};
-
-// Allows observing changes to voice interaction status and settings.
-interface VoiceInteractionObserver {
- // Called when voice interaction session state changes.
- OnVoiceInteractionStatusChanged(VoiceInteractionState state);
-
- // Called when voice interaction is enabled/disabled in settings.
- OnVoiceInteractionSettingsEnabled(bool enabled);
-
- // Called when voice interaction service is allowed/disallowed to access
- // the "context" (text and graphic content that is currently on screen).
- OnVoiceInteractionContextEnabled(bool enabled);
-
- // Called when hotword listening is enabled/disabled.
- OnVoiceInteractionHotwordEnabled(bool enabled);
-
- // Called when assistant feature allowed state has changed.
- OnAssistantFeatureAllowedChanged(AssistantAllowedState state);
-
- // Called when Google Play Store is enabled/disabled.
- OnArcPlayStoreEnabledChanged(bool enabled);
-
- // Called when locale is changed in pref. The locale is in the format can be
- // "en-US" or simply "en". When locale is not set in pref, it returns empty
- // string.
- OnLocaleChanged(string locale);
-
- // Called when locked full screen state has changed.
- OnLockedFullScreenStateChanged(bool enabled);
-};
-
-// Interface for ash client (Chrome) to connect to the voice interaction
-// controller, which notifies changes of voice interaction related flags.
-interface VoiceInteractionController {
- // Add an observer.
- AddObserver(VoiceInteractionObserver observer);
-};