Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Unified Diff: ppapi/proxy/ppapi_param_traits.h

Issue 6432001: Implement proxy for FlashMenu and Run/QuitMessageLoop (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ppapi/proxy/ppapi_param_traits.h
diff --git a/ppapi/proxy/ppapi_param_traits.h b/ppapi/proxy/ppapi_param_traits.h
index 017cd39a516f61f4e85d2dd382aa4937148dd38a..12404510d32d8241d416eb0f9c2eed71bafcbd7c 100644
--- a/ppapi/proxy/ppapi_param_traits.h
+++ b/ppapi/proxy/ppapi_param_traits.h
@@ -14,6 +14,7 @@
struct PP_FileInfo_Dev;
struct PP_ObjectProperty;
+struct PP_Flash_Menu;
namespace pp {
namespace proxy {
@@ -25,6 +26,7 @@ struct SerializedDirEntry;
struct SerializedFontDescription;
class HostResource;
class SerializedVar;
+class SerializedFlashMenu;
viettrungluu 2011/02/08 18:18:09 Nit: alphabetical order. While you're there, you c
piman 2011/02/15 02:11:22 Done.
} // namespace proxy
} // namespace pp
@@ -151,6 +153,14 @@ struct ParamTraits< std::vector<pp::proxy::SerializedVar> > {
static void Log(const param_type& p, std::string* l);
};
+template<>
+struct ParamTraits<pp::proxy::SerializedFlashMenu> {
+ typedef pp::proxy::SerializedFlashMenu param_type;
+ static void Write(Message* m, const param_type& p);
+ static bool Read(const Message* m, void** iter, param_type* r);
+ static void Log(const param_type& p, std::string* l);
+};
+
} // namespace IPC
#endif // PPAPI_PROXY_PPAPI_PARAM_TRAITS_H_

Powered by Google App Engine
This is Rietveld 408576698