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

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

Issue 2674953003: Only generate suggested filenames when actually dragging an image. (Closed)
Patch Set: rebase Created 3 years, 10 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 | « content/child/web_url_loader_impl.cc ('k') | content/public/common/BUILD.gn » ('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 #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 16 matching lines...) Expand all
27 IPC_STRUCT_TRAITS_MEMBER(url) 27 IPC_STRUCT_TRAITS_MEMBER(url)
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_description_filename)
38 IPC_STRUCT_TRAITS_MEMBER(file_contents) 37 IPC_STRUCT_TRAITS_MEMBER(file_contents)
38 IPC_STRUCT_TRAITS_MEMBER(file_contents_filename_extension)
39 IPC_STRUCT_TRAITS_MEMBER(file_contents_content_disposition)
39 IPC_STRUCT_TRAITS_MEMBER(custom_data) 40 IPC_STRUCT_TRAITS_MEMBER(custom_data)
40 IPC_STRUCT_TRAITS_END() 41 IPC_STRUCT_TRAITS_END()
41 42
42 IPC_STRUCT_TRAITS_BEGIN(content::DropData::FileSystemFileInfo) 43 IPC_STRUCT_TRAITS_BEGIN(content::DropData::FileSystemFileInfo)
43 IPC_STRUCT_TRAITS_MEMBER(url) 44 IPC_STRUCT_TRAITS_MEMBER(url)
44 IPC_STRUCT_TRAITS_MEMBER(size) 45 IPC_STRUCT_TRAITS_MEMBER(size)
45 IPC_STRUCT_TRAITS_MEMBER(filesystem_id) 46 IPC_STRUCT_TRAITS_MEMBER(filesystem_id)
46 IPC_STRUCT_TRAITS_END() 47 IPC_STRUCT_TRAITS_END()
47 48
48 IPC_STRUCT_TRAITS_BEGIN(content::DropData::Metadata) 49 IPC_STRUCT_TRAITS_BEGIN(content::DropData::Metadata)
49 IPC_STRUCT_TRAITS_MEMBER(kind) 50 IPC_STRUCT_TRAITS_MEMBER(kind)
50 IPC_STRUCT_TRAITS_MEMBER(mime_type) 51 IPC_STRUCT_TRAITS_MEMBER(mime_type)
51 IPC_STRUCT_TRAITS_MEMBER(filename) 52 IPC_STRUCT_TRAITS_MEMBER(filename)
52 IPC_STRUCT_TRAITS_MEMBER(file_system_url) 53 IPC_STRUCT_TRAITS_MEMBER(file_system_url)
53 IPC_STRUCT_TRAITS_END() 54 IPC_STRUCT_TRAITS_END()
54 55
55 IPC_STRUCT_TRAITS_BEGIN(content::DragEventSourceInfo) 56 IPC_STRUCT_TRAITS_BEGIN(content::DragEventSourceInfo)
56 IPC_STRUCT_TRAITS_MEMBER(event_location) 57 IPC_STRUCT_TRAITS_MEMBER(event_location)
57 IPC_STRUCT_TRAITS_MEMBER(event_source) 58 IPC_STRUCT_TRAITS_MEMBER(event_source)
58 IPC_STRUCT_TRAITS_END() 59 IPC_STRUCT_TRAITS_END()
OLDNEW
« no previous file with comments | « content/child/web_url_loader_impl.cc ('k') | content/public/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698