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

Unified Diff: components/arc/arc_bridge_service.h

Issue 2731403007: add voice interaction shortcut. (Closed)
Patch Set: 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_service.h
diff --git a/components/arc/arc_bridge_service.h b/components/arc/arc_bridge_service.h
index 60abe9d52dc3dcc9bf648fe13476f18ad6a53d45..5293c19897e50a1627292bcdc3e7a2d0dabeb7cd 100644
--- a/components/arc/arc_bridge_service.h
+++ b/components/arc/arc_bridge_service.h
@@ -38,6 +38,8 @@ class ProcessInstance;
class StorageManagerInstance;
class TtsInstance;
class VideoInstance;
+class VoiceInteractionArcHomeInstance;
+class VoiceInteractionCaptureInstance;
class WallpaperInstance;
} // namespace mojom
@@ -91,6 +93,12 @@ class ArcBridgeService {
}
InstanceHolder<mojom::TtsInstance>* tts() { return &tts_; }
InstanceHolder<mojom::VideoInstance>* video() { return &video_; }
+ InstanceHolder<mojom::VoiceInteractionArcHomeInstance>* vi_home() {
Luis Héctor Chávez 2017/03/08 15:22:40 please make these voice_interaction_home and voice
Muyuan 2017/03/09 00:41:03 Done.
+ return &vi_home_;
+ }
+ InstanceHolder<mojom::VoiceInteractionCaptureInstance>* vi_capture() {
+ return &vi_capture_;
+ }
InstanceHolder<mojom::WallpaperInstance>* wallpaper() { return &wallpaper_; }
private:
@@ -118,6 +126,8 @@ class ArcBridgeService {
InstanceHolder<mojom::StorageManagerInstance> storage_manager_;
InstanceHolder<mojom::TtsInstance> tts_;
InstanceHolder<mojom::VideoInstance> video_;
+ InstanceHolder<mojom::VoiceInteractionArcHomeInstance> vi_home_;
+ InstanceHolder<mojom::VoiceInteractionCaptureInstance> vi_capture_;
InstanceHolder<mojom::WallpaperInstance> wallpaper_;
DISALLOW_COPY_AND_ASSIGN(ArcBridgeService);

Powered by Google App Engine
This is Rietveld 408576698