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

Unified Diff: components/arc/common/voice_interaction_framework.mojom

Issue 2824703006: Add MetalayerMode to the palette. (Closed)
Patch Set: Fixed copyright year Created 3 years, 8 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
« no previous file with comments | « chrome/browser/ui/ash/palette_delegate_chromeos.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/common/voice_interaction_framework.mojom
diff --git a/components/arc/common/voice_interaction_framework.mojom b/components/arc/common/voice_interaction_framework.mojom
index adf25f4bd92eb50fc84803f0ba7d156aa2c54167..38fb2ecac1d3f9bb00e4417a1e20ab81a0e14f79 100644
--- a/components/arc/common/voice_interaction_framework.mojom
+++ b/components/arc/common/voice_interaction_framework.mojom
@@ -2,14 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
-// Next MinVersion: 2
+// Next MinVersion: 3
module arc.mojom;
import "screen_rect.mojom";
// Handles voice interaction queries from Android.
-// Next method ID: 2
+// Next method ID: 3
interface VoiceInteractionFrameworkHost {
// Returns a screenshot of currently focused window or empty array if
// no window is focused.
@@ -17,10 +17,13 @@ interface VoiceInteractionFrameworkHost {
// Returns a fullscreen screenshot of the primary display.
[MinVersion=1]CaptureFullscreen@1() => (array<uint8> png_data);
+
+ // Notifies the host that the metalayer has closed or could not open.
+ [MinVersion=2]OnMetalayerClosed@2();
};
// Connects with Android system server.
-// Next method ID:4
+// Next method ID: 4
interface VoiceInteractionFrameworkInstance {
Init@0(VoiceInteractionFrameworkHost host_ptr);
@@ -31,6 +34,6 @@ interface VoiceInteractionFrameworkInstance {
// selected.
[MinVersion=1] StartVoiceInteractionSessionForRegion@2(ScreenRect region);
- // Toggles the metalayer.
- [MinVersion=1] ToggleMetalayer@3();
+ // Shows/hides the metalayer in the container.
+ [MinVersion=1] SetMetalayerVisibility@3([MinVersion=2] bool visible);
};
« no previous file with comments | « chrome/browser/ui/ash/palette_delegate_chromeos.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698