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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 | 126 |
127 namespace content { | 127 namespace content { |
128 class BrowserPluginManager; | 128 class BrowserPluginManager; |
129 class DevToolsAgent; | 129 class DevToolsAgent; |
130 class DocumentState; | 130 class DocumentState; |
131 class ExternalPopupMenu; | 131 class ExternalPopupMenu; |
132 class FaviconHelper; | 132 class FaviconHelper; |
133 class HistoryController; | 133 class HistoryController; |
134 class HistoryEntry; | 134 class HistoryEntry; |
135 class ImageResourceFetcher; | 135 class ImageResourceFetcher; |
136 class MediaStreamDispatcher; | |
137 class MouseLockDispatcher; | 136 class MouseLockDispatcher; |
138 class NavigationState; | 137 class NavigationState; |
139 class PepperPluginInstanceImpl; | 138 class PepperPluginInstanceImpl; |
140 class RenderViewImplTest; | 139 class RenderViewImplTest; |
141 class RenderViewObserver; | 140 class RenderViewObserver; |
142 class RenderViewTest; | 141 class RenderViewTest; |
143 class RendererAccessibility; | 142 class RendererAccessibility; |
144 class RendererDateTimePicker; | 143 class RendererDateTimePicker; |
145 class RendererWebColorChooserImpl; | 144 class RendererWebColorChooserImpl; |
146 class SpeechRecognitionDispatcher; | 145 class SpeechRecognitionDispatcher; |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 const RendererPreferences& renderer_preferences() const { | 213 const RendererPreferences& renderer_preferences() const { |
215 return renderer_preferences_; | 214 return renderer_preferences_; |
216 } | 215 } |
217 | 216 |
218 void set_send_content_state_immediately(bool value) { | 217 void set_send_content_state_immediately(bool value) { |
219 send_content_state_immediately_ = value; | 218 send_content_state_immediately_ = value; |
220 } | 219 } |
221 | 220 |
222 RenderFrameImpl* main_render_frame() { return main_render_frame_.get(); } | 221 RenderFrameImpl* main_render_frame() { return main_render_frame_.get(); } |
223 | 222 |
224 // TODO(jam): move to RenderFrameImpl | |
225 MediaStreamDispatcher* media_stream_dispatcher() { | |
226 return media_stream_dispatcher_; | |
227 } | |
228 | |
229 AccessibilityMode accessibility_mode() { | 223 AccessibilityMode accessibility_mode() { |
230 return accessibility_mode_; | 224 return accessibility_mode_; |
231 } | 225 } |
232 | 226 |
233 RendererAccessibility* renderer_accessibility() { | 227 RendererAccessibility* renderer_accessibility() { |
234 return renderer_accessibility_; | 228 return renderer_accessibility_; |
235 } | 229 } |
236 | 230 |
237 MouseLockDispatcher* mouse_lock_dispatcher() { | 231 MouseLockDispatcher* mouse_lock_dispatcher() { |
238 return mouse_lock_dispatcher_; | 232 return mouse_lock_dispatcher_; |
(...skipping 800 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1039 scoped_ptr<RenderFrameImpl> main_render_frame_; | 1033 scoped_ptr<RenderFrameImpl> main_render_frame_; |
1040 | 1034 |
1041 // The next group of objects all implement RenderViewObserver, so are deleted | 1035 // The next group of objects all implement RenderViewObserver, so are deleted |
1042 // along with the RenderView automatically. This is why we just store | 1036 // along with the RenderView automatically. This is why we just store |
1043 // weak references. | 1037 // weak references. |
1044 | 1038 |
1045 // The speech recognition dispatcher attached to this view, lazily | 1039 // The speech recognition dispatcher attached to this view, lazily |
1046 // initialized. | 1040 // initialized. |
1047 SpeechRecognitionDispatcher* speech_recognition_dispatcher_; | 1041 SpeechRecognitionDispatcher* speech_recognition_dispatcher_; |
1048 | 1042 |
1049 // MediaStream dispatcher attached to this view; lazily initialized. | |
1050 MediaStreamDispatcher* media_stream_dispatcher_; | |
1051 | |
1052 // BrowserPluginManager attached to this view; lazily initialized. | 1043 // BrowserPluginManager attached to this view; lazily initialized. |
1053 scoped_refptr<BrowserPluginManager> browser_plugin_manager_; | 1044 scoped_refptr<BrowserPluginManager> browser_plugin_manager_; |
1054 | 1045 |
1055 DevToolsAgent* devtools_agent_; | 1046 DevToolsAgent* devtools_agent_; |
1056 | 1047 |
1057 // The current accessibility mode. | 1048 // The current accessibility mode. |
1058 AccessibilityMode accessibility_mode_; | 1049 AccessibilityMode accessibility_mode_; |
1059 | 1050 |
1060 // Only valid if |accessibility_mode_| is anything other than | 1051 // Only valid if |accessibility_mode_| is anything other than |
1061 // AccessibilityModeOff. | 1052 // AccessibilityModeOff. |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1173 // use the Observer interface to filter IPC messages and receive frame change | 1164 // use the Observer interface to filter IPC messages and receive frame change |
1174 // notifications. | 1165 // notifications. |
1175 // --------------------------------------------------------------------------- | 1166 // --------------------------------------------------------------------------- |
1176 | 1167 |
1177 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1168 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1178 }; | 1169 }; |
1179 | 1170 |
1180 } // namespace content | 1171 } // namespace content |
1181 | 1172 |
1182 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1173 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |