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 ce65a14a4908391947a0dc948885f7ae6b1a25e8..88ac74cfe4a3bb00ab708956912c246583098aac 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: 3 |
+// Next MinVersion: 4 |
module arc.mojom; |
import "screen_rect.mojom"; |
// Handles voice interaction queries from Android. |
-// Next method ID: 3 |
+// Next method ID: 4 |
interface VoiceInteractionFrameworkHost { |
// Returns a screenshot of currently focused window or empty array if |
// no window is focused. |data| represents the image encoded in JPEG |
@@ -22,6 +22,9 @@ interface VoiceInteractionFrameworkHost { |
// Notifies the host that the metalayer has closed or could not open. |
[MinVersion=2]OnMetalayerClosed@2(); |
+ |
+ // Enables/disables screenshot taking. |
+ [MinVersion=3]SetMetalayerEnabled@3(bool enabled); |
estark
2017/05/11 01:14:13
Does untrusted code call this, or only trusted cod
|
}; |
// Connects with Android system server. |