| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ | 5 #ifndef CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ |
| 6 #define CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ | 6 #define CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ |
| 7 | 7 |
| 8 #include "third_party/WebKit/public/web/WebPlugin.h" | 8 #include "third_party/WebKit/public/web/WebPlugin.h" |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
| 12 #include "base/sequenced_task_runner_helpers.h" | 12 #include "base/sequenced_task_runner_helpers.h" |
| 13 #include "cc/surfaces/surface_id.h" |
| 13 #include "content/renderer/mouse_lock_dispatcher.h" | 14 #include "content/renderer/mouse_lock_dispatcher.h" |
| 14 #include "content/renderer/render_view_impl.h" | 15 #include "content/renderer/render_view_impl.h" |
| 15 #include "third_party/WebKit/public/web/WebCompositionUnderline.h" | 16 #include "third_party/WebKit/public/web/WebCompositionUnderline.h" |
| 16 #include "third_party/WebKit/public/web/WebDragStatus.h" | 17 #include "third_party/WebKit/public/web/WebDragStatus.h" |
| 17 #include "third_party/WebKit/public/web/WebNode.h" | 18 #include "third_party/WebKit/public/web/WebNode.h" |
| 18 #include "third_party/WebKit/public/web/WebWidget.h" | 19 #include "third_party/WebKit/public/web/WebWidget.h" |
| 19 | 20 |
| 20 struct BrowserPluginHostMsg_ResizeGuest_Params; | 21 struct BrowserPluginHostMsg_ResizeGuest_Params; |
| 21 struct FrameMsg_BuffersSwapped_Params; | 22 struct FrameMsg_BuffersSwapped_Params; |
| 22 | 23 |
| 23 namespace cc { | 24 namespace cc { |
| 24 struct SurfaceId; | |
| 25 struct SurfaceSequence; | 25 struct SurfaceSequence; |
| 26 } | 26 } |
| 27 | 27 |
| 28 namespace content { | 28 namespace content { |
| 29 | 29 |
| 30 class BrowserPluginDelegate; | 30 class BrowserPluginDelegate; |
| 31 class BrowserPluginManager; | 31 class BrowserPluginManager; |
| 32 class ChildFrameCompositingHelper; | 32 class ChildFrameCompositingHelper; |
| 33 | 33 |
| 34 class CONTENT_EXPORT BrowserPlugin : | 34 class CONTENT_EXPORT BrowserPlugin : |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 // Weak factory used in v8 |MakeWeak| callback, since the v8 callback might | 212 // Weak factory used in v8 |MakeWeak| callback, since the v8 callback might |
| 213 // get called after BrowserPlugin has been destroyed. | 213 // get called after BrowserPlugin has been destroyed. |
| 214 base::WeakPtrFactory<BrowserPlugin> weak_ptr_factory_; | 214 base::WeakPtrFactory<BrowserPlugin> weak_ptr_factory_; |
| 215 | 215 |
| 216 DISALLOW_COPY_AND_ASSIGN(BrowserPlugin); | 216 DISALLOW_COPY_AND_ASSIGN(BrowserPlugin); |
| 217 }; | 217 }; |
| 218 | 218 |
| 219 } // namespace content | 219 } // namespace content |
| 220 | 220 |
| 221 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ | 221 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ |
| OLD | NEW |