| 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 class ImageResourceFetcher; | 127 class ImageResourceFetcher; |
| 128 class MouseLockDispatcher; | 128 class MouseLockDispatcher; |
| 129 class NavigationState; | 129 class NavigationState; |
| 130 class PageState; | 130 class PageState; |
| 131 class PepperPluginInstanceImpl; | 131 class PepperPluginInstanceImpl; |
| 132 class RenderViewImplTest; | 132 class RenderViewImplTest; |
| 133 class RenderViewObserver; | 133 class RenderViewObserver; |
| 134 class RenderViewTest; | 134 class RenderViewTest; |
| 135 class RendererDateTimePicker; | 135 class RendererDateTimePicker; |
| 136 class RendererWebColorChooserImpl; | 136 class RendererWebColorChooserImpl; |
| 137 class SpeechRecognitionDispatcher; | |
| 138 class WebPluginDelegateProxy; | 137 class WebPluginDelegateProxy; |
| 139 struct DropData; | 138 struct DropData; |
| 140 struct FaviconURL; | 139 struct FaviconURL; |
| 141 struct FileChooserParams; | 140 struct FileChooserParams; |
| 142 struct FileChooserFileInfo; | 141 struct FileChooserFileInfo; |
| 143 struct RenderViewImplParams; | 142 struct RenderViewImplParams; |
| 144 | 143 |
| 145 #if defined(OS_ANDROID) | 144 #if defined(OS_ANDROID) |
| 146 class WebMediaPlayerProxyAndroid; | 145 class WebMediaPlayerProxyAndroid; |
| 147 #endif | 146 #endif |
| (...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 409 #if defined(OS_ANDROID) || defined(TOOLKIT_VIEWS) | 408 #if defined(OS_ANDROID) || defined(TOOLKIT_VIEWS) |
| 410 virtual bool didTapMultipleTargets( | 409 virtual bool didTapMultipleTargets( |
| 411 const blink::WebSize& inner_viewport_offset, | 410 const blink::WebSize& inner_viewport_offset, |
| 412 const blink::WebRect& touch_rect, | 411 const blink::WebRect& touch_rect, |
| 413 const blink::WebVector<blink::WebRect>& target_rects); | 412 const blink::WebVector<blink::WebRect>& target_rects); |
| 414 #endif | 413 #endif |
| 415 virtual blink::WebString acceptLanguages(); | 414 virtual blink::WebString acceptLanguages(); |
| 416 virtual void navigateBackForwardSoon(int offset); | 415 virtual void navigateBackForwardSoon(int offset); |
| 417 virtual int historyBackListCount(); | 416 virtual int historyBackListCount(); |
| 418 virtual int historyForwardListCount(); | 417 virtual int historyForwardListCount(); |
| 419 virtual blink::WebSpeechRecognizer* speechRecognizer(); | |
| 420 virtual void zoomLimitsChanged(double minimum_level, double maximum_level); | 418 virtual void zoomLimitsChanged(double minimum_level, double maximum_level); |
| 421 virtual void zoomLevelChanged(); | 419 virtual void zoomLevelChanged(); |
| 422 virtual double zoomLevelToZoomFactor(double zoom_level) const; | 420 virtual double zoomLevelToZoomFactor(double zoom_level) const; |
| 423 virtual double zoomFactorToZoomLevel(double factor) const; | 421 virtual double zoomFactorToZoomLevel(double factor) const; |
| 424 virtual void registerProtocolHandler(const blink::WebString& scheme, | 422 virtual void registerProtocolHandler(const blink::WebString& scheme, |
| 425 const blink::WebURL& url, | 423 const blink::WebURL& url, |
| 426 const blink::WebString& title); | 424 const blink::WebString& title); |
| 427 virtual void unregisterProtocolHandler(const blink::WebString& scheme, | 425 virtual void unregisterProtocolHandler(const blink::WebString& scheme, |
| 428 const blink::WebURL& url); | 426 const blink::WebURL& url); |
| 429 virtual blink::WebPageVisibilityState visibilityState() const; | 427 virtual blink::WebPageVisibilityState visibilityState() const; |
| (...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 982 gfx::Rect rect_for_scrolled_focused_editable_node_; | 980 gfx::Rect rect_for_scrolled_focused_editable_node_; |
| 983 | 981 |
| 984 // Helper objects ------------------------------------------------------------ | 982 // Helper objects ------------------------------------------------------------ |
| 985 | 983 |
| 986 scoped_ptr<RenderFrameImpl> main_render_frame_; | 984 scoped_ptr<RenderFrameImpl> main_render_frame_; |
| 987 | 985 |
| 988 // The next group of objects all implement RenderViewObserver, so are deleted | 986 // The next group of objects all implement RenderViewObserver, so are deleted |
| 989 // along with the RenderView automatically. This is why we just store | 987 // along with the RenderView automatically. This is why we just store |
| 990 // weak references. | 988 // weak references. |
| 991 | 989 |
| 992 // The speech recognition dispatcher attached to this view, lazily | |
| 993 // initialized. | |
| 994 SpeechRecognitionDispatcher* speech_recognition_dispatcher_; | |
| 995 | |
| 996 // BrowserPluginManager attached to this view; lazily initialized. | 990 // BrowserPluginManager attached to this view; lazily initialized. |
| 997 scoped_refptr<BrowserPluginManager> browser_plugin_manager_; | 991 scoped_refptr<BrowserPluginManager> browser_plugin_manager_; |
| 998 | 992 |
| 999 DevToolsAgent* devtools_agent_; | 993 DevToolsAgent* devtools_agent_; |
| 1000 | 994 |
| 1001 // Mouse Lock dispatcher attached to this view. | 995 // Mouse Lock dispatcher attached to this view. |
| 1002 MouseLockDispatcher* mouse_lock_dispatcher_; | 996 MouseLockDispatcher* mouse_lock_dispatcher_; |
| 1003 | 997 |
| 1004 scoped_ptr<HistoryController> history_controller_; | 998 scoped_ptr<HistoryController> history_controller_; |
| 1005 | 999 |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1105 // use the Observer interface to filter IPC messages and receive frame change | 1099 // use the Observer interface to filter IPC messages and receive frame change |
| 1106 // notifications. | 1100 // notifications. |
| 1107 // --------------------------------------------------------------------------- | 1101 // --------------------------------------------------------------------------- |
| 1108 | 1102 |
| 1109 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1103 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1110 }; | 1104 }; |
| 1111 | 1105 |
| 1112 } // namespace content | 1106 } // namespace content |
| 1113 | 1107 |
| 1114 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1108 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |