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

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

Issue 3133: Desynchronize windowless plugin painting. This greatly improves the painting... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 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/plugin_messages.h ('k') | chrome/plugin/webplugin_delegate_stub.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #include "base/shared_memory.h" 5 #include "base/shared_memory.h"
6 #include "chrome/common/ipc_message_macros.h" 6 #include "chrome/common/ipc_message_macros.h"
7 #include "webkit/glue/webcursor.h" 7 #include "webkit/glue/webcursor.h"
8 8
9 //----------------------------------------------------------------------------- 9 //-----------------------------------------------------------------------------
10 // PluginProcess messages 10 // PluginProcess messages
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 int /* instance_id */) 95 int /* instance_id */)
96 96
97 IPC_SYNC_MESSAGE_CONTROL0_1(PluginMsg_GenerateRouteID, 97 IPC_SYNC_MESSAGE_CONTROL0_1(PluginMsg_GenerateRouteID,
98 int /* id */) 98 int /* id */)
99 99
100 // The messages below all map to WebPluginDelegate methods. 100 // The messages below all map to WebPluginDelegate methods.
101 IPC_SYNC_MESSAGE_ROUTED1_1(PluginMsg_Init, 101 IPC_SYNC_MESSAGE_ROUTED1_1(PluginMsg_Init,
102 PluginMsg_Init_Params, 102 PluginMsg_Init_Params,
103 bool /* result */) 103 bool /* result */)
104 104
105 IPC_SYNC_MESSAGE_ROUTED1_0(PluginMsg_Paint,
106 PluginMsg_Paint_Params /* params */)
107
108 IPC_SYNC_MESSAGE_ROUTED0_1(PluginMsg_Print, 105 IPC_SYNC_MESSAGE_ROUTED0_1(PluginMsg_Print,
109 PluginMsg_PrintResponse_Params /* params */) 106 PluginMsg_PrintResponse_Params /* params */)
110 107
111 // Returns a shared memory handle to a EMF buffer.
112 IPC_SYNC_MESSAGE_ROUTED1_2(PluginMsg_PaintIntoSharedMemory,
113 PluginMsg_Paint_Params /* params */,
114 SharedMemoryHandle /* emf_buffer */,
115 size_t /* bytes */)
116
117 IPC_SYNC_MESSAGE_ROUTED0_2(PluginMsg_GetPluginScriptableObject, 108 IPC_SYNC_MESSAGE_ROUTED0_2(PluginMsg_GetPluginScriptableObject,
118 int /* route_id */, 109 int /* route_id */,
119 void* /* npobject_ptr */) 110 void* /* npobject_ptr */)
120 111
121 IPC_SYNC_MESSAGE_ROUTED1_0(PluginMsg_DidFinishLoadWithReason, 112 IPC_SYNC_MESSAGE_ROUTED1_0(PluginMsg_DidFinishLoadWithReason,
122 int /* reason */) 113 int /* reason */)
123 114
124 IPC_MESSAGE_ROUTED3(PluginMsg_UpdateGeometry, 115 IPC_MESSAGE_ROUTED5(PluginMsg_UpdateGeometry,
125 gfx::Rect /* window_rect */, 116 gfx::Rect /* window_rect */,
126 gfx::Rect /* clip_rect */, 117 gfx::Rect /* clip_rect */,
127 bool /* visible */) 118 bool /* visible */,
119 SharedMemoryHandle /* windowless_buffer */,
120 SharedMemoryLock /* windowless_buffer_lock */)
128 121
129 IPC_SYNC_MESSAGE_ROUTED0_0(PluginMsg_SetFocus) 122 IPC_SYNC_MESSAGE_ROUTED0_0(PluginMsg_SetFocus)
130 123
131 IPC_SYNC_MESSAGE_ROUTED1_2(PluginMsg_HandleEvent, 124 IPC_SYNC_MESSAGE_ROUTED1_2(PluginMsg_HandleEvent,
132 NPEvent /* event */, 125 NPEvent /* event */,
133 bool /* handled */, 126 bool /* handled */,
134 WebCursor /* cursor type*/) 127 WebCursor /* cursor type*/)
135 128
136 IPC_SYNC_MESSAGE_ROUTED2_0(PluginMsg_WillSendRequest, 129 IPC_SYNC_MESSAGE_ROUTED2_0(PluginMsg_WillSendRequest,
137 int /* id */, 130 int /* id */,
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Evaluate, 285 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Evaluate,
293 std::string /* script */, 286 std::string /* script */,
294 NPVariant_Param /* result_param */, 287 NPVariant_Param /* result_param */,
295 bool /* result */) 288 bool /* result */)
296 289
297 IPC_SYNC_MESSAGE_ROUTED1_0(NPObjectMsg_SetException, 290 IPC_SYNC_MESSAGE_ROUTED1_0(NPObjectMsg_SetException,
298 std::string /* message */) 291 std::string /* message */)
299 292
300 IPC_END_MESSAGES(NPObject) 293 IPC_END_MESSAGES(NPObject)
301 294
OLDNEW
« no previous file with comments | « chrome/common/plugin_messages.h ('k') | chrome/plugin/webplugin_delegate_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698