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

Side by Side Diff: content/renderer/render_view_impl.h

Issue 10273006: Introduced SpeechRecognitionDispatcher(Host) classes, handling dispatch of IPC messages for continu… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Test fixed + Satish nits. Created 8 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 class MediaStreamImpl; 74 class MediaStreamImpl;
75 class MouseLockDispatcher; 75 class MouseLockDispatcher;
76 class NotificationProvider; 76 class NotificationProvider;
77 class PepperDeviceTest; 77 class PepperDeviceTest;
78 struct PP_NetAddress_Private; 78 struct PP_NetAddress_Private;
79 class RenderWidgetFullscreenPepper; 79 class RenderWidgetFullscreenPepper;
80 class RendererAccessibility; 80 class RendererAccessibility;
81 class RendererWebColorChooserImpl; 81 class RendererWebColorChooserImpl;
82 class SkBitmap; 82 class SkBitmap;
83 class InputTagSpeechDispatcher; 83 class InputTagSpeechDispatcher;
84 class SpeechRecognitionDispatcher;
84 struct ViewMsg_Navigate_Params; 85 struct ViewMsg_Navigate_Params;
85 struct ViewMsg_PostMessage_Params; 86 struct ViewMsg_PostMessage_Params;
86 struct ViewMsg_StopFinding_Params; 87 struct ViewMsg_StopFinding_Params;
87 struct ViewMsg_SwapOut_Params; 88 struct ViewMsg_SwapOut_Params;
88 struct WebDropData; 89 struct WebDropData;
89 class WebIntentsHost; 90 class WebIntentsHost;
90 class WebPluginDelegateProxy; 91 class WebPluginDelegateProxy;
91 class WebUIBindings; 92 class WebUIBindings;
92 93
93 namespace content { 94 namespace content {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 class WebPeerConnection00Handler; 132 class WebPeerConnection00Handler;
132 class WebPeerConnection00HandlerClient; 133 class WebPeerConnection00HandlerClient;
133 class WebMediaPlayer; 134 class WebMediaPlayer;
134 class WebMediaPlayerClient; 135 class WebMediaPlayerClient;
135 class WebMouseEvent; 136 class WebMouseEvent;
136 class WebPeerConnectionHandler; 137 class WebPeerConnectionHandler;
137 class WebPeerConnectionHandlerClient; 138 class WebPeerConnectionHandlerClient;
138 class WebSocketStreamHandle; 139 class WebSocketStreamHandle;
139 class WebSpeechInputController; 140 class WebSpeechInputController;
140 class WebSpeechInputListener; 141 class WebSpeechInputListener;
142 class WebSpeechRecognizer;
141 class WebStorageNamespace; 143 class WebStorageNamespace;
142 class WebTouchEvent; 144 class WebTouchEvent;
143 class WebURLLoader; 145 class WebURLLoader;
144 class WebURLRequest; 146 class WebURLRequest;
145 class WebUserMediaClient; 147 class WebUserMediaClient;
146 struct WebActiveWheelFlingParameters; 148 struct WebActiveWheelFlingParameters;
147 struct WebFileChooserParams; 149 struct WebFileChooserParams;
148 struct WebFindOptions; 150 struct WebFindOptions;
149 struct WebMediaPlayerAction; 151 struct WebMediaPlayerAction;
150 struct WebPluginAction; 152 struct WebPluginAction;
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 virtual int historyBackListCount(); 438 virtual int historyBackListCount();
437 virtual int historyForwardListCount(); 439 virtual int historyForwardListCount();
438 virtual void postAccessibilityNotification( 440 virtual void postAccessibilityNotification(
439 const WebKit::WebAccessibilityObject& obj, 441 const WebKit::WebAccessibilityObject& obj,
440 WebKit::WebAccessibilityNotification notification); 442 WebKit::WebAccessibilityNotification notification);
441 virtual void didUpdateInspectorSetting(const WebKit::WebString& key, 443 virtual void didUpdateInspectorSetting(const WebKit::WebString& key,
442 const WebKit::WebString& value); 444 const WebKit::WebString& value);
443 virtual WebKit::WebGeolocationClient* geolocationClient(); 445 virtual WebKit::WebGeolocationClient* geolocationClient();
444 virtual WebKit::WebSpeechInputController* speechInputController( 446 virtual WebKit::WebSpeechInputController* speechInputController(
445 WebKit::WebSpeechInputListener* listener); 447 WebKit::WebSpeechInputListener* listener);
448 virtual WebKit::WebSpeechRecognizer* speechRecognizer();
446 virtual WebKit::WebDeviceOrientationClient* deviceOrientationClient(); 449 virtual WebKit::WebDeviceOrientationClient* deviceOrientationClient();
447 virtual void zoomLimitsChanged(double minimum_level, double maximum_level); 450 virtual void zoomLimitsChanged(double minimum_level, double maximum_level);
448 virtual void zoomLevelChanged(); 451 virtual void zoomLevelChanged();
449 virtual void registerProtocolHandler(const WebKit::WebString& scheme, 452 virtual void registerProtocolHandler(const WebKit::WebString& scheme,
450 const WebKit::WebString& base_url, 453 const WebKit::WebString& base_url,
451 const WebKit::WebString& url, 454 const WebKit::WebString& url,
452 const WebKit::WebString& title); 455 const WebKit::WebString& title);
453 virtual WebKit::WebPageVisibilityState visibilityState() const; 456 virtual WebKit::WebPageVisibilityState visibilityState() const;
454 virtual WebKit::WebUserMediaClient* userMediaClient(); 457 virtual WebKit::WebUserMediaClient* userMediaClient();
455 458
(...skipping 788 matching lines...) Expand 10 before | Expand all | Expand 10 after
1244 1247
1245 // The geolocation dispatcher attached to this view, lazily initialized. 1248 // The geolocation dispatcher attached to this view, lazily initialized.
1246 GeolocationDispatcher* geolocation_dispatcher_; 1249 GeolocationDispatcher* geolocation_dispatcher_;
1247 1250
1248 // The intents host attached to this view. Not lazily initialized. 1251 // The intents host attached to this view. Not lazily initialized.
1249 WebIntentsHost* intents_host_; 1252 WebIntentsHost* intents_host_;
1250 1253
1251 // The speech dispatcher attached to this view, lazily initialized. 1254 // The speech dispatcher attached to this view, lazily initialized.
1252 InputTagSpeechDispatcher* input_tag_speech_dispatcher_; 1255 InputTagSpeechDispatcher* input_tag_speech_dispatcher_;
1253 1256
1257 // The speech recognition dispatcher attached to this view, lazily
1258 // initialized.
1259 SpeechRecognitionDispatcher* speech_recognition_dispatcher_;
1260
1254 // Device orientation dispatcher attached to this view; lazily initialized. 1261 // Device orientation dispatcher attached to this view; lazily initialized.
1255 DeviceOrientationDispatcher* device_orientation_dispatcher_; 1262 DeviceOrientationDispatcher* device_orientation_dispatcher_;
1256 1263
1257 // MediaStream dispatcher attached to this view; lazily initialized. 1264 // MediaStream dispatcher attached to this view; lazily initialized.
1258 MediaStreamDispatcher* media_stream_dispatcher_; 1265 MediaStreamDispatcher* media_stream_dispatcher_;
1259 1266
1260 // MediaStreamImpl attached to this view; lazily initialized. 1267 // MediaStreamImpl attached to this view; lazily initialized.
1261 MediaStreamImpl* media_stream_impl_; 1268 MediaStreamImpl* media_stream_impl_;
1262 1269
1263 // Dispatches all P2P socket used by the renderer. 1270 // Dispatches all P2P socket used by the renderer.
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
1366 // bunch of stuff, you should probably create a helper class and put your 1373 // bunch of stuff, you should probably create a helper class and put your
1367 // data and methods on that to avoid bloating RenderView more. You can 1374 // data and methods on that to avoid bloating RenderView more. You can
1368 // use the Observer interface to filter IPC messages and receive frame change 1375 // use the Observer interface to filter IPC messages and receive frame change
1369 // notifications. 1376 // notifications.
1370 // --------------------------------------------------------------------------- 1377 // ---------------------------------------------------------------------------
1371 1378
1372 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1379 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1373 }; 1380 };
1374 1381
1375 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1382 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698