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

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

Issue 392013005: [#1] Delete reduntdant 19 header files in ui/gfx (8 of 19 by this) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sorted includes Created 6 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
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 "content/renderer/pepper/renderer_ppapi_host_impl.h" 5 #include "content/renderer/pepper/renderer_ppapi_host_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
11 #include "base/process/process_handle.h" 11 #include "base/process/process_handle.h"
12 #include "content/common/sandbox_util.h" 12 #include "content/common/sandbox_util.h"
13 #include "content/renderer/pepper/fullscreen_container.h" 13 #include "content/renderer/pepper/fullscreen_container.h"
14 #include "content/renderer/pepper/host_globals.h" 14 #include "content/renderer/pepper/host_globals.h"
15 #include "content/renderer/pepper/pepper_browser_connection.h" 15 #include "content/renderer/pepper/pepper_browser_connection.h"
16 #include "content/renderer/pepper/pepper_graphics_2d_host.h" 16 #include "content/renderer/pepper/pepper_graphics_2d_host.h"
17 #include "content/renderer/pepper/pepper_in_process_resource_creation.h" 17 #include "content/renderer/pepper/pepper_in_process_resource_creation.h"
18 #include "content/renderer/pepper/pepper_in_process_router.h" 18 #include "content/renderer/pepper/pepper_in_process_router.h"
19 #include "content/renderer/pepper/pepper_plugin_instance_impl.h" 19 #include "content/renderer/pepper/pepper_plugin_instance_impl.h"
20 #include "content/renderer/pepper/plugin_module.h" 20 #include "content/renderer/pepper/plugin_module.h"
21 #include "content/renderer/render_view_impl.h" 21 #include "content/renderer/render_view_impl.h"
22 #include "content/renderer/render_widget_fullscreen_pepper.h" 22 #include "content/renderer/render_widget_fullscreen_pepper.h"
23 #include "ipc/ipc_message.h" 23 #include "ipc/ipc_message.h"
24 #include "ppapi/host/ppapi_host.h" 24 #include "ppapi/host/ppapi_host.h"
25 #include "ppapi/proxy/host_dispatcher.h" 25 #include "ppapi/proxy/host_dispatcher.h"
26 #include "third_party/WebKit/public/platform/WebRect.h" 26 #include "third_party/WebKit/public/platform/WebRect.h"
27 #include "third_party/WebKit/public/web/WebDocument.h" 27 #include "third_party/WebKit/public/web/WebDocument.h"
28 #include "third_party/WebKit/public/web/WebElement.h" 28 #include "third_party/WebKit/public/web/WebElement.h"
29 #include "third_party/WebKit/public/web/WebPluginContainer.h" 29 #include "third_party/WebKit/public/web/WebPluginContainer.h"
30 #include "ui/gfx/point.h" 30 #include "ui/gfx/geometry/point.h"
31 31
32 namespace content { 32 namespace content {
33 // static 33 // static
34 CONTENT_EXPORT RendererPpapiHost* RendererPpapiHost::GetForPPInstance( 34 CONTENT_EXPORT RendererPpapiHost* RendererPpapiHost::GetForPPInstance(
35 PP_Instance instance) { 35 PP_Instance instance) {
36 return RendererPpapiHostImpl::GetForPPInstance(instance); 36 return RendererPpapiHostImpl::GetForPPInstance(instance);
37 } 37 }
38 38
39 // Out-of-process constructor. 39 // Out-of-process constructor.
40 RendererPpapiHostImpl::RendererPpapiHostImpl( 40 RendererPpapiHostImpl::RendererPpapiHostImpl(
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 PepperPluginInstanceImpl* instance = 271 PepperPluginInstanceImpl* instance =
272 HostGlobals::Get()->GetInstance(pp_instance); 272 HostGlobals::Get()->GetInstance(pp_instance);
273 if (!instance) 273 if (!instance)
274 return NULL; 274 return NULL;
275 if (!instance->IsValidInstanceOf(module_)) 275 if (!instance->IsValidInstanceOf(module_))
276 return NULL; 276 return NULL;
277 return instance; 277 return instance;
278 } 278 }
279 279
280 } // namespace content 280 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698