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

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: Fixed according to Hans review. 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 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 virtual int historyBackListCount(); 427 virtual int historyBackListCount();
426 virtual int historyForwardListCount(); 428 virtual int historyForwardListCount();
427 virtual void postAccessibilityNotification( 429 virtual void postAccessibilityNotification(
428 const WebKit::WebAccessibilityObject& obj, 430 const WebKit::WebAccessibilityObject& obj,
429 WebKit::WebAccessibilityNotification notification); 431 WebKit::WebAccessibilityNotification notification);
430 virtual void didUpdateInspectorSetting(const WebKit::WebString& key, 432 virtual void didUpdateInspectorSetting(const WebKit::WebString& key,
431 const WebKit::WebString& value); 433 const WebKit::WebString& value);
432 virtual WebKit::WebGeolocationClient* geolocationClient(); 434 virtual WebKit::WebGeolocationClient* geolocationClient();
433 virtual WebKit::WebSpeechInputController* speechInputController( 435 virtual WebKit::WebSpeechInputController* speechInputController(
434 WebKit::WebSpeechInputListener* listener); 436 WebKit::WebSpeechInputListener* listener);
437 virtual WebKit::WebSpeechRecognizer* speechRecognizer();
435 virtual WebKit::WebDeviceOrientationClient* deviceOrientationClient(); 438 virtual WebKit::WebDeviceOrientationClient* deviceOrientationClient();
436 virtual void zoomLimitsChanged(double minimum_level, double maximum_level); 439 virtual void zoomLimitsChanged(double minimum_level, double maximum_level);
437 virtual void zoomLevelChanged(); 440 virtual void zoomLevelChanged();
438 virtual void registerProtocolHandler(const WebKit::WebString& scheme, 441 virtual void registerProtocolHandler(const WebKit::WebString& scheme,
439 const WebKit::WebString& base_url, 442 const WebKit::WebString& base_url,
440 const WebKit::WebString& url, 443 const WebKit::WebString& url,
441 const WebKit::WebString& title); 444 const WebKit::WebString& title);
442 virtual WebKit::WebPageVisibilityState visibilityState() const; 445 virtual WebKit::WebPageVisibilityState visibilityState() const;
443 virtual WebKit::WebUserMediaClient* userMediaClient(); 446 virtual WebKit::WebUserMediaClient* userMediaClient();
444 447
(...skipping 776 matching lines...) Expand 10 before | Expand all | Expand 10 after
1221 1224
1222 // The geolocation dispatcher attached to this view, lazily initialized. 1225 // The geolocation dispatcher attached to this view, lazily initialized.
1223 GeolocationDispatcher* geolocation_dispatcher_; 1226 GeolocationDispatcher* geolocation_dispatcher_;
1224 1227
1225 // The intents host attached to this view. Not lazily initialized. 1228 // The intents host attached to this view. Not lazily initialized.
1226 WebIntentsHost* intents_host_; 1229 WebIntentsHost* intents_host_;
1227 1230
1228 // The speech dispatcher attached to this view, lazily initialized. 1231 // The speech dispatcher attached to this view, lazily initialized.
1229 InputTagSpeechDispatcher* input_tag_speech_dispatcher_; 1232 InputTagSpeechDispatcher* input_tag_speech_dispatcher_;
1230 1233
1234 // The speech recognition dispatcher attached to this view, lazily
1235 // initialized.
1236 SpeechRecognitionDispatcher* speech_recognition_dispatcher_;
1237
1231 // Device orientation dispatcher attached to this view; lazily initialized. 1238 // Device orientation dispatcher attached to this view; lazily initialized.
1232 DeviceOrientationDispatcher* device_orientation_dispatcher_; 1239 DeviceOrientationDispatcher* device_orientation_dispatcher_;
1233 1240
1234 // MediaStream dispatcher attached to this view; lazily initialized. 1241 // MediaStream dispatcher attached to this view; lazily initialized.
1235 MediaStreamDispatcher* media_stream_dispatcher_; 1242 MediaStreamDispatcher* media_stream_dispatcher_;
1236 1243
1237 // MediaStreamImpl attached to this view; lazily initialized. 1244 // MediaStreamImpl attached to this view; lazily initialized.
1238 MediaStreamImpl* media_stream_impl_; 1245 MediaStreamImpl* media_stream_impl_;
1239 1246
1240 // Dispatches all P2P socket used by the renderer. 1247 // Dispatches all P2P socket used by the renderer.
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
1343 // bunch of stuff, you should probably create a helper class and put your 1350 // bunch of stuff, you should probably create a helper class and put your
1344 // data and methods on that to avoid bloating RenderView more. You can 1351 // data and methods on that to avoid bloating RenderView more. You can
1345 // use the Observer interface to filter IPC messages and receive frame change 1352 // use the Observer interface to filter IPC messages and receive frame change
1346 // notifications. 1353 // notifications.
1347 // --------------------------------------------------------------------------- 1354 // ---------------------------------------------------------------------------
1348 1355
1349 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1356 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1350 }; 1357 };
1351 1358
1352 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1359 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698