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

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

Issue 7669055: Remove webkit::ppapi::Resource. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nulls auditeed Created 9 years, 4 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 #include "webkit/plugins/ppapi/ppb_layer_compositor_impl.h" 5 #include "webkit/plugins/ppapi/ppb_layer_compositor_impl.h"
6 6
7 #include "ppapi/c/pp_errors.h" 7 #include "ppapi/c/pp_errors.h"
8 #include "webkit/plugins/ppapi/common.h" 8 #include "webkit/plugins/ppapi/common.h"
9 9
10 using ppapi::thunk::PPB_LayerCompositor_API; 10 using ppapi::thunk::PPB_LayerCompositor_API;
11 11
12 namespace webkit { 12 namespace webkit {
13 namespace ppapi { 13 namespace ppapi {
14 14
15 PPB_LayerCompositor_Impl::PPB_LayerCompositor_Impl(PluginInstance* instance) 15 PPB_LayerCompositor_Impl::PPB_LayerCompositor_Impl(PP_Instance instance)
16 : Resource(instance) { 16 : Resource(instance) {
17 } 17 }
18 18
19 PPB_LayerCompositor_Impl::~PPB_LayerCompositor_Impl() { 19 PPB_LayerCompositor_Impl::~PPB_LayerCompositor_Impl() {
20 } 20 }
21 21
22 PPB_LayerCompositor_API* 22 PPB_LayerCompositor_API*
23 PPB_LayerCompositor_Impl::AsPPB_LayerCompositor_API() { 23 PPB_LayerCompositor_Impl::AsPPB_LayerCompositor_API() {
24 return this; 24 return this;
25 } 25 }
(...skipping 18 matching lines...) Expand all
44 44
45 void PPB_LayerCompositor_Impl::MarkAsDirty(PP_Resource layer) { 45 void PPB_LayerCompositor_Impl::MarkAsDirty(PP_Resource layer) {
46 } 46 }
47 47
48 int32_t PPB_LayerCompositor_Impl::SwapBuffers(PP_CompletionCallback callback) { 48 int32_t PPB_LayerCompositor_Impl::SwapBuffers(PP_CompletionCallback callback) {
49 return PP_ERROR_FAILED; 49 return PP_ERROR_FAILED;
50 } 50 }
51 51
52 } // namespace ppapi 52 } // namespace ppapi
53 } // namespace webkit 53 } // namespace webkit
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/ppb_layer_compositor_impl.h ('k') | webkit/plugins/ppapi/ppb_proxy_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698