| 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 HistoryEntry; | 127 class HistoryEntry; |
| 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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 391 #if defined(OS_ANDROID) || defined(TOOLKIT_VIEWS) | 390 #if defined(OS_ANDROID) || defined(TOOLKIT_VIEWS) |
| 392 virtual bool didTapMultipleTargets( | 391 virtual bool didTapMultipleTargets( |
| 393 const blink::WebSize& inner_viewport_offset, | 392 const blink::WebSize& inner_viewport_offset, |
| 394 const blink::WebRect& touch_rect, | 393 const blink::WebRect& touch_rect, |
| 395 const blink::WebVector<blink::WebRect>& target_rects); | 394 const blink::WebVector<blink::WebRect>& target_rects); |
| 396 #endif | 395 #endif |
| 397 virtual blink::WebString acceptLanguages(); | 396 virtual blink::WebString acceptLanguages(); |
| 398 virtual void navigateBackForwardSoon(int offset); | 397 virtual void navigateBackForwardSoon(int offset); |
| 399 virtual int historyBackListCount(); | 398 virtual int historyBackListCount(); |
| 400 virtual int historyForwardListCount(); | 399 virtual int historyForwardListCount(); |
| 401 virtual blink::WebSpeechRecognizer* speechRecognizer(); | |
| 402 virtual void zoomLimitsChanged(double minimum_level, double maximum_level); | 400 virtual void zoomLimitsChanged(double minimum_level, double maximum_level); |
| 403 virtual void zoomLevelChanged(); | 401 virtual void zoomLevelChanged(); |
| 404 virtual double zoomLevelToZoomFactor(double zoom_level) const; | 402 virtual double zoomLevelToZoomFactor(double zoom_level) const; |
| 405 virtual double zoomFactorToZoomLevel(double factor) const; | 403 virtual double zoomFactorToZoomLevel(double factor) const; |
| 406 virtual void registerProtocolHandler(const blink::WebString& scheme, | 404 virtual void registerProtocolHandler(const blink::WebString& scheme, |
| 407 const blink::WebURL& url, | 405 const blink::WebURL& url, |
| 408 const blink::WebString& title); | 406 const blink::WebString& title); |
| 409 virtual void unregisterProtocolHandler(const blink::WebString& scheme, | 407 virtual void unregisterProtocolHandler(const blink::WebString& scheme, |
| 410 const blink::WebURL& url); | 408 const blink::WebURL& url); |
| 411 virtual blink::WebPageVisibilityState visibilityState() const; | 409 virtual blink::WebPageVisibilityState visibilityState() const; |
| (...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 942 gfx::Rect rect_for_scrolled_focused_editable_node_; | 940 gfx::Rect rect_for_scrolled_focused_editable_node_; |
| 943 | 941 |
| 944 // Helper objects ------------------------------------------------------------ | 942 // Helper objects ------------------------------------------------------------ |
| 945 | 943 |
| 946 scoped_ptr<RenderFrameImpl> main_render_frame_; | 944 scoped_ptr<RenderFrameImpl> main_render_frame_; |
| 947 | 945 |
| 948 // The next group of objects all implement RenderViewObserver, so are deleted | 946 // The next group of objects all implement RenderViewObserver, so are deleted |
| 949 // along with the RenderView automatically. This is why we just store | 947 // along with the RenderView automatically. This is why we just store |
| 950 // weak references. | 948 // weak references. |
| 951 | 949 |
| 952 // The speech recognition dispatcher attached to this view, lazily | |
| 953 // initialized. | |
| 954 SpeechRecognitionDispatcher* speech_recognition_dispatcher_; | |
| 955 | |
| 956 DevToolsAgent* devtools_agent_; | 950 DevToolsAgent* devtools_agent_; |
| 957 | 951 |
| 958 // Mouse Lock dispatcher attached to this view. | 952 // Mouse Lock dispatcher attached to this view. |
| 959 MouseLockDispatcher* mouse_lock_dispatcher_; | 953 MouseLockDispatcher* mouse_lock_dispatcher_; |
| 960 | 954 |
| 961 scoped_ptr<HistoryController> history_controller_; | 955 scoped_ptr<HistoryController> history_controller_; |
| 962 | 956 |
| 963 #if defined(OS_ANDROID) | 957 #if defined(OS_ANDROID) |
| 964 // Android Specific --------------------------------------------------------- | 958 // Android Specific --------------------------------------------------------- |
| 965 | 959 |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1062 // use the Observer interface to filter IPC messages and receive frame change | 1056 // use the Observer interface to filter IPC messages and receive frame change |
| 1063 // notifications. | 1057 // notifications. |
| 1064 // --------------------------------------------------------------------------- | 1058 // --------------------------------------------------------------------------- |
| 1065 | 1059 |
| 1066 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1060 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1067 }; | 1061 }; |
| 1068 | 1062 |
| 1069 } // namespace content | 1063 } // namespace content |
| 1070 | 1064 |
| 1071 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1065 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |