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

Side by Side Diff: ppapi/cpp/dev/graphics_3d_client_dev.h

Issue 7737013: Move PPAPI graphics3d and opengles interfaces out of Dev. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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/c/trusted/ppb_graphics_3d_trusted.h ('k') | ppapi/cpp/dev/graphics_3d_client_dev.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef PPAPI_CPP_DEV_GRAPHICS_3D_CLIENT_DEV_H_
6 #define PPAPI_CPP_DEV_GRAPHICS_3D_CLIENT_DEV_H_
7
8 #include "ppapi/c/pp_stdint.h"
9
10 namespace pp {
11
12 class Instance;
13 class Rect;
14 class Scrollbar_Dev;
15 class Widget_Dev;
16
17 // This class provides a C++ interface for callbacks related to 3D. You
18 // would normally use multiple inheritance to derive from this class in your
19 // instance.
20 class Graphics3DClient_Dev {
21 public:
22 Graphics3DClient_Dev(Instance* instance);
23 virtual ~Graphics3DClient_Dev();
24
25 /**
26 * Notification that the context was lost for the 3D devices.
27 */
28 virtual void Graphics3DContextLost() = 0;
29
30 private:
31 Instance* associated_instance_;
32 };
33
34 } // namespace pp
35
36 #endif // PPAPI_CPP_DEV_GRAPHICS_3D_CLIENT_DEV_H_
OLDNEW
« no previous file with comments | « ppapi/c/trusted/ppb_graphics_3d_trusted.h ('k') | ppapi/cpp/dev/graphics_3d_client_dev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698