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

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

Issue 8527020: Cleanup: Remove unneeded forward declarations in ppapi. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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
« no previous file with comments | « ppapi/cpp/file_system.h ('k') | ppapi/cpp/graphics_3d_client.h » ('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_GRAPHICS_3D_H_ 5 #ifndef PPAPI_CPP_GRAPHICS_3D_H_
6 #define PPAPI_CPP_GRAPHICS_3D_H_ 6 #define PPAPI_CPP_GRAPHICS_3D_H_
7 7
8 #include "ppapi/c/ppb_graphics_3d.h" 8 #include "ppapi/c/ppb_graphics_3d.h"
9 #include "ppapi/cpp/resource.h" 9 #include "ppapi/cpp/resource.h"
10 10
11 /// @file 11 /// @file
12 /// This file defines the API to create a 3D rendering context in the browser. 12 /// This file defines the API to create a 3D rendering context in the browser.
13 namespace pp { 13 namespace pp {
14 14
15 class CompletionCallback; 15 class CompletionCallback;
16 class Instance; 16 class Instance;
17 class Var;
18 17
19 /// This class represents a 3D rendering context in the browser. 18 /// This class represents a 3D rendering context in the browser.
20 class Graphics3D : public Resource { 19 class Graphics3D : public Resource {
21 public: 20 public:
22 /// Default constructor for creating an is_null() Graphics3D object. 21 /// Default constructor for creating an is_null() Graphics3D object.
23 Graphics3D(); 22 Graphics3D();
24 23
25 /// A constructor for creating and and initializing a 3D rendering context. 24 /// A constructor for creating and and initializing a 3D rendering context.
26 /// The returned context is created off-screen and must be attached 25 /// The returned context is created off-screen and must be attached
27 /// to a module instance using <code>Instance::BindGraphics</code> to draw on 26 /// to a module instance using <code>Instance::BindGraphics</code> to draw on
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 /// 183 ///
185 /// @return An int32_t containing <code>PP_ERROR_BADRESOURCE</code> if 184 /// @return An int32_t containing <code>PP_ERROR_BADRESOURCE</code> if
186 /// context is invalid or <code>PP_ERROR_BADARGUMENT</code> if callback is 185 /// context is invalid or <code>PP_ERROR_BADARGUMENT</code> if callback is
187 /// invalid. 186 /// invalid.
188 int32_t SwapBuffers(const CompletionCallback& cc); 187 int32_t SwapBuffers(const CompletionCallback& cc);
189 }; 188 };
190 189
191 } // namespace pp 190 } // namespace pp
192 191
193 #endif // PPAPI_CPP_GRAPHICS_3D_H_ 192 #endif // PPAPI_CPP_GRAPHICS_3D_H_
194
OLDNEW
« no previous file with comments | « ppapi/cpp/file_system.h ('k') | ppapi/cpp/graphics_3d_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698