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

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

Issue 2871583003: Add VoiceInteractionFrameworkHost::SetMetalayerEnabled (Closed)
Patch Set: Addressed comments Created 3 years, 7 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/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.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 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.
« no previous file with comments | « chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698