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

Side by Side Diff: webkit/plugins/ppapi/ppb_surface_3d_impl.h

Issue 7762013: Added GPU process "echo" IPC message. (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
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 WEBKIT_PLUGINS_PPAPI_PPB_SURFACE_3D_IMPL_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_SURFACE_3D_IMPL_H_
6 #define WEBKIT_PLUGINS_PPAPI_PPB_SURFACE_3D_IMPL_H_ 6 #define WEBKIT_PLUGINS_PPAPI_PPB_SURFACE_3D_IMPL_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/task.h"
9 #include "ppapi/shared_impl/resource.h" 10 #include "ppapi/shared_impl/resource.h"
10 #include "ppapi/thunk/ppb_surface_3d_api.h" 11 #include "ppapi/thunk/ppb_surface_3d_api.h"
11 #include "webkit/plugins/ppapi/callbacks.h" 12 #include "webkit/plugins/ppapi/callbacks.h"
12 #include "webkit/plugins/ppapi/plugin_delegate.h" 13 #include "webkit/plugins/ppapi/plugin_delegate.h"
13 14
14 namespace gfx { 15 namespace gfx {
15 class Size; 16 class Size;
16 } 17 }
17 18
18 namespace webkit { 19 namespace webkit {
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 69
69 bool bound_to_instance_; 70 bool bound_to_instance_;
70 71
71 // True when the page's SwapBuffers has been issued but not returned yet. 72 // True when the page's SwapBuffers has been issued but not returned yet.
72 bool swap_initiated_; 73 bool swap_initiated_;
73 scoped_refptr<TrackedCompletionCallback> swap_callback_; 74 scoped_refptr<TrackedCompletionCallback> swap_callback_;
74 75
75 // The context this surface is currently bound to. 76 // The context this surface is currently bound to.
76 PPB_Context3D_Impl* context_; 77 PPB_Context3D_Impl* context_;
77 78
79 ScopedRunnableMethodFactory<PPB_Surface3D_Impl> method_factory_;
80
78 DISALLOW_COPY_AND_ASSIGN(PPB_Surface3D_Impl); 81 DISALLOW_COPY_AND_ASSIGN(PPB_Surface3D_Impl);
79 }; 82 };
80 83
81 } // namespace ppapi 84 } // namespace ppapi
82 } // namespace webkit 85 } // namespace webkit
83 86
84 #endif // WEBKIT_PLUGINS_PPAPI_PPB_SURFACE_3D_IMPL_H_ 87 #endif // WEBKIT_PLUGINS_PPAPI_PPB_SURFACE_3D_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/ppb_graphics_3d_impl.cc ('k') | webkit/plugins/ppapi/ppb_surface_3d_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698