| 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 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 // TestRenderViewHost. | 197 // TestRenderViewHost. |
| 198 // The |opener_route_id| parameter indicates which RenderView created this | 198 // The |opener_route_id| parameter indicates which RenderView created this |
| 199 // (MSG_ROUTING_NONE if none). If |max_page_id| is larger than -1, the | 199 // (MSG_ROUTING_NONE if none). If |max_page_id| is larger than -1, the |
| 200 // RenderView is told to start issuing page IDs at |max_page_id| + 1. | 200 // RenderView is told to start issuing page IDs at |max_page_id| + 1. |
| 201 // |window_was_created_with_opener| is true if this top-level frame was | 201 // |window_was_created_with_opener| is true if this top-level frame was |
| 202 // created with an opener. (The opener may have been closed since.) | 202 // created with an opener. (The opener may have been closed since.) |
| 203 // The |proxy_route_id| is only used when creating a RenderView in swapped out | 203 // The |proxy_route_id| is only used when creating a RenderView in swapped out |
| 204 // state. |replicated_frame_state| contains replicated data for the | 204 // state. |replicated_frame_state| contains replicated data for the |
| 205 // top-level frame, such as its name and sandbox flags. | 205 // top-level frame, such as its name and sandbox flags. |
| 206 virtual bool CreateRenderView( | 206 virtual bool CreateRenderView( |
| 207 int opener_route_id, | 207 int opener_frame_route_id, |
| 208 int proxy_route_id, | 208 int proxy_route_id, |
| 209 int32 max_page_id, | 209 int32 max_page_id, |
| 210 const FrameReplicationState& replicated_frame_state, | 210 const FrameReplicationState& replicated_frame_state, |
| 211 bool window_was_created_with_opener); | 211 bool window_was_created_with_opener); |
| 212 | 212 |
| 213 base::TerminationStatus render_view_termination_status() const { | 213 base::TerminationStatus render_view_termination_status() const { |
| 214 return render_view_termination_status_; | 214 return render_view_termination_status_; |
| 215 } | 215 } |
| 216 | 216 |
| 217 // Tracks whether this RenderViewHost is in an active state (rather than | 217 // Tracks whether this RenderViewHost is in an active state (rather than |
| (...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 472 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 472 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
| 473 }; | 473 }; |
| 474 | 474 |
| 475 #if defined(COMPILER_MSVC) | 475 #if defined(COMPILER_MSVC) |
| 476 #pragma warning(pop) | 476 #pragma warning(pop) |
| 477 #endif | 477 #endif |
| 478 | 478 |
| 479 } // namespace content | 479 } // namespace content |
| 480 | 480 |
| 481 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 481 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| OLD | NEW |