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

Side by Side Diff: ppapi/cpp/private/instance_private.h

Issue 7362012: Remove untrusted scripting support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged Created 9 years, 5 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
« no previous file with comments | « ppapi/cpp/module.cc ('k') | ppapi/cpp/private/instance_private.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 PPAPI_CPP_PRIVATE_INSTANCE_PRIVATE_H_ 5 #ifndef PPAPI_CPP_PRIVATE_INSTANCE_PRIVATE_H_
6 #define PPAPI_CPP_PRIVATE_INSTANCE_PRIVATE_H_ 6 #define PPAPI_CPP_PRIVATE_INSTANCE_PRIVATE_H_
7 7
8 /** 8 /**
9 * @file 9 * @file
10 * Defines the API ... 10 * Defines the API ...
(...skipping 10 matching lines...) Expand all
21 class VarPrivate; 21 class VarPrivate;
22 22
23 class InstancePrivate : public Instance { 23 class InstancePrivate : public Instance {
24 public: 24 public:
25 explicit InstancePrivate(PP_Instance instance); 25 explicit InstancePrivate(PP_Instance instance);
26 virtual ~InstancePrivate(); 26 virtual ~InstancePrivate();
27 27
28 // @{ 28 // @{
29 /// @name PPP_Instance_Private methods for the plugin to override: 29 /// @name PPP_Instance_Private methods for the plugin to override:
30 30
31 #ifdef PPAPI_INSTANCE_REMOVE_SCRIPTING
32 /// See PPP_Instance_Private.GetInstanceObject. 31 /// See PPP_Instance_Private.GetInstanceObject.
33 virtual Var GetInstanceObject(); 32 virtual Var GetInstanceObject();
34 #endif
35 33
36 // @} 34 // @}
37 35
38 // @{ 36 // @{
39 /// @name PPB_Instance_Private methods for querying the browser: 37 /// @name PPB_Instance_Private methods for querying the browser:
40 38
41 /// See PPB_Instance_Private.GetWindowObject. 39 /// See PPB_Instance_Private.GetWindowObject.
42 VarPrivate GetWindowObject(); 40 VarPrivate GetWindowObject();
43 41
44 /// See PPB_Instance_Private.GetOwnerElementObject. 42 /// See PPB_Instance_Private.GetOwnerElementObject.
45 VarPrivate GetOwnerElementObject(); 43 VarPrivate GetOwnerElementObject();
46 44
47 /// See PPB_Instance.ExecuteScript. 45 /// See PPB_Instance.ExecuteScript.
48 VarPrivate ExecuteScript(const Var& script, Var* exception = NULL); 46 VarPrivate ExecuteScript(const Var& script, Var* exception = NULL);
49 47
50 // @} 48 // @}
51 }; 49 };
52 50
53 } // namespace pp 51 } // namespace pp
54 52
55 /** 53 /**
56 * @} 54 * @}
57 * End addtogroup CPP 55 * End addtogroup CPP
58 */ 56 */
59 #endif // PPAPI_CPP_PRIVATE_INSTANCE_PRIVATE_H_ 57 #endif // PPAPI_CPP_PRIVATE_INSTANCE_PRIVATE_H_
OLDNEW
« no previous file with comments | « ppapi/cpp/module.cc ('k') | ppapi/cpp/private/instance_private.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698