| 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_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ |
| 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ | 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 #include "third_party/WebKit/public/platform/WebURLResponse.h" | 60 #include "third_party/WebKit/public/platform/WebURLResponse.h" |
| 61 #include "third_party/WebKit/public/web/WebAssociatedURLLoaderClient.h" | 61 #include "third_party/WebKit/public/web/WebAssociatedURLLoaderClient.h" |
| 62 #include "third_party/WebKit/public/web/WebPlugin.h" | 62 #include "third_party/WebKit/public/web/WebPlugin.h" |
| 63 #include "third_party/WebKit/public/web/WebUserGestureToken.h" | 63 #include "third_party/WebKit/public/web/WebUserGestureToken.h" |
| 64 #include "ui/base/ime/text_input_type.h" | 64 #include "ui/base/ime/text_input_type.h" |
| 65 #include "ui/gfx/geometry/rect.h" | 65 #include "ui/gfx/geometry/rect.h" |
| 66 #include "url/gurl.h" | 66 #include "url/gurl.h" |
| 67 #include "v8/include/v8.h" | 67 #include "v8/include/v8.h" |
| 68 | 68 |
| 69 struct PP_Point; | 69 struct PP_Point; |
| 70 struct _NPP; | |
| 71 | 70 |
| 72 class SkBitmap; | 71 class SkBitmap; |
| 73 class TransportDIB; | |
| 74 | 72 |
| 75 namespace blink { | 73 namespace blink { |
| 76 class WebInputEvent; | 74 class WebInputEvent; |
| 77 class WebLayer; | 75 class WebLayer; |
| 78 class WebMouseEvent; | 76 class WebMouseEvent; |
| 79 class WebPluginContainer; | 77 class WebPluginContainer; |
| 80 class WebURLLoader; | |
| 81 class WebURLResponse; | 78 class WebURLResponse; |
| 82 struct WebCompositionUnderline; | 79 struct WebCompositionUnderline; |
| 83 struct WebCursorInfo; | 80 struct WebCursorInfo; |
| 84 struct WebURLError; | 81 struct WebURLError; |
| 85 struct WebPrintParams; | 82 struct WebPrintParams; |
| 86 } // namespace blink | 83 } // namespace blink |
| 87 | 84 |
| 88 namespace cc { | 85 namespace cc { |
| 89 class TextureLayer; | 86 class TextureLayer; |
| 90 } | 87 } |
| (...skipping 16 matching lines...) Expand all Loading... |
| 107 class FullscreenContainer; | 104 class FullscreenContainer; |
| 108 class MessageChannel; | 105 class MessageChannel; |
| 109 class PepperAudioController; | 106 class PepperAudioController; |
| 110 class PepperCompositorHost; | 107 class PepperCompositorHost; |
| 111 class PepperGraphics2DHost; | 108 class PepperGraphics2DHost; |
| 112 class PluginInstanceThrottlerImpl; | 109 class PluginInstanceThrottlerImpl; |
| 113 class PluginModule; | 110 class PluginModule; |
| 114 class PluginObject; | 111 class PluginObject; |
| 115 class PPB_Graphics3D_Impl; | 112 class PPB_Graphics3D_Impl; |
| 116 class PPB_ImageData_Impl; | 113 class PPB_ImageData_Impl; |
| 117 class PPB_URLLoader_Impl; | |
| 118 class RenderFrameImpl; | 114 class RenderFrameImpl; |
| 119 class RenderViewImpl; | |
| 120 | 115 |
| 121 // Represents one time a plugin appears on one web page. | 116 // Represents one time a plugin appears on one web page. |
| 122 // | 117 // |
| 123 // Note: to get from a PP_Instance to a PepperPluginInstance*, use the | 118 // Note: to get from a PP_Instance to a PepperPluginInstance*, use the |
| 124 // ResourceTracker. | 119 // ResourceTracker. |
| 125 class CONTENT_EXPORT PepperPluginInstanceImpl | 120 class CONTENT_EXPORT PepperPluginInstanceImpl |
| 126 : public base::RefCounted<PepperPluginInstanceImpl>, | 121 : public base::RefCounted<PepperPluginInstanceImpl>, |
| 127 public NON_EXPORTED_BASE(PepperPluginInstance), | 122 public NON_EXPORTED_BASE(PepperPluginInstance), |
| 128 public ppapi::PPB_Instance_Shared, | 123 public ppapi::PPB_Instance_Shared, |
| 129 public NON_EXPORTED_BASE(cc::TextureLayerClient), | 124 public NON_EXPORTED_BASE(cc::TextureLayerClient), |
| (...skipping 856 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 986 // view change events. | 981 // view change events. |
| 987 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_; | 982 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_; |
| 988 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_; | 983 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_; |
| 989 | 984 |
| 990 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); | 985 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); |
| 991 }; | 986 }; |
| 992 | 987 |
| 993 } // namespace content | 988 } // namespace content |
| 994 | 989 |
| 995 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ | 990 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ |
| OLD | NEW |