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 015acf8442b3b54f6381649f8f688b249f540750..86869219c89735d19b434674ec10308120fd30a9 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 |
@@ -42,12 +42,23 @@ class ArcVoiceInteractionFrameworkService |
void CaptureFocusedWindow( |
const CaptureFocusedWindowCallback& callback) override; |
void CaptureFullscreen(const CaptureFullscreenCallback& callback) override; |
+ void OnMetalayerComplete() override; |
+ |
+ bool HasMetalayer(); |
Luis Héctor Chávez
2017/04/20 16:03:26
maybe IsMetalayerSupported?
Vladislav Kaznacheev
2017/04/20 17:54:55
Renamed here and in PaletteDelegate for consistenc
|
+ void ShowMetalayer(const base::Closure& done); |
+ void HideMetalayer(); |
// Whether enable-voice-interaction switch is present. |
static bool IsVoiceInteractionEnabled(); |
+ // For supporting ArcServiceManager::GetService<T>(). |
+ static const char kArcServiceName[]; |
+ |
private: |
+ void SetMetalayerVisibility(bool visible); |
+ |
mojo::Binding<mojom::VoiceInteractionFrameworkHost> binding_; |
+ base::Closure metalayer_closed_callback_; |
DISALLOW_COPY_AND_ASSIGN(ArcVoiceInteractionFrameworkService); |
}; |