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

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

Issue 2803473003: Fix an issue that drag and drop image always has default file name. (Closed)
Patch Set: Created 3 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
« no previous file with comments | « no previous file | no next file » | 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 #include "content/common/drag_event_source_info.h" 5 #include "content/common/drag_event_source_info.h"
6 #include "content/public/common/common_param_traits.h" 6 #include "content/public/common/common_param_traits.h"
7 #include "content/public/common/drop_data.h" 7 #include "content/public/common/drop_data.h"
8 #include "ipc/ipc_message_macros.h" 8 #include "ipc/ipc_message_macros.h"
9 #include "third_party/WebKit/public/platform/WebDragOperation.h" 9 #include "third_party/WebKit/public/platform/WebDragOperation.h"
10 #include "ui/gfx/geometry/point.h" 10 #include "ui/gfx/geometry/point.h"
(...skipping 17 matching lines...) Expand all
28 IPC_STRUCT_TRAITS_MEMBER(url_title) 28 IPC_STRUCT_TRAITS_MEMBER(url_title)
29 IPC_STRUCT_TRAITS_MEMBER(download_metadata) 29 IPC_STRUCT_TRAITS_MEMBER(download_metadata)
30 IPC_STRUCT_TRAITS_MEMBER(referrer_policy) 30 IPC_STRUCT_TRAITS_MEMBER(referrer_policy)
31 IPC_STRUCT_TRAITS_MEMBER(filenames) 31 IPC_STRUCT_TRAITS_MEMBER(filenames)
32 IPC_STRUCT_TRAITS_MEMBER(filesystem_id) 32 IPC_STRUCT_TRAITS_MEMBER(filesystem_id)
33 IPC_STRUCT_TRAITS_MEMBER(file_system_files) 33 IPC_STRUCT_TRAITS_MEMBER(file_system_files)
34 IPC_STRUCT_TRAITS_MEMBER(text) 34 IPC_STRUCT_TRAITS_MEMBER(text)
35 IPC_STRUCT_TRAITS_MEMBER(html) 35 IPC_STRUCT_TRAITS_MEMBER(html)
36 IPC_STRUCT_TRAITS_MEMBER(html_base_url) 36 IPC_STRUCT_TRAITS_MEMBER(html_base_url)
37 IPC_STRUCT_TRAITS_MEMBER(file_contents) 37 IPC_STRUCT_TRAITS_MEMBER(file_contents)
38 IPC_STRUCT_TRAITS_MEMBER(file_contents_source_url)
38 IPC_STRUCT_TRAITS_MEMBER(file_contents_filename_extension) 39 IPC_STRUCT_TRAITS_MEMBER(file_contents_filename_extension)
39 IPC_STRUCT_TRAITS_MEMBER(file_contents_content_disposition) 40 IPC_STRUCT_TRAITS_MEMBER(file_contents_content_disposition)
40 IPC_STRUCT_TRAITS_MEMBER(custom_data) 41 IPC_STRUCT_TRAITS_MEMBER(custom_data)
41 IPC_STRUCT_TRAITS_END() 42 IPC_STRUCT_TRAITS_END()
42 43
43 IPC_STRUCT_TRAITS_BEGIN(content::DropData::FileSystemFileInfo) 44 IPC_STRUCT_TRAITS_BEGIN(content::DropData::FileSystemFileInfo)
44 IPC_STRUCT_TRAITS_MEMBER(url) 45 IPC_STRUCT_TRAITS_MEMBER(url)
45 IPC_STRUCT_TRAITS_MEMBER(size) 46 IPC_STRUCT_TRAITS_MEMBER(size)
46 IPC_STRUCT_TRAITS_MEMBER(filesystem_id) 47 IPC_STRUCT_TRAITS_MEMBER(filesystem_id)
47 IPC_STRUCT_TRAITS_END() 48 IPC_STRUCT_TRAITS_END()
48 49
49 IPC_STRUCT_TRAITS_BEGIN(content::DropData::Metadata) 50 IPC_STRUCT_TRAITS_BEGIN(content::DropData::Metadata)
50 IPC_STRUCT_TRAITS_MEMBER(kind) 51 IPC_STRUCT_TRAITS_MEMBER(kind)
51 IPC_STRUCT_TRAITS_MEMBER(mime_type) 52 IPC_STRUCT_TRAITS_MEMBER(mime_type)
52 IPC_STRUCT_TRAITS_MEMBER(filename) 53 IPC_STRUCT_TRAITS_MEMBER(filename)
53 IPC_STRUCT_TRAITS_MEMBER(file_system_url) 54 IPC_STRUCT_TRAITS_MEMBER(file_system_url)
54 IPC_STRUCT_TRAITS_END() 55 IPC_STRUCT_TRAITS_END()
55 56
56 IPC_STRUCT_TRAITS_BEGIN(content::DragEventSourceInfo) 57 IPC_STRUCT_TRAITS_BEGIN(content::DragEventSourceInfo)
57 IPC_STRUCT_TRAITS_MEMBER(event_location) 58 IPC_STRUCT_TRAITS_MEMBER(event_location)
58 IPC_STRUCT_TRAITS_MEMBER(event_source) 59 IPC_STRUCT_TRAITS_MEMBER(event_source)
59 IPC_STRUCT_TRAITS_END() 60 IPC_STRUCT_TRAITS_END()
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698