diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-20 21:38:12 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-20 21:38:12 +0000 |
commit | b692a128b073b297a4ce2aa7c468fdd37823e3a8 (patch) | |
tree | 3561224ba86e8eabd75f3e7a2f2343002d9a58ff /chrome/common/render_messages.h | |
parent | b07c8d9a926a89d0aa7c0de2e1d2685b728a887e (diff) | |
download | chromium_src-b692a128b073b297a4ce2aa7c468fdd37823e3a8.zip chromium_src-b692a128b073b297a4ce2aa7c468fdd37823e3a8.tar.gz chromium_src-b692a128b073b297a4ce2aa7c468fdd37823e3a8.tar.bz2 |
Move the NPAPI files from webkit/glue/plugins to webkit/plugins/npapi and put
them in the webkit::npapi namespace.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6012002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69755 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/render_messages.h')
-rw-r--r-- | chrome/common/render_messages.h | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h index 6e4e6b9..06e597c 100644 --- a/chrome/common/render_messages.h +++ b/chrome/common/render_messages.h @@ -61,10 +61,17 @@ struct ResourceLoadTimingInfo; struct ResourceResponseInfo; struct WebAccessibility; struct WebCookie; -struct WebPluginGeometry; struct WebAccessibility; } +namespace webkit { +namespace npapi { +struct WebPluginGeometry; +struct WebPluginInfo; +struct WebPluginMimeType; +} +} + struct AudioBuffersState; class ExtensionExtent; class GURL; @@ -77,8 +84,6 @@ struct SyncLoadResult; struct RendererPreferences; struct WebDropData; struct WebMenuItem; -struct WebPluginInfo; -struct WebPluginMimeType; struct WebPreferences; // Forward declarations of structures used to store data for when we have a lot @@ -151,8 +156,8 @@ struct ParamTraits<ContextMenuParams> { }; template <> -struct ParamTraits<webkit_glue::WebPluginGeometry> { - typedef webkit_glue::WebPluginGeometry param_type; +struct ParamTraits<webkit::npapi::WebPluginGeometry> { + typedef webkit::npapi::WebPluginGeometry param_type; static void Write(Message* m, const param_type& p); static bool Read(const Message* m, void** iter, param_type* p); static void Log(const param_type& p, std::string* l); @@ -160,16 +165,16 @@ struct ParamTraits<webkit_glue::WebPluginGeometry> { // Traits for ViewMsg_GetPlugins_Reply structure to pack/unpack. template <> -struct ParamTraits<WebPluginMimeType> { - typedef WebPluginMimeType param_type; +struct ParamTraits<webkit::npapi::WebPluginMimeType> { + typedef webkit::npapi::WebPluginMimeType 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); }; template <> -struct ParamTraits<WebPluginInfo> { - typedef WebPluginInfo param_type; +struct ParamTraits<webkit::npapi::WebPluginInfo> { + typedef webkit::npapi::WebPluginInfo 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); |