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

Unified Diff: chrome/common/render_messages_internal.h

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/common/render_messages.h ('k') | chrome/renderer/render_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/render_messages_internal.h
===================================================================
--- chrome/common/render_messages_internal.h (revision 36257)
+++ chrome/common/render_messages_internal.h (working copy)
@@ -72,11 +72,8 @@
// Tells the renderer to create a new view.
// This message is slightly different, the view it takes is the view to
// create, the message itself is sent as a non-view control message.
- IPC_MESSAGE_CONTROL4(ViewMsg_New,
- gfx::NativeViewId, /* parent window */
- RendererPreferences,
- WebPreferences,
- int32 /* view id */)
+ IPC_MESSAGE_CONTROL1(ViewMsg_New,
+ ViewMsg_New_Params)
// Tells the renderer to set its maximum cache size to the supplied value
IPC_MESSAGE_CONTROL3(ViewMsg_SetCacheCapacities,
@@ -845,10 +842,12 @@
// Sent by the renderer when it is creating a new window. The browser creates
// a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is
// MSG_ROUTING_NONE, the view couldn't be created.
- IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_CreateWindow,
+ IPC_SYNC_MESSAGE_CONTROL3_2(ViewHostMsg_CreateWindow,
int /* opener_id */,
bool /* user_gesture */,
- int /* route_id */)
+ int64 /* session_storage_namespace_id */,
+ int /* route_id */,
+ int64 /* cloned_session_storage_namespace_id */)
// Similar to ViewHostMsg_CreateWindow, except used for sub-widgets, like
// <select> dropdowns. This message is sent to the TabContents that
@@ -1839,17 +1838,6 @@
IPC_MESSAGE_CONTROL1(ViewHostMsg_SetCacheMode,
bool /* enabled */)
- // There's one LocalStorage namespace per profile and one SessionStorage
- // namespace per tab. This will find or create the proper namespace.
- IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_DOMStorageNamespaceId,
- DOMStorageType /* storage_type */,
- int64 /* new_namespace_id */)
-
- // Used by SessionStorage to clone a namespace per the spec.
- IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_DOMStorageCloneNamespaceId,
- int64 /* namespace_id to clone */,
- int64 /* new_namespace_id */)
-
// Get the storage area id for a particular origin within a namespace.
IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_DOMStorageStorageAreaId,
int64 /* namespace_id */,
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/renderer/render_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698