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

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: Small fix (forgot break in switch) 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 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 virtual int historyBackListCount(); 428 virtual int historyBackListCount();
427 virtual int historyForwardListCount(); 429 virtual int historyForwardListCount();
428 virtual void postAccessibilityNotification( 430 virtual void postAccessibilityNotification(
429 const WebKit::WebAccessibilityObject& obj, 431 const WebKit::WebAccessibilityObject& obj,
430 WebKit::WebAccessibilityNotification notification); 432 WebKit::WebAccessibilityNotification notification);
431 virtual void didUpdateInspectorSetting(const WebKit::WebString& key, 433 virtual void didUpdateInspectorSetting(const WebKit::WebString& key,
432 const WebKit::WebString& value); 434 const WebKit::WebString& value);
433 virtual WebKit::WebGeolocationClient* geolocationClient(); 435 virtual WebKit::WebGeolocationClient* geolocationClient();
434 virtual WebKit::WebSpeechInputController* speechInputController( 436 virtual WebKit::WebSpeechInputController* speechInputController(
435 WebKit::WebSpeechInputListener* listener); 437 WebKit::WebSpeechInputListener* listener);
438 virtual WebKit::WebSpeechRecognizer* speechRecognizer();
436 virtual WebKit::WebDeviceOrientationClient* deviceOrientationClient(); 439 virtual WebKit::WebDeviceOrientationClient* deviceOrientationClient();
437 virtual void zoomLimitsChanged(double minimum_level, double maximum_level); 440 virtual void zoomLimitsChanged(double minimum_level, double maximum_level);
438 virtual void zoomLevelChanged(); 441 virtual void zoomLevelChanged();
439 virtual void registerProtocolHandler(const WebKit::WebString& scheme, 442 virtual void registerProtocolHandler(const WebKit::WebString& scheme,
440 const WebKit::WebString& base_url, 443 const WebKit::WebString& base_url,
441 const WebKit::WebString& url, 444 const WebKit::WebString& url,
442 const WebKit::WebString& title); 445 const WebKit::WebString& title);
443 virtual WebKit::WebPageVisibilityState visibilityState() const; 446 virtual WebKit::WebPageVisibilityState visibilityState() const;
444 virtual WebKit::WebUserMediaClient* userMediaClient(); 447 virtual WebKit::WebUserMediaClient* userMediaClient();
445 448
(...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after
1231 1234
1232 // The geolocation dispatcher attached to this view, lazily initialized. 1235 // The geolocation dispatcher attached to this view, lazily initialized.
1233 GeolocationDispatcher* geolocation_dispatcher_; 1236 GeolocationDispatcher* geolocation_dispatcher_;
1234 1237
1235 // The intents host attached to this view. Not lazily initialized. 1238 // The intents host attached to this view. Not lazily initialized.
1236 WebIntentsHost* intents_host_; 1239 WebIntentsHost* intents_host_;
1237 1240
1238 // The speech dispatcher attached to this view, lazily initialized. 1241 // The speech dispatcher attached to this view, lazily initialized.
1239 InputTagSpeechDispatcher* input_tag_speech_dispatcher_; 1242 InputTagSpeechDispatcher* input_tag_speech_dispatcher_;
1240 1243
1244 // The speech recognition dispatcher attached to this view, lazily
1245 // initialized.
1246 SpeechRecognitionDispatcher* speech_recognition_dispatcher_;
1247
1241 // Device orientation dispatcher attached to this view; lazily initialized. 1248 // Device orientation dispatcher attached to this view; lazily initialized.
1242 DeviceOrientationDispatcher* device_orientation_dispatcher_; 1249 DeviceOrientationDispatcher* device_orientation_dispatcher_;
1243 1250
1244 // MediaStream dispatcher attached to this view; lazily initialized. 1251 // MediaStream dispatcher attached to this view; lazily initialized.
1245 MediaStreamDispatcher* media_stream_dispatcher_; 1252 MediaStreamDispatcher* media_stream_dispatcher_;
1246 1253
1247 // MediaStreamImpl attached to this view; lazily initialized. 1254 // MediaStreamImpl attached to this view; lazily initialized.
1248 MediaStreamImpl* media_stream_impl_; 1255 MediaStreamImpl* media_stream_impl_;
1249 1256
1250 // Dispatches all P2P socket used by the renderer. 1257 // Dispatches all P2P socket used by the renderer.
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
1353 // bunch of stuff, you should probably create a helper class and put your 1360 // bunch of stuff, you should probably create a helper class and put your
1354 // data and methods on that to avoid bloating RenderView more. You can 1361 // data and methods on that to avoid bloating RenderView more. You can
1355 // use the Observer interface to filter IPC messages and receive frame change 1362 // use the Observer interface to filter IPC messages and receive frame change
1356 // notifications. 1363 // notifications.
1357 // --------------------------------------------------------------------------- 1364 // ---------------------------------------------------------------------------
1358 1365
1359 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1366 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1360 }; 1367 };
1361 1368
1362 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1369 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698