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

Side by Side Diff: content/common/drag_messages.h

Issue 6840044: Size reduction: halve npchrome_frame.dll via code motion. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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/common/content_message_generator.cc ('k') | content/common/plugin_messages.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // IPC messages for drag and drop. 5 // IPC messages for drag and drop.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "content/common/common_param_traits.h" 8 #include "content/common/common_param_traits.h"
9 #include "ipc/ipc_message_macros.h" 9 #include "ipc/ipc_message_macros.h"
10 #include "third_party/skia/include/core/SkBitmap.h" 10 #include "third_party/skia/include/core/SkBitmap.h"
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h" 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h"
12 #include "ui/gfx/point.h"
12 #include "webkit/glue/webdropdata.h" 13 #include "webkit/glue/webdropdata.h"
13 14
14 #define IPC_MESSAGE_START DragMsgStart 15 #define IPC_MESSAGE_START DragMsgStart
15 16
16 IPC_ENUM_TRAITS(WebKit::WebDragOperation) 17 IPC_ENUM_TRAITS(WebKit::WebDragOperation)
17 18
18 IPC_STRUCT_TRAITS_BEGIN(WebDropData) 19 IPC_STRUCT_TRAITS_BEGIN(WebDropData)
19 IPC_STRUCT_TRAITS_MEMBER(url) 20 IPC_STRUCT_TRAITS_MEMBER(url)
20 IPC_STRUCT_TRAITS_MEMBER(url_title) 21 IPC_STRUCT_TRAITS_MEMBER(url_title)
21 IPC_STRUCT_TRAITS_MEMBER(download_metadata) 22 IPC_STRUCT_TRAITS_MEMBER(download_metadata)
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 IPC_MESSAGE_ROUTED4(DragHostMsg_StartDragging, 68 IPC_MESSAGE_ROUTED4(DragHostMsg_StartDragging,
68 WebDropData /* drop_data */, 69 WebDropData /* drop_data */,
69 WebKit::WebDragOperationsMask /* ops_allowed */, 70 WebKit::WebDragOperationsMask /* ops_allowed */,
70 SkBitmap /* image */, 71 SkBitmap /* image */,
71 gfx::Point /* image_offset */) 72 gfx::Point /* image_offset */)
72 73
73 // The page wants to update the mouse cursor during a drag & drop operation. 74 // The page wants to update the mouse cursor during a drag & drop operation.
74 // |is_drop_target| is true if the mouse is over a valid drop target. 75 // |is_drop_target| is true if the mouse is over a valid drop target.
75 IPC_MESSAGE_ROUTED1(DragHostMsg_UpdateDragCursor, 76 IPC_MESSAGE_ROUTED1(DragHostMsg_UpdateDragCursor,
76 WebKit::WebDragOperation /* drag_operation */) 77 WebKit::WebDragOperation /* drag_operation */)
OLDNEW
« no previous file with comments | « content/common/content_message_generator.cc ('k') | content/common/plugin_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698