| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ | 5 #ifndef CONTENT_PUBLIC_PPAPI_PLUGIN_INSTANCE_H_ |
| 6 #define WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ | 6 #define CONTENT_PUBLIC_PPAPI_PLUGIN_INSTANCE_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/process/process_handle.h" | 9 #include "base/process/process_handle.h" |
| 10 #include "content/common/content_export.h" |
| 10 #include "ppapi/c/pp_resource.h" | 11 #include "ppapi/c/pp_resource.h" |
| 11 #include "ppapi/c/private/ppb_instance_private.h" | 12 #include "ppapi/c/private/ppb_instance_private.h" |
| 12 #include "webkit/plugins/webkit_plugins_export.h" | |
| 13 | 13 |
| 14 class GURL; | 14 class GURL; |
| 15 | 15 |
| 16 namespace base { | 16 namespace base { |
| 17 class FilePath; | 17 class FilePath; |
| 18 } | 18 } |
| 19 | 19 |
| 20 namespace content { | 20 namespace content { |
| 21 class RenderView; | 21 class RenderView; |
| 22 } | 22 } |
| (...skipping 15 matching lines...) Expand all Loading... |
| 38 | 38 |
| 39 namespace WebKit { | 39 namespace WebKit { |
| 40 class WebPluginContainer; | 40 class WebPluginContainer; |
| 41 } | 41 } |
| 42 | 42 |
| 43 namespace webkit { | 43 namespace webkit { |
| 44 namespace ppapi { | 44 namespace ppapi { |
| 45 | 45 |
| 46 class PluginInstance { | 46 class PluginInstance { |
| 47 public: | 47 public: |
| 48 static WEBKIT_PLUGINS_EXPORT PluginInstance* Get(PP_Instance instance_id); | 48 static CONTENT_EXPORT PluginInstance* Get(PP_Instance instance_id); |
| 49 | 49 |
| 50 virtual ~PluginInstance() {} | 50 virtual ~PluginInstance() {} |
| 51 | 51 |
| 52 virtual content::RenderView* GetRenderView() = 0; | 52 virtual content::RenderView* GetRenderView() = 0; |
| 53 | 53 |
| 54 virtual WebKit::WebPluginContainer* GetContainer() = 0; | 54 virtual WebKit::WebPluginContainer* GetContainer() = 0; |
| 55 | 55 |
| 56 virtual ::ppapi::VarTracker* GetVarTracker() = 0; | 56 virtual ::ppapi::VarTracker* GetVarTracker() = 0; |
| 57 | 57 |
| 58 virtual const GURL& GetPluginURL() = 0; | 58 virtual const GURL& GetPluginURL() = 0; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 | 95 |
| 96 virtual int32_t Navigate(const ::ppapi::URLRequestInfoData& request, | 96 virtual int32_t Navigate(const ::ppapi::URLRequestInfoData& request, |
| 97 const char* target, | 97 const char* target, |
| 98 bool from_user_action) = 0; | 98 bool from_user_action) = 0; |
| 99 | 99 |
| 100 }; | 100 }; |
| 101 | 101 |
| 102 } // namespace ppapi | 102 } // namespace ppapi |
| 103 } // namespace webkit | 103 } // namespace webkit |
| 104 | 104 |
| 105 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ | 105 #endif // CONTENT_PUBLIC_PPAPI_PLUGIN_INSTANCE_H_ |
| OLD | NEW |