| 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 struct WebPoint; | 114 struct WebPoint; |
| 115 struct WebWindowFeatures; | 115 struct WebWindowFeatures; |
| 116 | 116 |
| 117 #if defined(OS_ANDROID) | 117 #if defined(OS_ANDROID) |
| 118 class WebHitTestResult; | 118 class WebHitTestResult; |
| 119 #endif | 119 #endif |
| 120 } // namespace blink | 120 } // namespace blink |
| 121 | 121 |
| 122 namespace content { | 122 namespace content { |
| 123 | 123 |
| 124 class BrowserPluginManager; | |
| 125 class DevToolsAgent; | 124 class DevToolsAgent; |
| 126 class DocumentState; | 125 class DocumentState; |
| 127 class HistoryController; | 126 class HistoryController; |
| 128 class HistoryEntry; | 127 class HistoryEntry; |
| 129 class ImageResourceFetcher; | 128 class ImageResourceFetcher; |
| 130 class MouseLockDispatcher; | 129 class MouseLockDispatcher; |
| 131 class NavigationState; | 130 class NavigationState; |
| 132 class PageState; | 131 class PageState; |
| 133 class PepperPluginInstanceImpl; | 132 class PepperPluginInstanceImpl; |
| 134 class RenderViewImplTest; | 133 class RenderViewImplTest; |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 } | 197 } |
| 199 | 198 |
| 200 MouseLockDispatcher* mouse_lock_dispatcher() { | 199 MouseLockDispatcher* mouse_lock_dispatcher() { |
| 201 return mouse_lock_dispatcher_; | 200 return mouse_lock_dispatcher_; |
| 202 } | 201 } |
| 203 | 202 |
| 204 HistoryController* history_controller() { | 203 HistoryController* history_controller() { |
| 205 return history_controller_.get(); | 204 return history_controller_.get(); |
| 206 } | 205 } |
| 207 | 206 |
| 208 // Lazily initialize this view's BrowserPluginManager and return it. | |
| 209 BrowserPluginManager* GetBrowserPluginManager(); | |
| 210 | |
| 211 // Functions to add and remove observers for this object. | 207 // Functions to add and remove observers for this object. |
| 212 void AddObserver(RenderViewObserver* observer); | 208 void AddObserver(RenderViewObserver* observer); |
| 213 void RemoveObserver(RenderViewObserver* observer); | 209 void RemoveObserver(RenderViewObserver* observer); |
| 214 | 210 |
| 215 // Returns the StatsCollectionObserver associated with this view, or NULL | 211 // Returns the StatsCollectionObserver associated with this view, or NULL |
| 216 // if one wasn't created; | 212 // if one wasn't created; |
| 217 StatsCollectionObserver* GetStatsCollectionObserver() { | 213 StatsCollectionObserver* GetStatsCollectionObserver() { |
| 218 return stats_collection_observer_.get(); | 214 return stats_collection_observer_.get(); |
| 219 } | 215 } |
| 220 | 216 |
| (...skipping 735 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 956 scoped_ptr<RenderFrameImpl> main_render_frame_; | 952 scoped_ptr<RenderFrameImpl> main_render_frame_; |
| 957 | 953 |
| 958 // The next group of objects all implement RenderViewObserver, so are deleted | 954 // The next group of objects all implement RenderViewObserver, so are deleted |
| 959 // along with the RenderView automatically. This is why we just store | 955 // along with the RenderView automatically. This is why we just store |
| 960 // weak references. | 956 // weak references. |
| 961 | 957 |
| 962 // The speech recognition dispatcher attached to this view, lazily | 958 // The speech recognition dispatcher attached to this view, lazily |
| 963 // initialized. | 959 // initialized. |
| 964 SpeechRecognitionDispatcher* speech_recognition_dispatcher_; | 960 SpeechRecognitionDispatcher* speech_recognition_dispatcher_; |
| 965 | 961 |
| 966 // BrowserPluginManager attached to this view; lazily initialized. | |
| 967 scoped_refptr<BrowserPluginManager> browser_plugin_manager_; | |
| 968 | |
| 969 DevToolsAgent* devtools_agent_; | 962 DevToolsAgent* devtools_agent_; |
| 970 | 963 |
| 971 // Mouse Lock dispatcher attached to this view. | 964 // Mouse Lock dispatcher attached to this view. |
| 972 MouseLockDispatcher* mouse_lock_dispatcher_; | 965 MouseLockDispatcher* mouse_lock_dispatcher_; |
| 973 | 966 |
| 974 scoped_ptr<HistoryController> history_controller_; | 967 scoped_ptr<HistoryController> history_controller_; |
| 975 | 968 |
| 976 #if defined(OS_ANDROID) | 969 #if defined(OS_ANDROID) |
| 977 // Android Specific --------------------------------------------------------- | 970 // Android Specific --------------------------------------------------------- |
| 978 | 971 |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1075 // use the Observer interface to filter IPC messages and receive frame change | 1068 // use the Observer interface to filter IPC messages and receive frame change |
| 1076 // notifications. | 1069 // notifications. |
| 1077 // --------------------------------------------------------------------------- | 1070 // --------------------------------------------------------------------------- |
| 1078 | 1071 |
| 1079 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1072 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1080 }; | 1073 }; |
| 1081 | 1074 |
| 1082 } // namespace content | 1075 } // namespace content |
| 1083 | 1076 |
| 1084 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1077 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |