| 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 #include "content/renderer/render_view_impl.h" | 5 #include "content/renderer/render_view_impl.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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 #include "content/public/common/content_constants.h" | 48 #include "content/public/common/content_constants.h" |
| 49 #include "content/public/common/content_switches.h" | 49 #include "content/public/common/content_switches.h" |
| 50 #include "content/public/common/context_menu_params.h" | 50 #include "content/public/common/context_menu_params.h" |
| 51 #include "content/public/common/file_chooser_params.h" | 51 #include "content/public/common/file_chooser_params.h" |
| 52 #include "content/public/common/url_constants.h" | 52 #include "content/public/common/url_constants.h" |
| 53 #include "content/public/renderer/content_renderer_client.h" | 53 #include "content/public/renderer/content_renderer_client.h" |
| 54 #include "content/public/renderer/document_state.h" | 54 #include "content/public/renderer/document_state.h" |
| 55 #include "content/public/renderer/navigation_state.h" | 55 #include "content/public/renderer/navigation_state.h" |
| 56 #include "content/public/renderer/render_view_observer.h" | 56 #include "content/public/renderer/render_view_observer.h" |
| 57 #include "content/public/renderer/render_view_visitor.h" | 57 #include "content/public/renderer/render_view_visitor.h" |
| 58 #include "content/renderer/browser_plugin/old/browser_plugin.h" | 58 #include "content/renderer/browser_plugin/old/old_browser_plugin.h" |
| 59 #include "content/renderer/browser_plugin/old/browser_plugin_channel_manager.h" | 59 #include "content/renderer/browser_plugin/old/browser_plugin_channel_manager.h" |
| 60 #include "content/renderer/browser_plugin/old/browser_plugin_constants.h" | 60 #include "content/renderer/browser_plugin/old/browser_plugin_constants.h" |
| 61 #include "content/renderer/browser_plugin/old/guest_to_embedder_channel.h" | 61 #include "content/renderer/browser_plugin/old/guest_to_embedder_channel.h" |
| 62 #include "content/renderer/device_orientation_dispatcher.h" | 62 #include "content/renderer/device_orientation_dispatcher.h" |
| 63 #include "content/renderer/devtools_agent.h" | 63 #include "content/renderer/devtools_agent.h" |
| 64 #include "content/renderer/dom_automation_controller.h" | 64 #include "content/renderer/dom_automation_controller.h" |
| 65 #include "content/renderer/dom_storage/webstoragenamespace_impl.h" | 65 #include "content/renderer/dom_storage/webstoragenamespace_impl.h" |
| 66 #include "content/renderer/external_popup_menu.h" | 66 #include "content/renderer/external_popup_menu.h" |
| 67 #include "content/renderer/geolocation_dispatcher.h" | 67 #include "content/renderer/geolocation_dispatcher.h" |
| 68 #include "content/renderer/gpu/compositor_thread.h" | 68 #include "content/renderer/gpu/compositor_thread.h" |
| (...skipping 5698 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5767 bool RenderViewImpl::WebWidgetHandlesCompositorScheduling() const { | 5767 bool RenderViewImpl::WebWidgetHandlesCompositorScheduling() const { |
| 5768 return !!RenderThreadImpl::current()->compositor_thread(); | 5768 return !!RenderThreadImpl::current()->compositor_thread(); |
| 5769 } | 5769 } |
| 5770 | 5770 |
| 5771 void RenderViewImpl::OnJavaBridgeInit() { | 5771 void RenderViewImpl::OnJavaBridgeInit() { |
| 5772 DCHECK(!java_bridge_dispatcher_); | 5772 DCHECK(!java_bridge_dispatcher_); |
| 5773 #if defined(ENABLE_JAVA_BRIDGE) | 5773 #if defined(ENABLE_JAVA_BRIDGE) |
| 5774 java_bridge_dispatcher_ = new JavaBridgeDispatcher(this); | 5774 java_bridge_dispatcher_ = new JavaBridgeDispatcher(this); |
| 5775 #endif | 5775 #endif |
| 5776 } | 5776 } |
| OLD | NEW |