Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(285)

Unified Diff: content/browser/renderer_host/render_widget_helper.h

Issue 1303773002: Give the main frame a RenderWidget. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix merge conflicts Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_widget_helper.h
diff --git a/content/browser/renderer_host/render_widget_helper.h b/content/browser/renderer_host/render_widget_helper.h
index 18576a41a66f11f72d6c9c29a5571fe9b1ddb578..881dd506357d430a4a24072cb8fc875f5fd1a4b8 100644
--- a/content/browser/renderer_host/render_widget_helper.h
+++ b/content/browser/renderer_host/render_widget_helper.h
@@ -99,13 +99,13 @@ class RenderWidgetHelper
// IO THREAD ONLY -----------------------------------------------------------
- void CreateNewWindow(
- const ViewHostMsg_CreateWindow_Params& params,
- bool no_javascript_access,
- base::ProcessHandle render_process,
- int* route_id,
- int* main_frame_route_id,
- SessionStorageNamespace* session_storage_namespace);
+ void CreateNewWindow(const ViewHostMsg_CreateWindow_Params& params,
+ bool no_javascript_access,
+ base::ProcessHandle render_process,
+ int32_t* route_id,
+ int32_t* main_frame_route_id,
+ int32_t* main_frame_widget_route_id,
+ SessionStorageNamespace* session_storage_namespace);
void CreateNewWidget(int opener_id,
blink::WebPopupType popup_type,
int* route_id);
@@ -119,11 +119,11 @@ class RenderWidgetHelper
~RenderWidgetHelper();
// Called on the UI thread to finish creating a window.
- void OnCreateWindowOnUI(
- const ViewHostMsg_CreateWindow_Params& params,
- int route_id,
- int main_frame_route_id,
- SessionStorageNamespace* session_storage_namespace);
+ void OnCreateWindowOnUI(const ViewHostMsg_CreateWindow_Params& params,
+ int32_t route_id,
+ int32_t main_frame_route_id,
+ int32_t main_frame_widget_route_id,
+ SessionStorageNamespace* session_storage_namespace);
// Called on the IO thread after a window was created on the UI thread.
void OnResumeRequestsForView(int route_id);

Powered by Google App Engine
This is Rietveld 408576698