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

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

Issue 10532168: Allow empty strings to be written to the clipboard (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comment fix Created 8 years, 6 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
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 // 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/public/common/common_param_traits.h" 8 #include "content/public/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"
(...skipping 11 matching lines...) Expand all
22 IPC_STRUCT_TRAITS_MEMBER(display_name) 22 IPC_STRUCT_TRAITS_MEMBER(display_name)
23 IPC_STRUCT_TRAITS_END() 23 IPC_STRUCT_TRAITS_END()
24 24
25 IPC_STRUCT_TRAITS_BEGIN(WebDropData) 25 IPC_STRUCT_TRAITS_BEGIN(WebDropData)
26 IPC_STRUCT_TRAITS_MEMBER(url) 26 IPC_STRUCT_TRAITS_MEMBER(url)
27 IPC_STRUCT_TRAITS_MEMBER(url_title) 27 IPC_STRUCT_TRAITS_MEMBER(url_title)
28 IPC_STRUCT_TRAITS_MEMBER(download_metadata) 28 IPC_STRUCT_TRAITS_MEMBER(download_metadata)
29 IPC_STRUCT_TRAITS_MEMBER(referrer_policy) 29 IPC_STRUCT_TRAITS_MEMBER(referrer_policy)
30 IPC_STRUCT_TRAITS_MEMBER(filenames) 30 IPC_STRUCT_TRAITS_MEMBER(filenames)
31 IPC_STRUCT_TRAITS_MEMBER(filesystem_id) 31 IPC_STRUCT_TRAITS_MEMBER(filesystem_id)
32 IPC_STRUCT_TRAITS_MEMBER(plain_text) 32 IPC_STRUCT_TRAITS_MEMBER(text)
33 IPC_STRUCT_TRAITS_MEMBER(text_html) 33 IPC_STRUCT_TRAITS_MEMBER(html)
34 IPC_STRUCT_TRAITS_MEMBER(html_base_url) 34 IPC_STRUCT_TRAITS_MEMBER(html_base_url)
35 IPC_STRUCT_TRAITS_MEMBER(file_description_filename) 35 IPC_STRUCT_TRAITS_MEMBER(file_description_filename)
36 IPC_STRUCT_TRAITS_MEMBER(file_contents) 36 IPC_STRUCT_TRAITS_MEMBER(file_contents)
37 IPC_STRUCT_TRAITS_MEMBER(custom_data) 37 IPC_STRUCT_TRAITS_MEMBER(custom_data)
38 IPC_STRUCT_TRAITS_END() 38 IPC_STRUCT_TRAITS_END()
39 39
40 // Messages sent from the browser to the renderer. 40 // Messages sent from the browser to the renderer.
41 41
42 IPC_MESSAGE_ROUTED5(DragMsg_TargetDragEnter, 42 IPC_MESSAGE_ROUTED5(DragMsg_TargetDragEnter,
43 WebDropData /* drop_data */, 43 WebDropData /* drop_data */,
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 SkBitmap /* image */, 82 SkBitmap /* image */,
83 gfx::Point /* image_offset */) 83 gfx::Point /* image_offset */)
84 84
85 // The page wants to update the mouse cursor during a drag & drop operation. 85 // The page wants to update the mouse cursor during a drag & drop operation.
86 // |is_drop_target| is true if the mouse is over a valid drop target. 86 // |is_drop_target| is true if the mouse is over a valid drop target.
87 IPC_MESSAGE_ROUTED1(DragHostMsg_UpdateDragCursor, 87 IPC_MESSAGE_ROUTED1(DragHostMsg_UpdateDragCursor,
88 WebKit::WebDragOperation /* drag_operation */) 88 WebKit::WebDragOperation /* drag_operation */)
89 89
90 // Notifies the host that the renderer finished a drop operation. 90 // Notifies the host that the renderer finished a drop operation.
91 IPC_MESSAGE_ROUTED0(DragHostMsg_TargetDrop_ACK) 91 IPC_MESSAGE_ROUTED0(DragHostMsg_TargetDrop_ACK)
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_drag_source_mac.mm ('k') | ui/base/clipboard/scoped_clipboard_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698