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

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

Issue 1755363003: Revert of Mustash: Move GURL ParamTraits to url/ipc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
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 // Multiply-included message file, so no include guard. 5 // Multiply-included message file, so no include guard.
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "build/build_config.h"
14 #include "base/memory/shared_memory.h" 13 #include "base/memory/shared_memory.h"
15 #include "base/strings/string16.h" 14 #include "base/strings/string16.h"
16 #include "build/build_config.h" 15 #include "build/build_config.h"
17 #include "content/common/clipboard_format.h" 16 #include "content/common/clipboard_format.h"
18 #include "content/common/content_export.h" 17 #include "content/public/common/common_param_traits.h"
19 #include "ipc/ipc_message_macros.h" 18 #include "ipc/ipc_message_macros.h"
20 #include "ipc/param_traits_macros.h"
21 #include "ui/base/clipboard/clipboard.h" 19 #include "ui/base/clipboard/clipboard.h"
22 #include "url/ipc/url_param_traits.h"
23 20
24 // Singly-included section for types and/or struct declarations. 21 // Singly-included section for types and/or struct declarations.
25 #ifndef CONTENT_COMMON_CLIPBOARD_MESSAGES_H_ 22 #ifndef CONTENT_COMMON_CLIPBOARD_MESSAGES_H_
26 #define CONTENT_COMMON_CLIPBOARD_MESSAGES_H_ 23 #define CONTENT_COMMON_CLIPBOARD_MESSAGES_H_
27 24
28 // Custom data consists of arbitrary MIME types an untrusted sender wants to 25 // Custom data consists of arbitrary MIME types an untrusted sender wants to
29 // write to the clipboard. Note that exposing a general interface to do this is 26 // write to the clipboard. Note that exposing a general interface to do this is
30 // dangerous--an untrusted sender could cause a DoS or code execution. 27 // dangerous--an untrusted sender could cause a DoS or code execution.
31 typedef std::map<base::string16, base::string16> CustomDataMap; 28 typedef std::map<base::string16, base::string16> CustomDataMap;
32 29
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 IPC_SYNC_MESSAGE_CONTROL3_0(ClipboardHostMsg_WriteImage, 100 IPC_SYNC_MESSAGE_CONTROL3_0(ClipboardHostMsg_WriteImage,
104 ui::ClipboardType /* type */, 101 ui::ClipboardType /* type */,
105 gfx::Size /* size */, 102 gfx::Size /* size */,
106 base::SharedMemoryHandle /* bitmap handle */) 103 base::SharedMemoryHandle /* bitmap handle */)
107 IPC_MESSAGE_CONTROL1(ClipboardHostMsg_CommitWrite, ui::ClipboardType /* type */) 104 IPC_MESSAGE_CONTROL1(ClipboardHostMsg_CommitWrite, ui::ClipboardType /* type */)
108 105
109 #if defined(OS_MACOSX) 106 #if defined(OS_MACOSX)
110 IPC_MESSAGE_CONTROL1(ClipboardHostMsg_FindPboardWriteStringAsync, 107 IPC_MESSAGE_CONTROL1(ClipboardHostMsg_FindPboardWriteStringAsync,
111 base::string16 /* text */) 108 base::string16 /* text */)
112 #endif 109 #endif
OLDNEW
« no previous file with comments | « content/common/browser_plugin/browser_plugin_messages.h ('k') | content/common/common_param_traits_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698