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

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

Issue 6259013: Update Mac plugin IME handling to match updated spec (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to trunk Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "build/build_config.h" 6 #include "build/build_config.h"
7 #include "gfx/native_widget_types.h" 7 #include "gfx/native_widget_types.h"
8 #include "ipc/ipc_message_macros.h" 8 #include "ipc/ipc_message_macros.h"
9 #include "webkit/glue/webcursor.h" 9 #include "webkit/glue/webcursor.h"
10 10
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 227
228 IPC_MESSAGE_ROUTED3(PluginMsg_ContainerShown, 228 IPC_MESSAGE_ROUTED3(PluginMsg_ContainerShown,
229 gfx::Rect /* window_frame */, 229 gfx::Rect /* window_frame */,
230 gfx::Rect /* view_frame */, 230 gfx::Rect /* view_frame */,
231 bool /* has_focus */) 231 bool /* has_focus */)
232 232
233 IPC_MESSAGE_ROUTED2(PluginMsg_WindowFrameChanged, 233 IPC_MESSAGE_ROUTED2(PluginMsg_WindowFrameChanged,
234 gfx::Rect /* window_frame */, 234 gfx::Rect /* window_frame */,
235 gfx::Rect /* view_frame */) 235 gfx::Rect /* view_frame */)
236 236
237 IPC_MESSAGE_ROUTED1(PluginMsg_ImeCompositionConfirmed, 237 IPC_MESSAGE_ROUTED1(PluginMsg_ImeCompositionCompleted,
238 string16 /* text */) 238 string16 /* text */)
239 #endif 239 #endif
240 240
241 IPC_SYNC_MESSAGE_ROUTED3_0(PluginMsg_WillSendRequest, 241 IPC_SYNC_MESSAGE_ROUTED3_0(PluginMsg_WillSendRequest,
242 unsigned long /* id */, 242 unsigned long /* id */,
243 GURL /* url */, 243 GURL /* url */,
244 int /* http_status_code */) 244 int /* http_status_code */)
245 245
246 IPC_MESSAGE_ROUTED1(PluginMsg_DidReceiveResponse, 246 IPC_MESSAGE_ROUTED1(PluginMsg_DidReceiveResponse,
247 PluginMsg_DidReceiveResponseParams) 247 PluginMsg_DidReceiveResponseParams)
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 396
397 IPC_SYNC_MESSAGE_CONTROL1_0(PluginHostMsg_SetException, 397 IPC_SYNC_MESSAGE_CONTROL1_0(PluginHostMsg_SetException,
398 std::string /* message */) 398 std::string /* message */)
399 399
400 IPC_MESSAGE_CONTROL0(PluginHostMsg_PluginShuttingDown) 400 IPC_MESSAGE_CONTROL0(PluginHostMsg_PluginShuttingDown)
401 401
402 #if defined(OS_MACOSX) 402 #if defined(OS_MACOSX)
403 IPC_MESSAGE_ROUTED1(PluginHostMsg_UpdateGeometry_ACK, 403 IPC_MESSAGE_ROUTED1(PluginHostMsg_UpdateGeometry_ACK,
404 int /* ack_key */) 404 int /* ack_key */)
405 405
406 IPC_MESSAGE_ROUTED1(PluginHostMsg_SetImeEnabled, 406 IPC_MESSAGE_ROUTED1(PluginHostMsg_FocusChanged,
407 bool /* enabled */) 407 bool /* focused */)
408
409 IPC_MESSAGE_ROUTED0(PluginHostMsg_StartIme)
408 410
409 // This message, used in Mac OS X 10.5 and earlier, is sent from the plug-in 411 // This message, used in Mac OS X 10.5 and earlier, is sent from the plug-in
410 // process to the renderer process to indicate that the plug-in allocated a 412 // process to the renderer process to indicate that the plug-in allocated a
411 // new TransportDIB that holds the GPU's rendered image. This information is 413 // new TransportDIB that holds the GPU's rendered image. This information is
412 // then forwarded to the browser process via a similar message. 414 // then forwarded to the browser process via a similar message.
413 IPC_MESSAGE_ROUTED4(PluginHostMsg_AcceleratedSurfaceSetTransportDIB, 415 IPC_MESSAGE_ROUTED4(PluginHostMsg_AcceleratedSurfaceSetTransportDIB,
414 gfx::PluginWindowHandle /* window */, 416 gfx::PluginWindowHandle /* window */,
415 int32 /* width */, 417 int32 /* width */,
416 int32 /* height */, 418 int32 /* height */,
417 TransportDIB::Handle /* handle to the TransportDIB */) 419 TransportDIB::Handle /* handle to the TransportDIB */)
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
513 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct, 515 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct,
514 std::vector<NPVariant_Param> /* args */, 516 std::vector<NPVariant_Param> /* args */,
515 NPVariant_Param /* result_param */, 517 NPVariant_Param /* result_param */,
516 bool /* result */) 518 bool /* result */)
517 519
518 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, 520 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate,
519 std::string /* script */, 521 std::string /* script */,
520 bool /* popups_allowed */, 522 bool /* popups_allowed */,
521 NPVariant_Param /* result_param */, 523 NPVariant_Param /* result_param */,
522 bool /* result */) 524 bool /* result */)
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/test/test_render_view_host.cc ('k') | chrome/common/render_messages_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698