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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
226 // Set up the RenderView child process. Virtual because it is overridden by | 226 // Set up the RenderView child process. Virtual because it is overridden by |
227 // TestRenderViewHost. If the |frame_name| parameter is non-empty, it is used | 227 // TestRenderViewHost. If the |frame_name| parameter is non-empty, it is used |
228 // as the name of the new top-level frame. | 228 // as the name of the new top-level frame. |
229 // The |opener_route_id| parameter indicates which RenderView created this | 229 // The |opener_route_id| parameter indicates which RenderView created this |
230 // (MSG_ROUTING_NONE if none). If |max_page_id| is larger than -1, the | 230 // (MSG_ROUTING_NONE if none). If |max_page_id| is larger than -1, the |
231 // RenderView is told to start issuing page IDs at |max_page_id| + 1. | 231 // RenderView is told to start issuing page IDs at |max_page_id| + 1. |
232 // |window_was_created_with_opener| is true if this top-level frame was | 232 // |window_was_created_with_opener| is true if this top-level frame was |
233 // created with an opener. (The opener may have been closed since.) | 233 // created with an opener. (The opener may have been closed since.) |
234 virtual bool CreateRenderView(const base::string16& frame_name, | 234 virtual bool CreateRenderView(const base::string16& frame_name, |
235 int opener_route_id, | 235 int opener_route_id, |
236 int proxy_routing_id, | |
Charlie Reis
2014/05/15 00:32:50
This feels strange to me. A RenderFrameProxy is f
nasko
2014/05/15 18:47:13
As discussed, there isn't any other way that will
| |
236 int32 max_page_id, | 237 int32 max_page_id, |
237 bool window_was_created_with_opener); | 238 bool window_was_created_with_opener); |
238 | 239 |
239 base::TerminationStatus render_view_termination_status() const { | 240 base::TerminationStatus render_view_termination_status() const { |
240 return render_view_termination_status_; | 241 return render_view_termination_status_; |
241 } | 242 } |
242 | 243 |
243 // Returns the content specific prefs for this RenderViewHost. | 244 // Returns the content specific prefs for this RenderViewHost. |
244 WebPreferences GetWebkitPrefs(const GURL& url); | 245 WebPreferences GetWebkitPrefs(const GURL& url); |
245 | 246 |
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
645 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 646 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
646 }; | 647 }; |
647 | 648 |
648 #if defined(COMPILER_MSVC) | 649 #if defined(COMPILER_MSVC) |
649 #pragma warning(pop) | 650 #pragma warning(pop) |
650 #endif | 651 #endif |
651 | 652 |
652 } // namespace content | 653 } // namespace content |
653 | 654 |
654 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 655 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
OLD | NEW |