1 // Copyright (c) 2011 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_CPP_PRIVATE_FLASH_MENU_H_
6 #define PPAPI_CPP_PRIVATE_FLASH_MENU_H_
8 #include "ppapi/c/private/ppb_flash_menu.h"
9 #include "ppapi/cpp/resource.h"
13 class CompletionCallback
;
19 class Menu
: public Resource
{
21 // TODO(viettrungluu): Write a proper C++ wrapper of |PP_Flash_Menu|.
22 Menu(const InstanceHandle
& instance
, const struct PP_Flash_Menu
* menu_data
);
24 int32_t Show(const Point
& location
,
26 const CompletionCallback
& cc
);
32 #endif // PPAPI_CPP_PRIVATE_FLASH_H_