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

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

Issue 2824703006: Add MetalayerMode to the palette. (Closed)
Patch Set: Created 3 years, 8 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 015acf8442b3b54f6381649f8f688b249f540750..f9a991ed45a525818dcb968ec659e2eb700c5ace 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,24 @@ class ArcVoiceInteractionFrameworkService
void CaptureFocusedWindow(
const CaptureFocusedWindowCallback& callback) override;
void CaptureFullscreen(const CaptureFullscreenCallback& callback) override;
+ void OnMetalayerComplete() override;
+
+ bool IsReady();
+ 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 ShowMetalayer(bool visible);
Luis Héctor Chávez 2017/04/19 15:48:28 please choose a different name to distinguish betw
Vladislav Kaznacheev 2017/04/19 23:42:59 Done.
+
mojo::Binding<mojom::VoiceInteractionFrameworkHost> binding_;
+ bool instance_ready_;
+ base::Closure metalayer_complete_;
Luis Héctor Chávez 2017/04/19 15:48:28 maybe metalayer_closed_callback_?
Vladislav Kaznacheev 2017/04/19 23:42:59 Done.
DISALLOW_COPY_AND_ASSIGN(ArcVoiceInteractionFrameworkService);
};

Powered by Google App Engine
This is Rietveld 408576698