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"
25 class PPAPI_PROXY_EXPORT SerializedFlashMenu
{
27 SerializedFlashMenu();
28 ~SerializedFlashMenu();
30 bool SetPPMenu(const PP_Flash_Menu
* menu
);
32 const PP_Flash_Menu
* pp_menu() const { return pp_menu_
; }
34 void WriteToMessage(IPC::Message
* m
) const;
35 bool ReadFromMessage(const IPC::Message
* m
, PickleIterator
* iter
);
38 const PP_Flash_Menu
* pp_menu_
;
40 DISALLOW_COPY_AND_ASSIGN(SerializedFlashMenu
);
46 #endif // PPAPI_PROXY_SERIALIZED_FLASH_MENU_H_