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

Side by Side Diff: content/renderer/browser_plugin/browser_plugin_var_serialization_rules.h

Issue 9609008: Implemented Browser Plugin (NOT FOR REVIEW) (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Updated according to creis@'s comments Created 8 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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.
4
5 #ifndef CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_VAR_SERIALIZATION_RULES_H _
6 #define CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_VAR_SERIALIZATION_RULES_H _
7
8 #include "ppapi/proxy/var_serialization_rules.h"
9
10 namespace content {
11
12 // Implementation of the VarSerializationRules interface for the browser plugin.
13 class BrowserPluginVarSerializationRules :
14 public ppapi::proxy::VarSerializationRules {
15 public:
16 explicit BrowserPluginVarSerializationRules();
17 virtual ~BrowserPluginVarSerializationRules();
18
19 // VarSerialization implementation.
20 virtual PP_Var SendCallerOwned(const PP_Var& var);
21 virtual PP_Var BeginReceiveCallerOwned(const PP_Var& var);
22 virtual void EndReceiveCallerOwned(const PP_Var& var);
23 virtual PP_Var ReceivePassRef(const PP_Var& var);
24 virtual PP_Var BeginSendPassRef(const PP_Var& var);
25 virtual void EndSendPassRef(const PP_Var& var);
26 virtual void ReleaseObjectRef(const PP_Var& var);
27
28 private:
29 DISALLOW_COPY_AND_ASSIGN(BrowserPluginVarSerializationRules);
30 };
31
32 } // namespace content
33
34 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_VAR_SERIALIZATION_RULE S_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698