OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 gfx::Point AccessibilityOriginInScreen( | 184 gfx::Point AccessibilityOriginInScreen( |
185 const gfx::Rect& bounds) const override; | 185 const gfx::Rect& bounds) const override; |
186 void AccessibilityHitTest(const gfx::Point& point) override; | 186 void AccessibilityHitTest(const gfx::Point& point) override; |
187 void AccessibilitySetAccessibilityFocus(int acc_obj_id) override; | 187 void AccessibilitySetAccessibilityFocus(int acc_obj_id) override; |
188 void AccessibilityFatalError() override; | 188 void AccessibilityFatalError() override; |
189 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override; | 189 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override; |
190 gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() override; | 190 gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() override; |
191 | 191 |
192 // Creates a RenderFrame in the renderer process. Only called for | 192 // Creates a RenderFrame in the renderer process. Only called for |
193 // cross-process subframe navigations in --site-per-process. | 193 // cross-process subframe navigations in --site-per-process. |
194 bool CreateRenderFrame(int parent_routing_id, | 194 bool CreateRenderFrame(int proxy_routing_id, |
195 int previous_sibling_routing_id, | 195 int opener_routing_id, |
196 int proxy_routing_id); | 196 int parent_routing_id, |
| 197 int previous_sibling_routing_id); |
197 | 198 |
198 // Tracks whether the RenderFrame for this RenderFrameHost has been created in | 199 // Tracks whether the RenderFrame for this RenderFrameHost has been created in |
199 // the renderer process. This is currently only used for subframes. | 200 // the renderer process. This is currently only used for subframes. |
200 // TODO(creis): Use this for main frames as well when RVH goes away. | 201 // TODO(creis): Use this for main frames as well when RVH goes away. |
201 void SetRenderFrameCreated(bool created); | 202 void SetRenderFrameCreated(bool created); |
202 | 203 |
203 // Called for renderer-created windows to resume requests from this frame, | 204 // Called for renderer-created windows to resume requests from this frame, |
204 // after they are blocked in RenderWidgetHelper::CreateNewWindow. | 205 // after they are blocked in RenderWidgetHelper::CreateNewWindow. |
205 void Init(); | 206 void Init(); |
206 | 207 |
(...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
778 | 779 |
779 // NOTE: This must be the last member. | 780 // NOTE: This must be the last member. |
780 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 781 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
781 | 782 |
782 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 783 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
783 }; | 784 }; |
784 | 785 |
785 } // namespace content | 786 } // namespace content |
786 | 787 |
787 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 788 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
OLD | NEW |