| OLD | NEW |
| 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 #ifndef CONTENT_PUBLIC_RENDERER_RENDERER_PPAPI_HOST_H_ | 5 #ifndef CONTENT_PUBLIC_RENDERER_RENDERER_PPAPI_HOST_H_ |
| 6 #define CONTENT_PUBLIC_RENDERER_RENDERER_PPAPI_HOST_H_ | 6 #define CONTENT_PUBLIC_RENDERER_RENDERER_PPAPI_HOST_H_ |
| 7 | 7 |
| 8 #include "base/callback_forward.h" |
| 8 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 9 #include "base/platform_file.h" | 10 #include "base/platform_file.h" |
| 10 #include "base/process.h" | 11 #include "base/process.h" |
| 11 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
| 12 #include "ipc/ipc_platform_file.h" | 13 #include "ipc/ipc_platform_file.h" |
| 13 #include "ppapi/c/pp_instance.h" | 14 #include "ppapi/c/pp_instance.h" |
| 14 #include "webkit/plugins/ppapi/plugin_delegate.h" | |
| 15 | 15 |
| 16 namespace base { | 16 namespace base { |
| 17 class FilePath; | 17 class FilePath; |
| 18 } | 18 } |
| 19 | 19 |
| 20 namespace gfx { | 20 namespace gfx { |
| 21 class Point; | 21 class Point; |
| 22 } | 22 } |
| 23 | 23 |
| 24 namespace IPC { | 24 namespace IPC { |
| 25 class Message; | 25 class Message; |
| 26 } | 26 } |
| 27 | 27 |
| 28 namespace ppapi { | 28 namespace ppapi { |
| 29 namespace host { | 29 namespace host { |
| 30 class PpapiHost; | 30 class PpapiHost; |
| 31 } | 31 } |
| 32 } | 32 } |
| 33 | 33 |
| 34 namespace WebKit { | 34 namespace WebKit { |
| 35 class WebPluginContainer; | 35 class WebPluginContainer; |
| 36 } | 36 } |
| 37 | 37 |
| 38 namespace webkit { | 38 namespace webkit { |
| 39 namespace ppapi { | 39 namespace ppapi { |
| 40 class PluginInstance; | 40 class PluginInstance; |
| 41 class PluginModule; | |
| 42 } | 41 } |
| 43 } | 42 } |
| 44 | 43 |
| 45 namespace content { | 44 namespace content { |
| 46 | 45 |
| 47 class RenderView; | 46 class RenderView; |
| 48 | 47 |
| 49 // Interface that allows components in the embedder app to talk to the | 48 // Interface that allows components in the embedder app to talk to the |
| 50 // PpapiHost in the renderer process. | 49 // PpapiHost in the renderer process. |
| 51 // | 50 // |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 const IPC::Message& nested_msg, | 127 const IPC::Message& nested_msg, |
| 129 const base::Callback<void(int)>& callback) const = 0; | 128 const base::Callback<void(int)>& callback) const = 0; |
| 130 | 129 |
| 131 protected: | 130 protected: |
| 132 virtual ~RendererPpapiHost() {} | 131 virtual ~RendererPpapiHost() {} |
| 133 }; | 132 }; |
| 134 | 133 |
| 135 } // namespace content | 134 } // namespace content |
| 136 | 135 |
| 137 #endif // CONTENT_PUBLIC_RENDERER_RENDERER_PPAPI_HOST_H_ | 136 #endif // CONTENT_PUBLIC_RENDERER_RENDERER_PPAPI_HOST_H_ |
| OLD | NEW |