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

Side by Side Diff: chrome/common/render_messages_internal.h

Issue 3108042: Support sending BlobData to browser process. Also support sending UploadData... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/render_messages.cc ('k') | chrome/common/webblobregistry_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 // This header is meant to be included in multiple passes, hence no traditional 5 // This header is meant to be included in multiple passes, hence no traditional
6 // header guard. 6 // header guard.
7 // See ipc_message_macros.h for explanation of the macros and passes. 7 // See ipc_message_macros.h for explanation of the macros and passes.
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 class SerializedScriptValue; 44 class SerializedScriptValue;
45 class SkBitmap; 45 class SkBitmap;
46 struct ThumbnailScore; 46 struct ThumbnailScore;
47 class WebCursor; 47 class WebCursor;
48 48
49 namespace IPC { 49 namespace IPC {
50 struct ChannelHandle; 50 struct ChannelHandle;
51 class Message; 51 class Message;
52 } 52 }
53 53
54 namespace webkit_blob {
55 class BlobData;
56 }
57
54 //----------------------------------------------------------------------------- 58 //-----------------------------------------------------------------------------
55 // RenderView messages 59 // RenderView messages
56 // These are messages sent from the browser to the renderer process. 60 // These are messages sent from the browser to the renderer process.
57 61
58 IPC_BEGIN_MESSAGES(View) 62 IPC_BEGIN_MESSAGES(View)
59 // Used typically when recovering from a crash. The new rendering process 63 // Used typically when recovering from a crash. The new rendering process
60 // sets its global "next page id" counter to the given value. 64 // sets its global "next page id" counter to the given value.
61 IPC_MESSAGE_CONTROL1(ViewMsg_SetNextPageID, 65 IPC_MESSAGE_CONTROL1(ViewMsg_SetNextPageID,
62 int32 /* next_page_id */) 66 int32 /* next_page_id */)
63 67
(...skipping 2639 matching lines...) Expand 10 before | Expand all | Expand 10 after
2703 // WebFrameClient::openFileSystem() message. 2707 // WebFrameClient::openFileSystem() message.
2704 IPC_MESSAGE_CONTROL1(ViewHostMsg_OpenFileSystemRequest, 2708 IPC_MESSAGE_CONTROL1(ViewHostMsg_OpenFileSystemRequest,
2705 ViewHostMsg_OpenFileSystemRequest_Params) 2709 ViewHostMsg_OpenFileSystemRequest_Params)
2706 2710
2707 // WebFileSystem::move() message. 2711 // WebFileSystem::move() message.
2708 IPC_MESSAGE_CONTROL3(ViewHostMsg_FileSystem_Move, 2712 IPC_MESSAGE_CONTROL3(ViewHostMsg_FileSystem_Move,
2709 int /* request_id */, 2713 int /* request_id */,
2710 string16 /* src path */, 2714 string16 /* src path */,
2711 string16 /* dest path */) 2715 string16 /* dest path */)
2712 2716
2717 //---------------------------------------------------------------------------
2718 // Blob messages:
2719
2720 // Registers a blob URL referring to the specified blob data.
2721 IPC_MESSAGE_CONTROL2(ViewHostMsg_RegisterBlobUrl,
2722 GURL /* url */,
2723 scoped_refptr<webkit_blob::BlobData> /* blob_data */)
2724
2725 // Registers a blob URL referring to the blob data identified by the specified
2726 // source URL.
2727 IPC_MESSAGE_CONTROL2(ViewHostMsg_RegisterBlobUrlFrom,
2728 GURL /* url */,
2729 GURL /* src_url */)
2730
2731 // Unregister a blob URL.
2732 IPC_MESSAGE_CONTROL1(ViewHostMsg_UnregisterBlobUrl, GURL /* url */)
2733
2713 IPC_END_MESSAGES(ViewHost) 2734 IPC_END_MESSAGES(ViewHost)
OLDNEW
« no previous file with comments | « chrome/common/render_messages.cc ('k') | chrome/common/webblobregistry_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698