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

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

Issue 8772071: Cleanup: Remove unneeded includes in webkit::ppapi:PluginInstance. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase Created 9 years 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 | « webkit/plugins/ppapi/ppapi_plugin_instance.cc ('k') | no next file » | 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 #include "webkit/plugins/ppapi/ppb_graphics_3d_impl.h" 5 #include "webkit/plugins/ppapi/ppb_graphics_3d_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/message_loop.h" 8 #include "base/message_loop.h"
9 #include "gpu/command_buffer/client/gles2_implementation.h" 9 #include "gpu/command_buffer/client/gles2_implementation.h"
10 #include "ppapi/c/ppp_graphics_3d.h"
10 #include "webkit/plugins/ppapi/plugin_module.h" 11 #include "webkit/plugins/ppapi/plugin_module.h"
11 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" 12 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h"
12 #include "webkit/plugins/ppapi/resource_helper.h" 13 #include "webkit/plugins/ppapi/resource_helper.h"
13 14
14 using ppapi::thunk::PPB_Graphics3D_API; 15 using ppapi::thunk::PPB_Graphics3D_API;
15 16
16 namespace webkit { 17 namespace webkit {
17 namespace ppapi { 18 namespace ppapi {
18 19
19 namespace { 20 namespace {
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 const PPP_Graphics3D* ppp_graphics_3d = 254 const PPP_Graphics3D* ppp_graphics_3d =
254 static_cast<const PPP_Graphics3D*>( 255 static_cast<const PPP_Graphics3D*>(
255 instance->module()->GetPluginInterface( 256 instance->module()->GetPluginInterface(
256 PPP_GRAPHICS_3D_INTERFACE)); 257 PPP_GRAPHICS_3D_INTERFACE));
257 if (ppp_graphics_3d) 258 if (ppp_graphics_3d)
258 ppp_graphics_3d->Graphics3DContextLost(pp_instance()); 259 ppp_graphics_3d->Graphics3DContextLost(pp_instance());
259 } 260 }
260 261
261 } // namespace ppapi 262 } // namespace ppapi
262 } // namespace webkit 263 } // namespace webkit
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/ppapi_plugin_instance.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698