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

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

Issue 6871040: Rename Instance_Trusted to Instance_Private, wire it up in Chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: include reordering, minor tweaks Created 9 years, 8 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) 2011 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 PPAPI_CPP_PRIVATE_INSTANCE_PRIVATE_H_
6 #define PPAPI_CPP_PRIVATE_INSTANCE_PRIVATE_H_
7
8 /**
9 * @file
10 * Defines the API ...
11 *
12 * @addtogroup CPP
13 * @{
14 */
15
16 #include "ppapi/cpp/instance.h"
17
18 /** The C++ interface to the Pepper API. */
19 namespace pp {
20
21 class VarPrivate;
22
23 class InstancePrivate : public Instance {
24 public:
25 explicit InstancePrivate(PP_Instance instance);
26 virtual ~InstancePrivate();
27
28 // @{
29 /// @name PPP_Instance_Private methods for the plugin to override:
30
31 /// See PPP_Instance_Private.GetInstanceObject.
32 // TODO(dmichael): Put this virtual function here and remove the
33 // 'Var GetInstanceObject()' version from pp::Instance.
34 //virtual VarPrivate GetInstanceObject();
35
36 // @}
37
38 // @{
39 /// @name PPB_Instance_Private methods for querying the browser:
40
41 /// See PPB_Instance_Private.GetWindowObject.
42 VarPrivate GetWindowObject();
43
44 /// See PPB_Instance_Private.GetOwnerElementObject.
45 VarPrivate GetOwnerElementObject();
46
47 /// See PPB_Instance.ExecuteScript.
48 VarPrivate ExecuteScript(const VarPrivate& script,
49 VarPrivate* exception = NULL);
50
51 // @}
52 };
53
54 } // namespace pp
55
56 /**
57 * @}
58 * End addtogroup CPP
59 */
60 #endif // PPAPI_CPP_PRIVATE_INSTANCE_PRIVATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698