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

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

Issue 11088043: browser-plugin: Allow accepting drag-n-drop events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "content/public/common/common_param_traits.h"
6 #include "ipc/ipc_message_macros.h"
7 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h"
8 #include "ui/gfx/point.h"
9 #include "webkit/glue/webdropdata.h"
10
11 #define IPC_MESSAGE_START DragMsgStart
12
13 IPC_ENUM_TRAITS(WebKit::WebDragOperation)
14
15 IPC_STRUCT_TRAITS_BEGIN(WebDropData::FileInfo)
16 IPC_STRUCT_TRAITS_MEMBER(path)
17 IPC_STRUCT_TRAITS_MEMBER(display_name)
18 IPC_STRUCT_TRAITS_END()
19
20 IPC_STRUCT_TRAITS_BEGIN(WebDropData)
21 IPC_STRUCT_TRAITS_MEMBER(url)
22 IPC_STRUCT_TRAITS_MEMBER(url_title)
23 IPC_STRUCT_TRAITS_MEMBER(download_metadata)
24 IPC_STRUCT_TRAITS_MEMBER(referrer_policy)
25 IPC_STRUCT_TRAITS_MEMBER(filenames)
26 IPC_STRUCT_TRAITS_MEMBER(filesystem_id)
27 IPC_STRUCT_TRAITS_MEMBER(text)
28 IPC_STRUCT_TRAITS_MEMBER(html)
29 IPC_STRUCT_TRAITS_MEMBER(html_base_url)
30 IPC_STRUCT_TRAITS_MEMBER(file_description_filename)
31 IPC_STRUCT_TRAITS_MEMBER(file_contents)
32 IPC_STRUCT_TRAITS_MEMBER(custom_data)
33 IPC_STRUCT_TRAITS_END()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698