| 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 c7e3323137bc482d1f8348524f54e9ab2cbd1391..66d0e7901272392d50ba7b5911a81b62d8eff93e 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
|
| @@ -14,6 +14,14 @@
|
| #include "mojo/public/cpp/bindings/binding.h"
|
| #include "ui/base/accelerators/accelerator.h"
|
|
|
| +namespace gfx {
|
| +class Image;
|
| +} // gfx
|
| +
|
| +namespace ui {
|
| +class LayerTreeOwner;
|
| +} // namespace ui
|
| +
|
| namespace arc {
|
|
|
| // This provides voice interaction context (currently screenshots)
|
| @@ -45,6 +53,9 @@ class ArcVoiceInteractionFrameworkService
|
| void OnMetalayerClosed() override;
|
| void SetMetalayerEnabled(bool enabled) override;
|
|
|
| + void EncodeAndReturnImage(const CaptureFullscreenCallback& callback,
|
| + const gfx::Image& image);
|
| +
|
| bool IsMetalayerSupported();
|
| void ShowMetalayer(const base::Closure& closed);
|
| void HideMetalayer();
|
| @@ -58,6 +69,7 @@ class ArcVoiceInteractionFrameworkService
|
| mojo::Binding<mojom::VoiceInteractionFrameworkHost> binding_;
|
| base::Closure metalayer_closed_callback_;
|
| bool metalayer_enabled_ = false;
|
| + std::unique_ptr<ui::LayerTreeOwner> old_layer_owner_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(ArcVoiceInteractionFrameworkService);
|
| };
|
|
|