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

Side by Side Diff: ppapi/cpp/instance.h

Issue 3531008: Integrated Pepper3D v2 with the accelerated compositor.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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
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 PPAPI_CPP_INSTANCE_H_ 5 #ifndef PPAPI_CPP_INSTANCE_H_
6 #define PPAPI_CPP_INSTANCE_H_ 6 #define PPAPI_CPP_INSTANCE_H_
7 7
8 /** 8 /**
9 * @file 9 * @file
10 * Defines the API ... 10 * Defines the API ...
11 * 11 *
12 * @addtogroup CPP 12 * @addtogroup CPP
13 * @{ 13 * @{
14 */ 14 */
15 15
16 #include <map> 16 #include <map>
17 #include <string> 17 #include <string>
18 18
19 #include "ppapi/c/dev/ppp_printing_dev.h" 19 #include "ppapi/c/dev/ppp_printing_dev.h"
20 #include "ppapi/c/pp_instance.h" 20 #include "ppapi/c/pp_instance.h"
21 #include "ppapi/c/pp_resource.h" 21 #include "ppapi/c/pp_resource.h"
22 #include "ppapi/c/pp_stdint.h" 22 #include "ppapi/c/pp_stdint.h"
23 23
24 struct PP_InputEvent; 24 struct PP_InputEvent;
25 25
26 /** The C++ interface to the Pepper API. */ 26 /** The C++ interface to the Pepper API. */
27 namespace pp { 27 namespace pp {
28 28
29 class Graphics2D; 29 class Graphics2D;
30 class Graphics3D_Dev;
30 class ImageData; 31 class ImageData;
31 class Point; 32 class Point;
32 class Rect; 33 class Rect;
33 class Rect; 34 class Rect;
34 class Resource; 35 class Resource;
35 class Scrollbar_Dev; 36 class Scrollbar_Dev;
36 class URLLoader_Dev; 37 class URLLoader_Dev;
37 class Var; 38 class Var;
38 class Widget_Dev; 39 class Widget_Dev;
39 40
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 83
83 /** See PPB_Instance.GetWindowObject. */ 84 /** See PPB_Instance.GetWindowObject. */
84 Var GetWindowObject(); 85 Var GetWindowObject();
85 86
86 /** See PPB_Instance.GetOwnerElementObject. */ 87 /** See PPB_Instance.GetOwnerElementObject. */
87 Var GetOwnerElementObject(); 88 Var GetOwnerElementObject();
88 89
89 /** See PPB_Instance.BindGraphics. */ 90 /** See PPB_Instance.BindGraphics. */
90 bool BindGraphics(const Graphics2D& graphics); 91 bool BindGraphics(const Graphics2D& graphics);
91 92
93 /** See PPB_Instance.BindGraphics. */
94 bool BindGraphics(const Graphics3D_Dev& graphics);
95
92 /** See PPB_Instance.IsFullFrame. */ 96 /** See PPB_Instance.IsFullFrame. */
93 bool IsFullFrame(); 97 bool IsFullFrame();
94 98
95 /** See PPB_Instance.ExecuteScript. */ 99 /** See PPB_Instance.ExecuteScript. */
96 Var ExecuteScript(const Var& script, Var* exception = NULL); 100 Var ExecuteScript(const Var& script, Var* exception = NULL);
97 // @} 101 // @}
98 102
99 /** 103 /**
100 * Associates a plugin instance with an interface, 104 * Associates a plugin instance with an interface,
101 * creating an object... {PENDING: clarify!} 105 * creating an object... {PENDING: clarify!}
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 InterfaceNameToObjectMap interface_name_to_objects_; 152 InterfaceNameToObjectMap interface_name_to_objects_;
149 }; 153 };
150 154
151 } // namespace pp 155 } // namespace pp
152 156
153 /** 157 /**
154 * @} 158 * @}
155 * End addtogroup CPP 159 * End addtogroup CPP
156 */ 160 */
157 #endif // PPAPI_CPP_INSTANCE_H_ 161 #endif // PPAPI_CPP_INSTANCE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698