| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "content/renderer/render_view.h" | 5 #include "content/renderer/render_view.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <cmath> | 8 #include <cmath> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 #include "content/common/notification_service.h" | 36 #include "content/common/notification_service.h" |
| 37 #include "content/common/pepper_messages.h" | 37 #include "content/common/pepper_messages.h" |
| 38 #include "content/common/pepper_plugin_registry.h" | 38 #include "content/common/pepper_plugin_registry.h" |
| 39 #include "content/common/quota_dispatcher.h" | 39 #include "content/common/quota_dispatcher.h" |
| 40 #include "content/common/renderer_preferences.h" | 40 #include "content/common/renderer_preferences.h" |
| 41 #include "content/common/request_extra_data.h" | 41 #include "content/common/request_extra_data.h" |
| 42 #include "content/common/url_constants.h" | 42 #include "content/common/url_constants.h" |
| 43 #include "content/common/view_messages.h" | 43 #include "content/common/view_messages.h" |
| 44 #include "content/public/renderer/content_renderer_client.h" | 44 #include "content/public/renderer/content_renderer_client.h" |
| 45 #include "content/public/renderer/render_view_observer.h" | 45 #include "content/public/renderer/render_view_observer.h" |
| 46 #include "content/public/renderer/render_view_visitor.h" |
| 46 #include "content/renderer/device_orientation_dispatcher.h" | 47 #include "content/renderer/device_orientation_dispatcher.h" |
| 47 #include "content/renderer/devtools_agent.h" | 48 #include "content/renderer/devtools_agent.h" |
| 48 #include "content/renderer/external_popup_menu.h" | 49 #include "content/renderer/external_popup_menu.h" |
| 49 #include "content/renderer/geolocation_dispatcher.h" | 50 #include "content/renderer/geolocation_dispatcher.h" |
| 50 #include "content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.h" | 51 #include "content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.h" |
| 51 #include "content/renderer/intents_dispatcher.h" | 52 #include "content/renderer/intents_dispatcher.h" |
| 52 #include "content/renderer/load_progress_tracker.h" | 53 #include "content/renderer/load_progress_tracker.h" |
| 53 #include "content/renderer/media/audio_message_filter.h" | 54 #include "content/renderer/media/audio_message_filter.h" |
| 54 #include "content/renderer/media/audio_renderer_impl.h" | 55 #include "content/renderer/media/audio_renderer_impl.h" |
| 55 #include "content/renderer/media/media_stream_impl.h" | 56 #include "content/renderer/media/media_stream_impl.h" |
| 56 #include "content/renderer/media/render_media_log.h" | 57 #include "content/renderer/media/render_media_log.h" |
| 57 #include "content/renderer/mhtml_generator.h" | 58 #include "content/renderer/mhtml_generator.h" |
| 58 #include "content/renderer/navigation_state.h" | 59 #include "content/renderer/navigation_state.h" |
| 59 #include "content/renderer/notification_provider.h" | 60 #include "content/renderer/notification_provider.h" |
| 60 #include "content/renderer/p2p/socket_dispatcher.h" | 61 #include "content/renderer/p2p/socket_dispatcher.h" |
| 61 #include "content/renderer/plugin_channel_host.h" | 62 #include "content/renderer/plugin_channel_host.h" |
| 62 #include "content/renderer/render_process.h" | 63 #include "content/renderer/render_process.h" |
| 63 #include "content/renderer/render_thread.h" | 64 #include "content/renderer/render_thread.h" |
| 64 #include "content/renderer/render_view_visitor.h" | |
| 65 #include "content/renderer/render_widget_fullscreen_pepper.h" | 65 #include "content/renderer/render_widget_fullscreen_pepper.h" |
| 66 #include "content/renderer/renderer_accessibility.h" | 66 #include "content/renderer/renderer_accessibility.h" |
| 67 #include "content/renderer/renderer_webapplicationcachehost_impl.h" | 67 #include "content/renderer/renderer_webapplicationcachehost_impl.h" |
| 68 #include "content/renderer/renderer_webstoragenamespace_impl.h" | 68 #include "content/renderer/renderer_webstoragenamespace_impl.h" |
| 69 #include "content/renderer/speech_input_dispatcher.h" | 69 #include "content/renderer/speech_input_dispatcher.h" |
| 70 #include "content/renderer/text_input_client_observer.h" | 70 #include "content/renderer/text_input_client_observer.h" |
| 71 #include "content/renderer/v8_value_converter.h" | 71 #include "content/renderer/v8_value_converter.h" |
| 72 #include "content/renderer/web_ui_bindings.h" | 72 #include "content/renderer/web_ui_bindings.h" |
| 73 #include "content/renderer/webplugin_delegate_proxy.h" | 73 #include "content/renderer/webplugin_delegate_proxy.h" |
| 74 #include "content/renderer/websharedworker_proxy.h" | 74 #include "content/renderer/websharedworker_proxy.h" |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 using WebKit::WebVector; | 231 using WebKit::WebVector; |
| 232 using WebKit::WebView; | 232 using WebKit::WebView; |
| 233 using WebKit::WebWidget; | 233 using WebKit::WebWidget; |
| 234 using WebKit::WebWindowFeatures; | 234 using WebKit::WebWindowFeatures; |
| 235 using WebKit::WebWorker; | 235 using WebKit::WebWorker; |
| 236 using WebKit::WebWorkerClient; | 236 using WebKit::WebWorkerClient; |
| 237 using appcache::WebApplicationCacheHostImpl; | 237 using appcache::WebApplicationCacheHostImpl; |
| 238 using base::Time; | 238 using base::Time; |
| 239 using base::TimeDelta; | 239 using base::TimeDelta; |
| 240 using content::RenderViewObserver; | 240 using content::RenderViewObserver; |
| 241 using content::RenderViewVisitor; |
| 241 using webkit_glue::AltErrorPageResourceFetcher; | 242 using webkit_glue::AltErrorPageResourceFetcher; |
| 242 using webkit_glue::FormField; | 243 using webkit_glue::FormField; |
| 243 using webkit_glue::PasswordForm; | 244 using webkit_glue::PasswordForm; |
| 244 using webkit_glue::PasswordFormDomManager; | 245 using webkit_glue::PasswordFormDomManager; |
| 245 using webkit_glue::ResourceFetcher; | 246 using webkit_glue::ResourceFetcher; |
| 246 | 247 |
| 247 //----------------------------------------------------------------------------- | 248 //----------------------------------------------------------------------------- |
| 248 | 249 |
| 249 typedef std::map<WebKit::WebView*, RenderView*> ViewMap; | 250 typedef std::map<WebKit::WebView*, RenderView*> ViewMap; |
| 250 static base::LazyInstance<ViewMap> g_view_map(base::LINKER_INITIALIZED); | 251 static base::LazyInstance<ViewMap> g_view_map(base::LINKER_INITIALIZED); |
| (...skipping 4152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4403 } | 4404 } |
| 4404 | 4405 |
| 4405 void RenderView::OnLockMouseACK(bool succeeded) { | 4406 void RenderView::OnLockMouseACK(bool succeeded) { |
| 4406 pepper_delegate_.OnLockMouseACK(succeeded); | 4407 pepper_delegate_.OnLockMouseACK(succeeded); |
| 4407 } | 4408 } |
| 4408 | 4409 |
| 4409 void RenderView::OnMouseLockLost() { | 4410 void RenderView::OnMouseLockLost() { |
| 4410 pepper_delegate_.OnMouseLockLost(); | 4411 pepper_delegate_.OnMouseLockLost(); |
| 4411 } | 4412 } |
| 4412 | 4413 |
| OLD | NEW |