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
3 // found in the LICENSE file.
5 #ifndef PPAPI_THUNK_PPB_FLASH_CLIPBOARD_API_H_
6 #define PPAPI_THUNK_PPB_FLASH_CLIPBOARD_API_H_
8 #include "ppapi/c/private/ppb_flash_clipboard.h"
13 class PPB_Flash_Clipboard_API
{
15 virtual ~PPB_Flash_Clipboard_API() {}
17 // PPB_Flash_Clipboard.
18 virtual uint32_t RegisterCustomFormat(
20 const char* format_name
) = 0;
21 virtual PP_Bool
IsFormatAvailable(
23 PP_Flash_Clipboard_Type clipboard_type
,
25 virtual PP_Var
ReadData(
27 PP_Flash_Clipboard_Type clipboard_type
,
29 virtual int32_t WriteData(
31 PP_Flash_Clipboard_Type clipboard_type
,
32 uint32_t data_item_count
,
33 const uint32_t formats
[],
34 const PP_Var data_items
[]) = 0;
40 #endif // PPAPI_THUNK_PPB_FLASH_CLIPBOARD_API_H_