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

Side by Side Diff: content/common/browser_plugin/browser_plugin_messages.h

Issue 201473002: Move webcursors code from webkit/ to content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: gfx image include Created 6 years, 9 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 | « content/child/plugin_messages.h ('k') | content/common/content_param_traits.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Multiply-included message header, no traditional include guard. 5 // Multiply-included message header, no traditional include guard.
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/memory/shared_memory.h" 10 #include "base/memory/shared_memory.h"
11 #include "base/process/process.h" 11 #include "base/process/process.h"
12 #include "base/values.h" 12 #include "base/values.h"
13 #include "cc/output/compositor_frame.h" 13 #include "cc/output/compositor_frame.h"
14 #include "cc/output/compositor_frame_ack.h" 14 #include "cc/output/compositor_frame_ack.h"
15 #include "content/common/content_export.h" 15 #include "content/common/content_export.h"
16 #include "content/common/content_param_traits.h" 16 #include "content/common/content_param_traits.h"
17 #include "content/common/cursors/webcursor.h"
17 #include "content/common/edit_command.h" 18 #include "content/common/edit_command.h"
18 #include "content/common/frame_param_macros.h" 19 #include "content/common/frame_param_macros.h"
19 #include "content/public/common/browser_plugin_permission_type.h" 20 #include "content/public/common/browser_plugin_permission_type.h"
20 #include "content/public/common/common_param_traits.h" 21 #include "content/public/common/common_param_traits.h"
21 #include "content/public/common/drop_data.h" 22 #include "content/public/common/drop_data.h"
22 #include "ipc/ipc_channel_handle.h" 23 #include "ipc/ipc_channel_handle.h"
23 #include "ipc/ipc_message_macros.h" 24 #include "ipc/ipc_message_macros.h"
24 #include "ipc/ipc_message_utils.h" 25 #include "ipc/ipc_message_utils.h"
25 #include "third_party/skia/include/core/SkBitmap.h"
26 #include "third_party/WebKit/public/web/WebCompositionUnderline.h" 26 #include "third_party/WebKit/public/web/WebCompositionUnderline.h"
27 #include "third_party/WebKit/public/web/WebDragOperation.h" 27 #include "third_party/WebKit/public/web/WebDragOperation.h"
28 #include "third_party/WebKit/public/web/WebDragStatus.h" 28 #include "third_party/WebKit/public/web/WebDragStatus.h"
29 #include "third_party/skia/include/core/SkBitmap.h"
29 #include "ui/gfx/point.h" 30 #include "ui/gfx/point.h"
30 #include "ui/gfx/rect.h" 31 #include "ui/gfx/rect.h"
31 #include "ui/gfx/size.h" 32 #include "ui/gfx/size.h"
32 #include "url/gurl.h" 33 #include "url/gurl.h"
33 #include "webkit/common/cursors/webcursor.h"
34 34
35 #undef IPC_MESSAGE_EXPORT 35 #undef IPC_MESSAGE_EXPORT
36 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT 36 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
37 37
38 #define IPC_MESSAGE_START BrowserPluginMsgStart 38 #define IPC_MESSAGE_START BrowserPluginMsgStart
39 39
40 40
41 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebDragStatus, blink::WebDragStatusLast) 41 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebDragStatus, blink::WebDragStatusLast)
42 42
43 IPC_STRUCT_BEGIN(BrowserPluginHostMsg_AutoSize_Params) 43 IPC_STRUCT_BEGIN(BrowserPluginHostMsg_AutoSize_Params)
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 319
320 // When the guest starts/stops listening to touch events, it needs to notify the 320 // When the guest starts/stops listening to touch events, it needs to notify the
321 // plugin in the embedder about it. 321 // plugin in the embedder about it.
322 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_ShouldAcceptTouchEvents, 322 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_ShouldAcceptTouchEvents,
323 int /* instance_id */, 323 int /* instance_id */,
324 bool /* accept */) 324 bool /* accept */)
325 325
326 // Inform the embedder of the cursor the guest wishes to display. 326 // Inform the embedder of the cursor the guest wishes to display.
327 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetCursor, 327 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetCursor,
328 int /* instance_id */, 328 int /* instance_id */,
329 WebCursor /* cursor */) 329 content::WebCursor /* cursor */)
330 330
331 // The guest has damage it wants to convey to the embedder so that it can 331 // The guest has damage it wants to convey to the embedder so that it can
332 // update its backing store. 332 // update its backing store.
333 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_UpdateRect, 333 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_UpdateRect,
334 int /* instance_id */, 334 int /* instance_id */,
335 BrowserPluginMsg_UpdateRect_Params) 335 BrowserPluginMsg_UpdateRect_Params)
336 336
337 IPC_MESSAGE_CONTROL4(BrowserPluginMsg_CopyFromCompositingSurface, 337 IPC_MESSAGE_CONTROL4(BrowserPluginMsg_CopyFromCompositingSurface,
338 int /* instance_id */, 338 int /* instance_id */,
339 int /* request_id */, 339 int /* request_id */,
(...skipping 27 matching lines...) Expand all
367 // BrowserPluginMsg_CompositorFrameSwapped for how these related 367 // BrowserPluginMsg_CompositorFrameSwapped for how these related
368 // to the FrameHostMsg variants. 368 // to the FrameHostMsg variants.
369 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_BuffersSwappedACK, 369 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_BuffersSwappedACK,
370 int /* instance_id */, 370 int /* instance_id */,
371 FrameHostMsg_BuffersSwappedACK_Params /* params */) 371 FrameHostMsg_BuffersSwappedACK_Params /* params */)
372 372
373 // Acknowledge that we presented an ubercomp frame. 373 // Acknowledge that we presented an ubercomp frame.
374 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_CompositorFrameSwappedACK, 374 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_CompositorFrameSwappedACK,
375 int /* instance_id */, 375 int /* instance_id */,
376 FrameHostMsg_CompositorFrameSwappedACK_Params /* params */) 376 FrameHostMsg_CompositorFrameSwappedACK_Params /* params */)
OLDNEW
« no previous file with comments | « content/child/plugin_messages.h ('k') | content/common/content_param_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698