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

Unified Diff: components/arc/arc_bridge_service.h

Issue 2731403007: add voice interaction shortcut. (Closed)
Patch Set: removed debugging prints 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..b439eaa1be311c36a402f34b36c9389ad09dabeb 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,14 @@ class ArcBridgeService {
}
InstanceHolder<mojom::TtsInstance>* tts() { return &tts_; }
InstanceHolder<mojom::VideoInstance>* video() { return &video_; }
+ InstanceHolder<mojom::VoiceInteractionArcHomeInstance>*
+ voice_interaction_home() {
Luis Héctor Chávez 2017/03/13 17:39:34 sorry for the bad suggestion in the previous itera
Muyuan 2017/03/14 01:38:14 Done.
+ return &voice_interaction_home_;
+ }
+ InstanceHolder<mojom::VoiceInteractionCaptureInstance>*
+ voice_interaction_capture() {
+ return &voice_interaction_capture_;
+ }
InstanceHolder<mojom::WallpaperInstance>* wallpaper() { return &wallpaper_; }
private:
@@ -118,6 +128,10 @@ class ArcBridgeService {
InstanceHolder<mojom::StorageManagerInstance> storage_manager_;
InstanceHolder<mojom::TtsInstance> tts_;
InstanceHolder<mojom::VideoInstance> video_;
+ InstanceHolder<mojom::VoiceInteractionArcHomeInstance>
+ voice_interaction_home_;
+ InstanceHolder<mojom::VoiceInteractionCaptureInstance>
+ voice_interaction_capture_;
InstanceHolder<mojom::WallpaperInstance> wallpaper_;
DISALLOW_COPY_AND_ASSIGN(ArcBridgeService);

Powered by Google App Engine
This is Rietveld 408576698