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

Side by Side Diff: content/renderer/pepper/ppb_graphics_3d_impl.cc

Issue 20165002: Move webkit/plugins/ppapi to content/renderer/pepper. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: more more clang fun Created 7 years, 5 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) 2012 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 #include "webkit/plugins/ppapi/ppb_graphics_3d_impl.h" 5 #include "content/renderer/pepper/ppb_graphics_3d_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
11 #include "content/renderer/pepper/plugin_module.h"
12 #include "content/renderer/pepper/ppapi_plugin_instance_impl.h"
13 #include "content/renderer/pepper/resource_helper.h"
11 #include "gpu/command_buffer/client/gles2_implementation.h" 14 #include "gpu/command_buffer/client/gles2_implementation.h"
12 #include "ppapi/c/ppp_graphics_3d.h" 15 #include "ppapi/c/ppp_graphics_3d.h"
13 #include "ppapi/thunk/enter.h" 16 #include "ppapi/thunk/enter.h"
14 #include "third_party/WebKit/public/platform/WebString.h" 17 #include "third_party/WebKit/public/platform/WebString.h"
15 #include "third_party/WebKit/public/web/WebConsoleMessage.h" 18 #include "third_party/WebKit/public/web/WebConsoleMessage.h"
16 #include "third_party/WebKit/public/web/WebDocument.h" 19 #include "third_party/WebKit/public/web/WebDocument.h"
17 #include "third_party/WebKit/public/web/WebElement.h" 20 #include "third_party/WebKit/public/web/WebElement.h"
18 #include "third_party/WebKit/public/web/WebFrame.h" 21 #include "third_party/WebKit/public/web/WebFrame.h"
19 #include "third_party/WebKit/public/web/WebPluginContainer.h" 22 #include "third_party/WebKit/public/web/WebPluginContainer.h"
20 #include "webkit/plugins/plugin_switches.h" 23 #include "webkit/plugins/plugin_switches.h"
21 #include "webkit/plugins/ppapi/plugin_module.h"
22 #include "webkit/plugins/ppapi/ppapi_plugin_instance_impl.h"
23 #include "webkit/plugins/ppapi/resource_helper.h"
24 24
25 using ppapi::thunk::EnterResourceNoLock; 25 using ppapi::thunk::EnterResourceNoLock;
26 using ppapi::thunk::PPB_Graphics3D_API; 26 using ppapi::thunk::PPB_Graphics3D_API;
27 using WebKit::WebConsoleMessage; 27 using WebKit::WebConsoleMessage;
28 using WebKit::WebFrame; 28 using WebKit::WebFrame;
29 using WebKit::WebPluginContainer; 29 using WebKit::WebPluginContainer;
30 using WebKit::WebString; 30 using WebKit::WebString;
31 31
32 namespace webkit { 32 namespace webkit {
33 namespace ppapi { 33 namespace ppapi {
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 const PPP_Graphics3D* ppp_graphics_3d = 319 const PPP_Graphics3D* ppp_graphics_3d =
320 static_cast<const PPP_Graphics3D*>( 320 static_cast<const PPP_Graphics3D*>(
321 instance->module()->GetPluginInterface( 321 instance->module()->GetPluginInterface(
322 PPP_GRAPHICS_3D_INTERFACE)); 322 PPP_GRAPHICS_3D_INTERFACE));
323 if (ppp_graphics_3d) 323 if (ppp_graphics_3d)
324 ppp_graphics_3d->Graphics3DContextLost(this_pp_instance); 324 ppp_graphics_3d->Graphics3DContextLost(this_pp_instance);
325 } 325 }
326 326
327 } // namespace ppapi 327 } // namespace ppapi
328 } // namespace webkit 328 } // namespace webkit
OLDNEW
« no previous file with comments | « content/renderer/pepper/ppb_graphics_3d_impl.h ('k') | content/renderer/pepper/ppb_image_data_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698