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

Unified Diff: components/arc/arc_bridge_host_impl.cc

Issue 2731403007: add voice interaction shortcut. (Closed)
Patch Set: Changed mojom comments Created 3 years, 9 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: components/arc/arc_bridge_host_impl.cc
diff --git a/components/arc/arc_bridge_host_impl.cc b/components/arc/arc_bridge_host_impl.cc
index 437aa1a419e3e08d01e8676dd383e96b69b6e4ac..fb3bef901cd8c0a6220ae18cf9d079c8fcfd195c 100644
--- a/components/arc/arc_bridge_host_impl.cc
+++ b/components/arc/arc_bridge_host_impl.cc
@@ -207,6 +207,18 @@ void ArcBridgeHostImpl::OnVideoInstanceReady(
OnInstanceReady(arc_bridge_service_->video(), std::move(video_ptr));
}
+void ArcBridgeHostImpl::OnVoiceInteractionArcHomeInstanceReady(
+ mojom::VoiceInteractionArcHomeInstancePtr voice_interaction_arc_home_ptr) {
+ OnInstanceReady(arc_bridge_service_->voice_interaction_home(),
+ std::move(voice_interaction_arc_home_ptr));
+}
+
+void ArcBridgeHostImpl::OnVoiceInteractionCaptureInstanceReady(
+ mojom::VoiceInteractionCaptureInstancePtr voice_interaction_capture_ptr) {
+ OnInstanceReady(arc_bridge_service_->voice_interaction_capture(),
+ std::move(voice_interaction_capture_ptr));
+}
+
void ArcBridgeHostImpl::OnWallpaperInstanceReady(
mojom::WallpaperInstancePtr wallpaper_ptr) {
OnInstanceReady(arc_bridge_service_->wallpaper(), std::move(wallpaper_ptr));

Powered by Google App Engine
This is Rietveld 408576698