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

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

Issue 10081020: PPAPI: Make blocking completion callbacks work. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: export AssertLockHeld Created 8 years, 6 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) 2012 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_LAYER_COMPOSITOR_IMPL_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_LAYER_COMPOSITOR_IMPL_H_
6 #define WEBKIT_PLUGINS_PPAPI_PPB_LAYER_COMPOSITOR_IMPL_H_ 6 #define WEBKIT_PLUGINS_PPAPI_PPB_LAYER_COMPOSITOR_IMPL_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "ppapi/thunk/ppb_layer_compositor_api.h" 9 #include "ppapi/thunk/ppb_layer_compositor_api.h"
10 #include "ppapi/shared_impl/resource.h" 10 #include "ppapi/shared_impl/resource.h"
11 11
(...skipping 14 matching lines...) Expand all
26 // Resource override. 26 // Resource override.
27 virtual PPB_LayerCompositor_API* AsPPB_LayerCompositor_API(); 27 virtual PPB_LayerCompositor_API* AsPPB_LayerCompositor_API();
28 28
29 // PPB_LayerCompositor_API implementation. 29 // PPB_LayerCompositor_API implementation.
30 virtual PP_Bool AddLayer(PP_Resource layer) OVERRIDE; 30 virtual PP_Bool AddLayer(PP_Resource layer) OVERRIDE;
31 virtual void RemoveLayer(PP_Resource layer) OVERRIDE; 31 virtual void RemoveLayer(PP_Resource layer) OVERRIDE;
32 virtual void SetZIndex(PP_Resource layer, int32_t index) OVERRIDE; 32 virtual void SetZIndex(PP_Resource layer, int32_t index) OVERRIDE;
33 virtual void SetRect(PP_Resource layer, const PP_Rect* rect) OVERRIDE; 33 virtual void SetRect(PP_Resource layer, const PP_Rect* rect) OVERRIDE;
34 virtual void SetDisplay(PP_Resource layer, PP_Bool is_displayed) OVERRIDE; 34 virtual void SetDisplay(PP_Resource layer, PP_Bool is_displayed) OVERRIDE;
35 virtual void MarkAsDirty(PP_Resource layer) OVERRIDE; 35 virtual void MarkAsDirty(PP_Resource layer) OVERRIDE;
36 virtual int32_t SwapBuffers(PP_CompletionCallback callback) OVERRIDE; 36 virtual int32_t SwapBuffers(
37 scoped_refptr< ::ppapi::TrackedCallback> callback) OVERRIDE;
37 38
38 private: 39 private:
39 DISALLOW_COPY_AND_ASSIGN(PPB_LayerCompositor_Impl); 40 DISALLOW_COPY_AND_ASSIGN(PPB_LayerCompositor_Impl);
40 }; 41 };
41 42
42 } // namespace ppapi 43 } // namespace ppapi
43 } // namespace webkit 44 } // namespace webkit
44 45
45 #endif // WEBKIT_PLUGINS_PPAPI_PPB_LAYER_COMPOSITOR_IMPL_H_ 46 #endif // WEBKIT_PLUGINS_PPAPI_PPB_LAYER_COMPOSITOR_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/ppb_graphics_2d_impl.cc ('k') | webkit/plugins/ppapi/ppb_layer_compositor_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698