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_PROXY_SERIALIZED_FLASH_MENU_H_
6 #define PPAPI_PROXY_SERIALIZED_FLASH_MENU_H_
11 #include "base/basictypes.h"
12 #include "ppapi/proxy/ppapi_proxy_export.h"
27 class PPAPI_PROXY_EXPORT SerializedFlashMenu
{
29 SerializedFlashMenu();
30 ~SerializedFlashMenu();
32 bool SetPPMenu(const PP_Flash_Menu
* menu
);
34 const PP_Flash_Menu
* pp_menu() const { return pp_menu_
; }
36 void WriteToMessage(IPC::Message
* m
) const;
37 bool ReadFromMessage(const IPC::Message
* m
, base::PickleIterator
* iter
);
40 const PP_Flash_Menu
* pp_menu_
;
42 DISALLOW_COPY_AND_ASSIGN(SerializedFlashMenu
);
48 #endif // PPAPI_PROXY_SERIALIZED_FLASH_MENU_H_