Add an exponential backoff to rechecking the app list doodle.
[chromium-blink-merge.git] / ppapi / cpp / private / instance_private.h
blob58254698995c98cfbbd67c2012b552226c3b19b1
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.
5 #ifndef PPAPI_CPP_PRIVATE_INSTANCE_PRIVATE_H_
6 #define PPAPI_CPP_PRIVATE_INSTANCE_PRIVATE_H_
8 /**
9 * @file
10 * Defines the API ...
12 * @addtogroup CPP
13 * @{
16 #include "ppapi/c/ppb_console.h"
17 #include "ppapi/cpp/instance.h"
19 /** The C++ interface to the Pepper API. */
20 namespace pp {
22 class Var;
23 class VarPrivate;
25 class InstancePrivate : public Instance {
26 public:
27 explicit InstancePrivate(PP_Instance instance);
28 virtual ~InstancePrivate();
30 // @{
31 /// @name PPP_Instance_Private methods for the plugin to override:
33 /// See PPP_Instance_Private.GetInstanceObject.
34 virtual Var GetInstanceObject();
36 // @}
38 // @{
39 /// @name PPB_Instance_Private methods for querying the browser:
41 /// See PPB_Instance_Private.GetWindowObject.
42 VarPrivate GetWindowObject();
44 /// See PPB_Instance_Private.GetOwnerElementObject.
45 VarPrivate GetOwnerElementObject();
47 /// See PPB_Instance.ExecuteScript.
48 VarPrivate ExecuteScript(const Var& script, Var* exception = NULL);
50 // @}
53 } // namespace pp
55 /**
56 * @}
57 * End addtogroup CPP
59 #endif // PPAPI_CPP_PRIVATE_INSTANCE_PRIVATE_H_