From 4e6419cf5374adda16f97be965b8b7e5b225224f Mon Sep 17 00:00:00 2001 From: "jorlow@chromium.org" Date: Fri, 15 Jan 2010 04:50:34 +0000 Subject: Introduce all the plumbing for Session Storage. This mostly consists of creating and tracking namespace ids in conjunction with the tabs. This is essentially just a bunch of dead code at the moment, but the next patch will get rid of the old way of generating/cloning IDs (initiated by the renderer) and instead use these IDs. TEST=none BUG=none Review URL: http://codereview.chromium.org/550017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36331 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/renderer/render_thread.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'chrome/renderer/render_thread.h') diff --git a/chrome/renderer/render_thread.h b/chrome/renderer/render_thread.h index bde662a..559b7dc 100644 --- a/chrome/renderer/render_thread.h +++ b/chrome/renderer/render_thread.h @@ -18,7 +18,7 @@ #include "build/build_config.h" #include "chrome/common/child_thread.h" #include "chrome/common/css_colors.h" -#include "chrome/common/dom_storage_type.h" +#include "chrome/common/dom_storage_common.h" #include "chrome/renderer/renderer_histogram_snapshots.h" #include "chrome/renderer/visitedlink_slave.h" #include "ipc/ipc_platform_file.h" @@ -40,6 +40,7 @@ class URLPattern; struct RendererPreferences; struct ViewMsg_DOMStorageEvent_Params; +struct ViewMsg_New_Params; struct WebPreferences; namespace WebKit { @@ -171,10 +172,7 @@ class RenderThread : public RenderThreadBase, const std::vector& permissions); void OnSetNextPageID(int32 next_page_id); void OnSetCSSColors(const std::vector& colors); - void OnCreateNewView(gfx::NativeViewId parent_hwnd, - const RendererPreferences& renderer_prefs, - const WebPreferences& webkit_prefs, - int32 view_id); + void OnCreateNewView(const ViewMsg_New_Params& params); void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); void OnSetCacheCapacities(size_t min_dead_capacity, size_t max_dead_capacity, -- cgit v1.1