| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 // as the name of the new top-level frame. | 240 // as the name of the new top-level frame. |
| 241 // The |opener_route_id| parameter indicates which RenderView created this | 241 // The |opener_route_id| parameter indicates which RenderView created this |
| 242 // (MSG_ROUTING_NONE if none). If |max_page_id| is larger than -1, the | 242 // (MSG_ROUTING_NONE if none). If |max_page_id| is larger than -1, the |
| 243 // RenderView is told to start issuing page IDs at |max_page_id| + 1. | 243 // RenderView is told to start issuing page IDs at |max_page_id| + 1. |
| 244 // If this RenderView is a guest, the embedder's process ID is also passed in | 244 // If this RenderView is a guest, the embedder's process ID is also passed in |
| 245 // so that the RenderView's process can establish a channel with its embedder | 245 // so that the RenderView's process can establish a channel with its embedder |
| 246 // if it's not already established. | 246 // if it's not already established. |
| 247 virtual bool CreateRenderView(const string16& frame_name, | 247 virtual bool CreateRenderView(const string16& frame_name, |
| 248 int opener_route_id, | 248 int opener_route_id, |
| 249 int32 max_page_id, | 249 int32 max_page_id, |
| 250 int embedder_process_id); | 250 int embedder_process_id, |
| 251 int embedder_container_id); |
| 251 | 252 |
| 252 base::TerminationStatus render_view_termination_status() const { | 253 base::TerminationStatus render_view_termination_status() const { |
| 253 return render_view_termination_status_; | 254 return render_view_termination_status_; |
| 254 } | 255 } |
| 255 | 256 |
| 256 // Sends the given navigation message. Use this rather than sending it | 257 // Sends the given navigation message. Use this rather than sending it |
| 257 // yourself since this does the internal bookkeeping described below. This | 258 // yourself since this does the internal bookkeeping described below. This |
| 258 // function takes ownership of the provided message pointer. | 259 // function takes ownership of the provided message pointer. |
| 259 // | 260 // |
| 260 // If a cross-site request is in progress, we may be suspended while waiting | 261 // If a cross-site request is in progress, we may be suspended while waiting |
| (...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 652 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 653 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
| 653 }; | 654 }; |
| 654 | 655 |
| 655 #if defined(COMPILER_MSVC) | 656 #if defined(COMPILER_MSVC) |
| 656 #pragma warning(pop) | 657 #pragma warning(pop) |
| 657 #endif | 658 #endif |
| 658 | 659 |
| 659 } // namespace content | 660 } // namespace content |
| 660 | 661 |
| 661 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 662 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| OLD | NEW |