| 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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override; | 172 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override; |
| 173 gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() override; | 173 gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() override; |
| 174 BrowserAccessibilityManager* AccessibilityGetChildFrame( | 174 BrowserAccessibilityManager* AccessibilityGetChildFrame( |
| 175 int accessibility_node_id) override; | 175 int accessibility_node_id) override; |
| 176 void AccessibilityGetAllChildFrames( | 176 void AccessibilityGetAllChildFrames( |
| 177 std::vector<BrowserAccessibilityManager*>* child_frames) override; | 177 std::vector<BrowserAccessibilityManager*>* child_frames) override; |
| 178 BrowserAccessibility* AccessibilityGetParentFrame() override; | 178 BrowserAccessibility* AccessibilityGetParentFrame() override; |
| 179 | 179 |
| 180 // Creates a RenderFrame in the renderer process. Only called for | 180 // Creates a RenderFrame in the renderer process. Only called for |
| 181 // cross-process subframe navigations in --site-per-process. | 181 // cross-process subframe navigations in --site-per-process. |
| 182 bool CreateRenderFrame(int parent_routing_id, | 182 bool CreateRenderFrame(int parent_routing_id, int proxy_routing_id); |
| 183 int previous_sibling_routing_id, | |
| 184 int proxy_routing_id); | |
| 185 | 183 |
| 186 // Returns whether the RenderFrame in the renderer process has been created | 184 // Returns whether the RenderFrame in the renderer process has been created |
| 187 // and still has a connection. This is valid for all frames. | 185 // and still has a connection. This is valid for all frames. |
| 188 bool IsRenderFrameLive(); | 186 bool IsRenderFrameLive(); |
| 189 | 187 |
| 190 // Tracks whether the RenderFrame for this RenderFrameHost has been created in | 188 // Tracks whether the RenderFrame for this RenderFrameHost has been created in |
| 191 // the renderer process. This is currently only used for subframes. | 189 // the renderer process. This is currently only used for subframes. |
| 192 // TODO(creis): Use this for main frames as well when RVH goes away. | 190 // TODO(creis): Use this for main frames as well when RVH goes away. |
| 193 void SetRenderFrameCreated(bool created); | 191 void SetRenderFrameCreated(bool created); |
| 194 | 192 |
| (...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 728 | 726 |
| 729 // NOTE: This must be the last member. | 727 // NOTE: This must be the last member. |
| 730 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 728 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
| 731 | 729 |
| 732 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 730 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
| 733 }; | 731 }; |
| 734 | 732 |
| 735 } // namespace content | 733 } // namespace content |
| 736 | 734 |
| 737 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 735 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
| OLD | NEW |