OLD | NEW |
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 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 class ImageResourceFetcher; | 129 class ImageResourceFetcher; |
130 class MouseLockDispatcher; | 130 class MouseLockDispatcher; |
131 class NavigationState; | 131 class NavigationState; |
132 class PageState; | 132 class PageState; |
133 class PepperPluginInstanceImpl; | 133 class PepperPluginInstanceImpl; |
134 class RenderViewImplTest; | 134 class RenderViewImplTest; |
135 class RenderViewObserver; | 135 class RenderViewObserver; |
136 class RenderViewTest; | 136 class RenderViewTest; |
137 class RendererDateTimePicker; | 137 class RendererDateTimePicker; |
138 class RendererWebColorChooserImpl; | 138 class RendererWebColorChooserImpl; |
139 class SpeechRecognitionDispatcher; | |
140 class WebPluginDelegateProxy; | 139 class WebPluginDelegateProxy; |
141 struct DropData; | 140 struct DropData; |
142 struct FaviconURL; | 141 struct FaviconURL; |
143 struct FileChooserParams; | 142 struct FileChooserParams; |
144 struct FileChooserFileInfo; | 143 struct FileChooserFileInfo; |
145 struct RenderViewImplParams; | 144 struct RenderViewImplParams; |
146 | 145 |
147 #if defined(OS_ANDROID) | 146 #if defined(OS_ANDROID) |
148 class WebMediaPlayerProxyAndroid; | 147 class WebMediaPlayerProxyAndroid; |
149 #endif | 148 #endif |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
397 #if defined(OS_ANDROID) || defined(TOOLKIT_VIEWS) | 396 #if defined(OS_ANDROID) || defined(TOOLKIT_VIEWS) |
398 virtual bool didTapMultipleTargets( | 397 virtual bool didTapMultipleTargets( |
399 const blink::WebSize& inner_viewport_offset, | 398 const blink::WebSize& inner_viewport_offset, |
400 const blink::WebRect& touch_rect, | 399 const blink::WebRect& touch_rect, |
401 const blink::WebVector<blink::WebRect>& target_rects); | 400 const blink::WebVector<blink::WebRect>& target_rects); |
402 #endif | 401 #endif |
403 virtual blink::WebString acceptLanguages(); | 402 virtual blink::WebString acceptLanguages(); |
404 virtual void navigateBackForwardSoon(int offset); | 403 virtual void navigateBackForwardSoon(int offset); |
405 virtual int historyBackListCount(); | 404 virtual int historyBackListCount(); |
406 virtual int historyForwardListCount(); | 405 virtual int historyForwardListCount(); |
407 virtual blink::WebSpeechRecognizer* speechRecognizer(); | |
408 virtual void zoomLimitsChanged(double minimum_level, double maximum_level); | 406 virtual void zoomLimitsChanged(double minimum_level, double maximum_level); |
409 virtual void zoomLevelChanged(); | 407 virtual void zoomLevelChanged(); |
410 virtual double zoomLevelToZoomFactor(double zoom_level) const; | 408 virtual double zoomLevelToZoomFactor(double zoom_level) const; |
411 virtual double zoomFactorToZoomLevel(double factor) const; | 409 virtual double zoomFactorToZoomLevel(double factor) const; |
412 virtual void registerProtocolHandler(const blink::WebString& scheme, | 410 virtual void registerProtocolHandler(const blink::WebString& scheme, |
413 const blink::WebURL& url, | 411 const blink::WebURL& url, |
414 const blink::WebString& title); | 412 const blink::WebString& title); |
415 virtual void unregisterProtocolHandler(const blink::WebString& scheme, | 413 virtual void unregisterProtocolHandler(const blink::WebString& scheme, |
416 const blink::WebURL& url); | 414 const blink::WebURL& url); |
417 virtual blink::WebPageVisibilityState visibilityState() const; | 415 virtual blink::WebPageVisibilityState visibilityState() const; |
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
966 gfx::Rect rect_for_scrolled_focused_editable_node_; | 964 gfx::Rect rect_for_scrolled_focused_editable_node_; |
967 | 965 |
968 // Helper objects ------------------------------------------------------------ | 966 // Helper objects ------------------------------------------------------------ |
969 | 967 |
970 scoped_ptr<RenderFrameImpl> main_render_frame_; | 968 scoped_ptr<RenderFrameImpl> main_render_frame_; |
971 | 969 |
972 // The next group of objects all implement RenderViewObserver, so are deleted | 970 // The next group of objects all implement RenderViewObserver, so are deleted |
973 // along with the RenderView automatically. This is why we just store | 971 // along with the RenderView automatically. This is why we just store |
974 // weak references. | 972 // weak references. |
975 | 973 |
976 // The speech recognition dispatcher attached to this view, lazily | |
977 // initialized. | |
978 SpeechRecognitionDispatcher* speech_recognition_dispatcher_; | |
979 | |
980 // BrowserPluginManager attached to this view; lazily initialized. | 974 // BrowserPluginManager attached to this view; lazily initialized. |
981 scoped_refptr<BrowserPluginManager> browser_plugin_manager_; | 975 scoped_refptr<BrowserPluginManager> browser_plugin_manager_; |
982 | 976 |
983 DevToolsAgent* devtools_agent_; | 977 DevToolsAgent* devtools_agent_; |
984 | 978 |
985 // Mouse Lock dispatcher attached to this view. | 979 // Mouse Lock dispatcher attached to this view. |
986 MouseLockDispatcher* mouse_lock_dispatcher_; | 980 MouseLockDispatcher* mouse_lock_dispatcher_; |
987 | 981 |
988 scoped_ptr<HistoryController> history_controller_; | 982 scoped_ptr<HistoryController> history_controller_; |
989 | 983 |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1089 // use the Observer interface to filter IPC messages and receive frame change | 1083 // use the Observer interface to filter IPC messages and receive frame change |
1090 // notifications. | 1084 // notifications. |
1091 // --------------------------------------------------------------------------- | 1085 // --------------------------------------------------------------------------- |
1092 | 1086 |
1093 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1087 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1094 }; | 1088 }; |
1095 | 1089 |
1096 } // namespace content | 1090 } // namespace content |
1097 | 1091 |
1098 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1092 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |