OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/browser/frame_host/cross_process_frame_connector.h" | 5 #include "content/browser/frame_host/cross_process_frame_connector.h" |
6 | 6 |
7 #include "cc/surfaces/surface.h" | 7 #include "cc/surfaces/surface.h" |
8 #include "cc/surfaces/surface_hittest.h" | 8 #include "cc/surfaces/surface_hittest.h" |
9 #include "cc/surfaces/surface_manager.h" | 9 #include "cc/surfaces/surface_manager.h" |
10 #include "content/browser/compositor/surface_utils.h" | 10 #include "content/browser/compositor/surface_utils.h" |
11 #include "content/browser/frame_host/frame_tree.h" | 11 #include "content/browser/frame_host/frame_tree.h" |
12 #include "content/browser/frame_host/frame_tree_node.h" | 12 #include "content/browser/frame_host/frame_tree_node.h" |
13 #include "content/browser/frame_host/render_frame_host_manager.h" | 13 #include "content/browser/frame_host/render_frame_host_manager.h" |
14 #include "content/browser/frame_host/render_frame_proxy_host.h" | 14 #include "content/browser/frame_host/render_frame_proxy_host.h" |
15 #include "content/browser/frame_host/render_widget_host_view_child_frame.h" | 15 #include "content/browser/frame_host/render_widget_host_view_child_frame.h" |
16 #include "content/browser/renderer_host/render_view_host_impl.h" | 16 #include "content/browser/renderer_host/render_view_host_impl.h" |
17 #include "content/browser/renderer_host/render_widget_host_delegate.h" | 17 #include "content/browser/renderer_host/render_widget_host_delegate.h" |
18 #include "content/browser/renderer_host/render_widget_host_impl.h" | 18 #include "content/browser/renderer_host/render_widget_host_impl.h" |
19 #include "content/browser/renderer_host/render_widget_host_input_event_router.h" | 19 #include "content/browser/renderer_host/render_widget_host_input_event_router.h" |
20 #include "content/browser/renderer_host/render_widget_host_view_base.h" | 20 #include "content/browser/renderer_host/render_widget_host_view_base.h" |
21 #include "content/common/frame_messages.h" | 21 #include "content/common/frame_messages.h" |
22 #include "gpu/ipc/common/gpu_messages.h" | 22 #include "gpu/ipc/common/gpu_messages.h" |
23 #include "third_party/WebKit/public/web/WebInputEvent.h" | 23 #include "third_party/WebKit/public/platform/WebInputEvent.h" |
24 #include "ui/gfx/geometry/dip_util.h" | 24 #include "ui/gfx/geometry/dip_util.h" |
25 | 25 |
26 namespace content { | 26 namespace content { |
27 | 27 |
28 CrossProcessFrameConnector::CrossProcessFrameConnector( | 28 CrossProcessFrameConnector::CrossProcessFrameConnector( |
29 RenderFrameProxyHost* frame_proxy_in_parent_renderer) | 29 RenderFrameProxyHost* frame_proxy_in_parent_renderer) |
30 : frame_proxy_in_parent_renderer_(frame_proxy_in_parent_renderer), | 30 : frame_proxy_in_parent_renderer_(frame_proxy_in_parent_renderer), |
31 view_(nullptr), | 31 view_(nullptr), |
32 is_scroll_bubbling_(false) {} | 32 is_scroll_bubbling_(false) {} |
33 | 33 |
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
378 | 378 |
379 if (parent) { | 379 if (parent) { |
380 return static_cast<RenderWidgetHostViewBase*>( | 380 return static_cast<RenderWidgetHostViewBase*>( |
381 parent->current_frame_host()->GetView()); | 381 parent->current_frame_host()->GetView()); |
382 } | 382 } |
383 | 383 |
384 return nullptr; | 384 return nullptr; |
385 } | 385 } |
386 | 386 |
387 } // namespace content | 387 } // namespace content |
OLD | NEW |