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

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: 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 class MediaStreamImpl; 73 class MediaStreamImpl;
74 class MouseLockDispatcher; 74 class MouseLockDispatcher;
75 class NotificationProvider; 75 class NotificationProvider;
76 class PepperDeviceTest; 76 class PepperDeviceTest;
77 struct PP_NetAddress_Private; 77 struct PP_NetAddress_Private;
78 class RenderWidgetFullscreenPepper; 78 class RenderWidgetFullscreenPepper;
79 class RendererAccessibility; 79 class RendererAccessibility;
80 class RendererWebColorChooserImpl; 80 class RendererWebColorChooserImpl;
81 class SkBitmap; 81 class SkBitmap;
82 class InputTagSpeechDispatcher; 82 class InputTagSpeechDispatcher;
83 class SpeechRecognitionDispatcher;
83 struct ViewMsg_Navigate_Params; 84 struct ViewMsg_Navigate_Params;
84 struct ViewMsg_StopFinding_Params; 85 struct ViewMsg_StopFinding_Params;
85 struct ViewMsg_SwapOut_Params; 86 struct ViewMsg_SwapOut_Params;
86 struct WebDropData; 87 struct WebDropData;
87 class WebIntentsHost; 88 class WebIntentsHost;
88 class WebPluginDelegateProxy; 89 class WebPluginDelegateProxy;
89 class WebUIBindings; 90 class WebUIBindings;
90 91
91 namespace content { 92 namespace content {
92 class DocumentState; 93 class DocumentState;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 class WebPeerConnection00Handler; 129 class WebPeerConnection00Handler;
129 class WebPeerConnection00HandlerClient; 130 class WebPeerConnection00HandlerClient;
130 class WebMediaPlayer; 131 class WebMediaPlayer;
131 class WebMediaPlayerClient; 132 class WebMediaPlayerClient;
132 class WebMouseEvent; 133 class WebMouseEvent;
133 class WebPeerConnectionHandler; 134 class WebPeerConnectionHandler;
134 class WebPeerConnectionHandlerClient; 135 class WebPeerConnectionHandlerClient;
135 class WebSocketStreamHandle; 136 class WebSocketStreamHandle;
136 class WebSpeechInputController; 137 class WebSpeechInputController;
137 class WebSpeechInputListener; 138 class WebSpeechInputListener;
139 class WebSpeechRecognizer;
138 class WebStorageNamespace; 140 class WebStorageNamespace;
139 class WebTouchEvent; 141 class WebTouchEvent;
140 class WebURLLoader; 142 class WebURLLoader;
141 class WebURLRequest; 143 class WebURLRequest;
142 class WebUserMediaClient; 144 class WebUserMediaClient;
143 struct WebActiveWheelFlingParameters; 145 struct WebActiveWheelFlingParameters;
144 struct WebFileChooserParams; 146 struct WebFileChooserParams;
145 struct WebFindOptions; 147 struct WebFindOptions;
146 struct WebMediaPlayerAction; 148 struct WebMediaPlayerAction;
147 struct WebPluginAction; 149 struct WebPluginAction;
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 virtual int historyBackListCount(); 425 virtual int historyBackListCount();
424 virtual int historyForwardListCount(); 426 virtual int historyForwardListCount();
425 virtual void postAccessibilityNotification( 427 virtual void postAccessibilityNotification(
426 const WebKit::WebAccessibilityObject& obj, 428 const WebKit::WebAccessibilityObject& obj,
427 WebKit::WebAccessibilityNotification notification); 429 WebKit::WebAccessibilityNotification notification);
428 virtual void didUpdateInspectorSetting(const WebKit::WebString& key, 430 virtual void didUpdateInspectorSetting(const WebKit::WebString& key,
429 const WebKit::WebString& value); 431 const WebKit::WebString& value);
430 virtual WebKit::WebGeolocationClient* geolocationClient(); 432 virtual WebKit::WebGeolocationClient* geolocationClient();
431 virtual WebKit::WebSpeechInputController* speechInputController( 433 virtual WebKit::WebSpeechInputController* speechInputController(
432 WebKit::WebSpeechInputListener* listener); 434 WebKit::WebSpeechInputListener* listener);
435 virtual WebKit::WebSpeechRecognizer* speechRecognizer();
433 virtual WebKit::WebDeviceOrientationClient* deviceOrientationClient(); 436 virtual WebKit::WebDeviceOrientationClient* deviceOrientationClient();
434 virtual void zoomLimitsChanged(double minimum_level, double maximum_level); 437 virtual void zoomLimitsChanged(double minimum_level, double maximum_level);
435 virtual void zoomLevelChanged(); 438 virtual void zoomLevelChanged();
436 virtual void registerProtocolHandler(const WebKit::WebString& scheme, 439 virtual void registerProtocolHandler(const WebKit::WebString& scheme,
437 const WebKit::WebString& base_url, 440 const WebKit::WebString& base_url,
438 const WebKit::WebString& url, 441 const WebKit::WebString& url,
439 const WebKit::WebString& title); 442 const WebKit::WebString& title);
440 virtual WebKit::WebPageVisibilityState visibilityState() const; 443 virtual WebKit::WebPageVisibilityState visibilityState() const;
441 virtual WebKit::WebUserMediaClient* userMediaClient(); 444 virtual WebKit::WebUserMediaClient* userMediaClient();
442 445
(...skipping 766 matching lines...) Expand 10 before | Expand all | Expand 10 after
1209 1212
1210 // The geolocation dispatcher attached to this view, lazily initialized. 1213 // The geolocation dispatcher attached to this view, lazily initialized.
1211 GeolocationDispatcher* geolocation_dispatcher_; 1214 GeolocationDispatcher* geolocation_dispatcher_;
1212 1215
1213 // The intents host attached to this view. Not lazily initialized. 1216 // The intents host attached to this view. Not lazily initialized.
1214 WebIntentsHost* intents_host_; 1217 WebIntentsHost* intents_host_;
1215 1218
1216 // The speech dispatcher attached to this view, lazily initialized. 1219 // The speech dispatcher attached to this view, lazily initialized.
1217 InputTagSpeechDispatcher* input_tag_speech_dispatcher_; 1220 InputTagSpeechDispatcher* input_tag_speech_dispatcher_;
1218 1221
1222 // The speech dispatcher attached to this view, lazily initialized.
hans 2012/05/11 16:56:32 can we call it "The speech recognition dispatcher"
Primiano Tucci (use gerrit) 2012/05/14 12:58:22 Done.
1223 SpeechRecognitionDispatcher* speech_recognition_dispatcher_;
1224
1219 // Device orientation dispatcher attached to this view; lazily initialized. 1225 // Device orientation dispatcher attached to this view; lazily initialized.
1220 DeviceOrientationDispatcher* device_orientation_dispatcher_; 1226 DeviceOrientationDispatcher* device_orientation_dispatcher_;
1221 1227
1222 // MediaStream dispatcher attached to this view; lazily initialized. 1228 // MediaStream dispatcher attached to this view; lazily initialized.
1223 MediaStreamDispatcher* media_stream_dispatcher_; 1229 MediaStreamDispatcher* media_stream_dispatcher_;
1224 1230
1225 // MediaStreamImpl attached to this view; lazily initialized. 1231 // MediaStreamImpl attached to this view; lazily initialized.
1226 MediaStreamImpl* media_stream_impl_; 1232 MediaStreamImpl* media_stream_impl_;
1227 1233
1228 // Dispatches all P2P socket used by the renderer. 1234 // Dispatches all P2P socket used by the renderer.
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
1331 // bunch of stuff, you should probably create a helper class and put your 1337 // bunch of stuff, you should probably create a helper class and put your
1332 // data and methods on that to avoid bloating RenderView more. You can 1338 // data and methods on that to avoid bloating RenderView more. You can
1333 // use the Observer interface to filter IPC messages and receive frame change 1339 // use the Observer interface to filter IPC messages and receive frame change
1334 // notifications. 1340 // notifications.
1335 // --------------------------------------------------------------------------- 1341 // ---------------------------------------------------------------------------
1336 1342
1337 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1343 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1338 }; 1344 };
1339 1345
1340 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1346 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698