OLD | NEW |
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 #ifndef CHROME_BROWSER_RENDERER_HOST_PEPPER_PEPPER_FLASH_CLIPBOARD_MESSAGE_FILTE
R_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_PEPPER_PEPPER_FLASH_CLIPBOARD_MESSAGE_FILTE
R_H_ |
6 #define CHROME_BROWSER_RENDERER_HOST_PEPPER_PEPPER_FLASH_CLIPBOARD_MESSAGE_FILTE
R_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_PEPPER_PEPPER_FLASH_CLIPBOARD_MESSAGE_FILTE
R_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 int32_t OnMsgIsFormatAvailable(ppapi::host::HostMessageContext* host_context, | 54 int32_t OnMsgIsFormatAvailable(ppapi::host::HostMessageContext* host_context, |
55 uint32_t clipboard_type, | 55 uint32_t clipboard_type, |
56 uint32_t format); | 56 uint32_t format); |
57 int32_t OnMsgReadData(ppapi::host::HostMessageContext* host_context, | 57 int32_t OnMsgReadData(ppapi::host::HostMessageContext* host_context, |
58 uint32_t clipoard_type, | 58 uint32_t clipoard_type, |
59 uint32_t format); | 59 uint32_t format); |
60 int32_t OnMsgWriteData(ppapi::host::HostMessageContext* host_context, | 60 int32_t OnMsgWriteData(ppapi::host::HostMessageContext* host_context, |
61 uint32_t clipboard_type, | 61 uint32_t clipboard_type, |
62 const std::vector<uint32_t>& formats, | 62 const std::vector<uint32_t>& formats, |
63 const std::vector<std::string>& data); | 63 const std::vector<std::string>& data); |
| 64 int32_t OnMsgGetSequenceNumber(ppapi::host::HostMessageContext* host_context, |
| 65 uint32_t clipboard_type); |
64 | 66 |
65 int32_t WriteClipboardDataItem(uint32_t format, | 67 int32_t WriteClipboardDataItem(uint32_t format, |
66 const std::string& data, | 68 const std::string& data, |
67 ui::ScopedClipboardWriter* scw); | 69 ui::ScopedClipboardWriter* scw); |
68 | 70 |
69 ppapi::FlashClipboardFormatRegistry custom_formats_; | 71 ppapi::FlashClipboardFormatRegistry custom_formats_; |
70 | 72 |
71 DISALLOW_COPY_AND_ASSIGN(PepperFlashClipboardMessageFilter); | 73 DISALLOW_COPY_AND_ASSIGN(PepperFlashClipboardMessageFilter); |
72 }; | 74 }; |
73 | 75 |
74 } // namespace chrome | 76 } // namespace chrome |
75 | 77 |
76 #endif // CHROME_BROWSER_RENDERER_HOST_PEPPER_PEPPER_FLASH_CLIPBOARD_MESSAGE_FI
LTER_H_ | 78 #endif // CHROME_BROWSER_RENDERER_HOST_PEPPER_PEPPER_FLASH_CLIPBOARD_MESSAGE_FI
LTER_H_ |
OLD | NEW |