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

Unified Diff: chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.h

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
Index: chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.h
diff --git a/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.h b/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.h
index 71583e3adbd3f036ded997f7bccfa997ab3b54f2..acf4600734bcec8d24c1dd48c2d88634c42b3185 100644
--- a/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.h
+++ b/chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.h
@@ -43,6 +43,7 @@ class ArcVoiceInteractionFrameworkService
const CaptureFocusedWindowCallback& callback) override;
void CaptureFullscreen(const CaptureFullscreenCallback& callback) override;
void OnMetalayerClosed() override;
+ void SetMetalayerEnabled(bool enabled) override;
bool IsMetalayerSupported();
void ShowMetalayer(const base::Closure& closed);
@@ -59,6 +60,7 @@ class ArcVoiceInteractionFrameworkService
mojo::Binding<mojom::VoiceInteractionFrameworkHost> binding_;
base::Closure metalayer_closed_callback_;
+ bool metalayer_enabled_ = false;
DISALLOW_COPY_AND_ASSIGN(ArcVoiceInteractionFrameworkService);
};

Powered by Google App Engine
This is Rietveld 408576698