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

Side by Side Diff: chrome/common/render_messages.h

Issue 6012002: Move the NPAPI files from webkit/glue/plugins to webkit/plugins/npapi and put... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/tab_contents/tab_contents.cc ('k') | chrome/common/render_messages.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_COMMON_RENDER_MESSAGES_H_ 5 #ifndef CHROME_COMMON_RENDER_MESSAGES_H_
6 #define CHROME_COMMON_RENDER_MESSAGES_H_ 6 #define CHROME_COMMON_RENDER_MESSAGES_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 namespace webkit_glue { 55 namespace webkit_glue {
56 struct FormData; 56 struct FormData;
57 class FormField; 57 class FormField;
58 struct PasswordFormFillData; 58 struct PasswordFormFillData;
59 struct ResourceDevToolsInfo; 59 struct ResourceDevToolsInfo;
60 struct ResourceLoadTimingInfo; 60 struct ResourceLoadTimingInfo;
61 struct ResourceResponseInfo; 61 struct ResourceResponseInfo;
62 struct WebAccessibility; 62 struct WebAccessibility;
63 struct WebCookie; 63 struct WebCookie;
64 struct WebAccessibility;
65 }
66
67 namespace webkit {
68 namespace npapi {
64 struct WebPluginGeometry; 69 struct WebPluginGeometry;
65 struct WebAccessibility; 70 struct WebPluginInfo;
71 struct WebPluginMimeType;
72 }
66 } 73 }
67 74
68 struct AudioBuffersState; 75 struct AudioBuffersState;
69 class ExtensionExtent; 76 class ExtensionExtent;
70 class GURL; 77 class GURL;
71 class SkBitmap; 78 class SkBitmap;
72 class URLPattern; 79 class URLPattern;
73 struct ContextMenuParams; 80 struct ContextMenuParams;
74 struct EditCommand; 81 struct EditCommand;
75 struct ResourceResponseHead; 82 struct ResourceResponseHead;
76 struct SyncLoadResult; 83 struct SyncLoadResult;
77 struct RendererPreferences; 84 struct RendererPreferences;
78 struct WebDropData; 85 struct WebDropData;
79 struct WebMenuItem; 86 struct WebMenuItem;
80 struct WebPluginInfo;
81 struct WebPluginMimeType;
82 struct WebPreferences; 87 struct WebPreferences;
83 88
84 // Forward declarations of structures used to store data for when we have a lot 89 // Forward declarations of structures used to store data for when we have a lot
85 // of parameters. 90 // of parameters.
86 struct ViewMsg_Navigate_Params; 91 struct ViewMsg_Navigate_Params;
87 struct ViewMsg_AudioStreamState_Params; 92 struct ViewMsg_AudioStreamState_Params;
88 struct ViewMsg_StopFinding_Params; 93 struct ViewMsg_StopFinding_Params;
89 struct ViewHostMsg_GetSearchProviderInstallState_Params; 94 struct ViewHostMsg_GetSearchProviderInstallState_Params;
90 struct ViewHostMsg_PageHasOSDD_Type; 95 struct ViewHostMsg_PageHasOSDD_Type;
91 struct ViewHostMsg_FrameNavigate_Params; 96 struct ViewHostMsg_FrameNavigate_Params;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 149
145 template <> 150 template <>
146 struct ParamTraits<ContextMenuParams> { 151 struct ParamTraits<ContextMenuParams> {
147 typedef ContextMenuParams param_type; 152 typedef ContextMenuParams param_type;
148 static void Write(Message* m, const param_type& p); 153 static void Write(Message* m, const param_type& p);
149 static bool Read(const Message* m, void** iter, param_type* p); 154 static bool Read(const Message* m, void** iter, param_type* p);
150 static void Log(const param_type& p, std::string* l); 155 static void Log(const param_type& p, std::string* l);
151 }; 156 };
152 157
153 template <> 158 template <>
154 struct ParamTraits<webkit_glue::WebPluginGeometry> { 159 struct ParamTraits<webkit::npapi::WebPluginGeometry> {
155 typedef webkit_glue::WebPluginGeometry param_type; 160 typedef webkit::npapi::WebPluginGeometry param_type;
156 static void Write(Message* m, const param_type& p); 161 static void Write(Message* m, const param_type& p);
157 static bool Read(const Message* m, void** iter, param_type* p); 162 static bool Read(const Message* m, void** iter, param_type* p);
158 static void Log(const param_type& p, std::string* l); 163 static void Log(const param_type& p, std::string* l);
159 }; 164 };
160 165
161 // Traits for ViewMsg_GetPlugins_Reply structure to pack/unpack. 166 // Traits for ViewMsg_GetPlugins_Reply structure to pack/unpack.
162 template <> 167 template <>
163 struct ParamTraits<WebPluginMimeType> { 168 struct ParamTraits<webkit::npapi::WebPluginMimeType> {
164 typedef WebPluginMimeType param_type; 169 typedef webkit::npapi::WebPluginMimeType param_type;
165 static void Write(Message* m, const param_type& p); 170 static void Write(Message* m, const param_type& p);
166 static bool Read(const Message* m, void** iter, param_type* r); 171 static bool Read(const Message* m, void** iter, param_type* r);
167 static void Log(const param_type& p, std::string* l); 172 static void Log(const param_type& p, std::string* l);
168 }; 173 };
169 174
170 template <> 175 template <>
171 struct ParamTraits<WebPluginInfo> { 176 struct ParamTraits<webkit::npapi::WebPluginInfo> {
172 typedef WebPluginInfo param_type; 177 typedef webkit::npapi::WebPluginInfo param_type;
173 static void Write(Message* m, const param_type& p); 178 static void Write(Message* m, const param_type& p);
174 static bool Read(const Message* m, void** iter, param_type* r); 179 static bool Read(const Message* m, void** iter, param_type* r);
175 static void Log(const param_type& p, std::string* l); 180 static void Log(const param_type& p, std::string* l);
176 }; 181 };
177 182
178 // Traits for webkit_glue::PasswordFormDomManager::FillData. 183 // Traits for webkit_glue::PasswordFormDomManager::FillData.
179 template <> 184 template <>
180 struct ParamTraits<webkit_glue::PasswordFormFillData> { 185 struct ParamTraits<webkit_glue::PasswordFormFillData> {
181 typedef webkit_glue::PasswordFormFillData param_type; 186 typedef webkit_glue::PasswordFormFillData param_type;
182 static void Write(Message* m, const param_type& p); 187 static void Write(Message* m, const param_type& p);
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
544 static void Write(Message* m, const param_type& p); 549 static void Write(Message* m, const param_type& p);
545 static bool Read(const Message* m, void** iter, param_type* p); 550 static bool Read(const Message* m, void** iter, param_type* p);
546 static void Log(const param_type& p, std::string* l); 551 static void Log(const param_type& p, std::string* l);
547 }; 552 };
548 553
549 } // namespace IPC 554 } // namespace IPC
550 555
551 #include "chrome/common/render_messages_internal.h" 556 #include "chrome/common/render_messages_internal.h"
552 557
553 #endif // CHROME_COMMON_RENDER_MESSAGES_H_ 558 #endif // CHROME_COMMON_RENDER_MESSAGES_H_
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/tab_contents.cc ('k') | chrome/common/render_messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698