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

Unified Diff: chrome/renderer/render_thread.cc

Issue 545054: Introduce all the plumbing for Session Storage. This mostly consists of crea... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 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
« no previous file with comments | « chrome/renderer/render_thread.h ('k') | chrome/renderer/render_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_thread.cc
===================================================================
--- chrome/renderer/render_thread.cc (revision 36257)
+++ chrome/renderer/render_thread.cc (working copy)
@@ -414,15 +414,13 @@
WebKit::setNamedColors(color_names.get(), web_colors.get(), num_colors);
}
-void RenderThread::OnCreateNewView(gfx::NativeViewId parent_hwnd,
- const RendererPreferences& renderer_prefs,
- const WebPreferences& webkit_prefs,
- int32 view_id) {
+void RenderThread::OnCreateNewView(const ViewMsg_New_Params& params) {
EnsureWebKitInitialized();
// When bringing in render_view, also bring in webkit's glue and jsbindings.
RenderView::Create(
- this, parent_hwnd, MSG_ROUTING_NONE, renderer_prefs,
- webkit_prefs, new SharedRenderViewCounter(0), view_id);
+ this, params.parent_window, MSG_ROUTING_NONE, params.renderer_preferences,
+ params.web_preferences, new SharedRenderViewCounter(0), params.view_id,
+ params.session_storage_namespace_id);
}
void RenderThread::OnSetCacheCapacities(size_t min_dead_capacity,
« no previous file with comments | « chrome/renderer/render_thread.h ('k') | chrome/renderer/render_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698