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

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

Issue 6975053: PPAPI: Fix interface functions that take PP_CompletionCallbacks, but don't (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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
« no previous file with comments | « ppapi/tests/test_video_decoder.cc ('k') | webkit/plugins/ppapi/ppb_layer_compositor_impl.cc » ('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 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 "ppapi/c/dev/ppb_layer_compositor_dev.h" 8 #include "ppapi/c/dev/ppb_layer_compositor_dev.h"
9 #include "webkit/plugins/ppapi/resource.h" 9 #include "webkit/plugins/ppapi/resource.h"
10 10
(...skipping 14 matching lines...) Expand all
25 25
26 // Resource override. 26 // Resource override.
27 virtual PPB_LayerCompositor_Impl* AsPPB_LayerCompositor_Impl(); 27 virtual PPB_LayerCompositor_Impl* AsPPB_LayerCompositor_Impl();
28 28
29 PP_Bool AddLayer(PP_Resource layer); 29 PP_Bool AddLayer(PP_Resource layer);
30 void RemoveLayer(PP_Resource layer); 30 void RemoveLayer(PP_Resource layer);
31 void SetZIndex(PP_Resource layer, int32_t index); 31 void SetZIndex(PP_Resource layer, int32_t index);
32 void SetRect(PP_Resource layer, const struct PP_Rect* rect); 32 void SetRect(PP_Resource layer, const struct PP_Rect* rect);
33 void SetDisplay(PP_Resource layer, PP_Bool is_displayed); 33 void SetDisplay(PP_Resource layer, PP_Bool is_displayed);
34 void MarkAsDirty(PP_Resource layer); 34 void MarkAsDirty(PP_Resource layer);
35 PP_Bool SwapBuffers(struct PP_CompletionCallback callback); 35 int32_t SwapBuffers(struct PP_CompletionCallback callback);
36 36
37 private: 37 private:
38 DISALLOW_COPY_AND_ASSIGN(PPB_LayerCompositor_Impl); 38 DISALLOW_COPY_AND_ASSIGN(PPB_LayerCompositor_Impl);
39 }; 39 };
40 40
41 } // namespace ppapi 41 } // namespace ppapi
42 } // namespace webkit 42 } // namespace webkit
43 43
44 #endif // WEBKIT_PLUGINS_PPAPI_PPB_LAYER_COMPOSITOR_IMPL_H_ 44 #endif // WEBKIT_PLUGINS_PPAPI_PPB_LAYER_COMPOSITOR_IMPL_H_
OLDNEW
« no previous file with comments | « ppapi/tests/test_video_decoder.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