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

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

Issue 2484863005: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Fix another conflict Created 4 years, 1 month 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" 13 #include "build/build_config.h"
14 #include "base/memory/shared_memory.h" 14 #include "base/memory/shared_memory.h"
15 #include "base/strings/string16.h" 15 #include "base/strings/string16.h"
16 #include "build/build_config.h" 16 #include "build/build_config.h"
17 #include "content/common/clipboard_format.h" 17 #include "content/common/clipboard_format.h"
18 #include "content/common/content_export.h" 18 #include "content/common/content_export.h"
19 #include "ipc/ipc_message_macros.h" 19 #include "ipc/ipc_message_macros.h"
20 #include "ipc/param_traits_macros.h" 20 #include "ipc/param_traits_macros.h"
21 #include "ui/base/clipboard/clipboard.h" 21 #include "ui/base/clipboard/clipboard.h"
22 #include "ui/gfx/geometry/size.h"
22 #include "url/ipc/url_param_traits.h" 23 #include "url/ipc/url_param_traits.h"
23 24
24 // Singly-included section for types and/or struct declarations. 25 // Singly-included section for types and/or struct declarations.
25 #ifndef CONTENT_COMMON_CLIPBOARD_MESSAGES_H_ 26 #ifndef CONTENT_COMMON_CLIPBOARD_MESSAGES_H_
26 #define CONTENT_COMMON_CLIPBOARD_MESSAGES_H_ 27 #define CONTENT_COMMON_CLIPBOARD_MESSAGES_H_
27 28
28 // Custom data consists of arbitrary MIME types an untrusted sender wants to 29 // 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 30 // 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. 31 // dangerous--an untrusted sender could cause a DoS or code execution.
31 typedef std::map<base::string16, base::string16> CustomDataMap; 32 typedef std::map<base::string16, base::string16> CustomDataMap;
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 IPC_SYNC_MESSAGE_CONTROL3_0(ClipboardHostMsg_WriteImage, 105 IPC_SYNC_MESSAGE_CONTROL3_0(ClipboardHostMsg_WriteImage,
105 ui::ClipboardType /* type */, 106 ui::ClipboardType /* type */,
106 gfx::Size /* size */, 107 gfx::Size /* size */,
107 base::SharedMemoryHandle /* bitmap handle */) 108 base::SharedMemoryHandle /* bitmap handle */)
108 IPC_MESSAGE_CONTROL1(ClipboardHostMsg_CommitWrite, ui::ClipboardType /* type */) 109 IPC_MESSAGE_CONTROL1(ClipboardHostMsg_CommitWrite, ui::ClipboardType /* type */)
109 110
110 #if defined(OS_MACOSX) 111 #if defined(OS_MACOSX)
111 IPC_MESSAGE_CONTROL1(ClipboardHostMsg_FindPboardWriteStringAsync, 112 IPC_MESSAGE_CONTROL1(ClipboardHostMsg_FindPboardWriteStringAsync,
112 base::string16 /* text */) 113 base::string16 /* text */)
113 #endif 114 #endif
OLDNEW
« no previous file with comments | « content/browser/renderer_host/clipboard_message_filter.h ('k') | extensions/browser/app_window/native_app_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698