| 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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 void AccessibilityHitTest(const gfx::Point& point) override; | 141 void AccessibilityHitTest(const gfx::Point& point) override; |
| 142 void AccessibilityFatalError() override; | 142 void AccessibilityFatalError() override; |
| 143 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override; | 143 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override; |
| 144 gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() override; | 144 gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() override; |
| 145 BrowserAccessibilityManager* AccessibilityGetChildFrame( | 145 BrowserAccessibilityManager* AccessibilityGetChildFrame( |
| 146 int accessibility_node_id) override; | 146 int accessibility_node_id) override; |
| 147 BrowserAccessibility* AccessibilityGetParentFrame() override; | 147 BrowserAccessibility* AccessibilityGetParentFrame() override; |
| 148 | 148 |
| 149 // Creates a RenderFrame in the renderer process. Only called for | 149 // Creates a RenderFrame in the renderer process. Only called for |
| 150 // cross-process subframe navigations in --site-per-process. | 150 // cross-process subframe navigations in --site-per-process. |
| 151 bool CreateRenderFrame(int parent_routing_id); | 151 bool CreateRenderFrame(int parent_routing_id, int proxy_routing_id); |
| 152 | 152 |
| 153 // Returns whether the RenderFrame in the renderer process has been created | 153 // Returns whether the RenderFrame in the renderer process has been created |
| 154 // and still has a connection. This is valid for all frames. | 154 // and still has a connection. This is valid for all frames. |
| 155 bool IsRenderFrameLive(); | 155 bool IsRenderFrameLive(); |
| 156 | 156 |
| 157 // Tracks whether the RenderFrame for this RenderFrameHost has been created in | 157 // Tracks whether the RenderFrame for this RenderFrameHost has been created in |
| 158 // the renderer process. This is currently only used for subframes. | 158 // the renderer process. This is currently only used for subframes. |
| 159 // TODO(creis): Use this for main frames as well when RVH goes away. | 159 // TODO(creis): Use this for main frames as well when RVH goes away. |
| 160 void set_render_frame_created(bool created) { | 160 void set_render_frame_created(bool created) { |
| 161 render_frame_created_ = created; | 161 render_frame_created_ = created; |
| (...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 601 | 601 |
| 602 // NOTE: This must be the last member. | 602 // NOTE: This must be the last member. |
| 603 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 603 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
| 604 | 604 |
| 605 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 605 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
| 606 }; | 606 }; |
| 607 | 607 |
| 608 } // namespace content | 608 } // namespace content |
| 609 | 609 |
| 610 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 610 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
| OLD | NEW |