| 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" |
| (...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 292 // store the BrowserPlugin's BrowserPluginManager in a member variable to | 292 // store the BrowserPlugin's BrowserPluginManager in a member variable to |
| 293 // avoid accessing the RenderViewImpl. | 293 // avoid accessing the RenderViewImpl. |
| 294 const scoped_refptr<BrowserPluginManager> browser_plugin_manager_; | 294 const scoped_refptr<BrowserPluginManager> browser_plugin_manager_; |
| 295 | 295 |
| 296 // Used for HW compositing. | 296 // Used for HW compositing. |
| 297 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_; | 297 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_; |
| 298 | 298 |
| 299 // Used to identify the plugin to WebBindings. | 299 // Used to identify the plugin to WebBindings. |
| 300 scoped_ptr<struct _NPP> npp_; | 300 scoped_ptr<struct _NPP> npp_; |
| 301 | 301 |
| 302 // URL for the embedder frame. | |
| 303 const GURL embedder_frame_url_; | |
| 304 | |
| 305 std::vector<EditCommand> edit_commands_; | 302 std::vector<EditCommand> edit_commands_; |
| 306 | 303 |
| 307 // Weak factory used in v8 |MakeWeak| callback, since the v8 callback might | 304 // Weak factory used in v8 |MakeWeak| callback, since the v8 callback might |
| 308 // get called after BrowserPlugin has been destroyed. | 305 // get called after BrowserPlugin has been destroyed. |
| 309 base::WeakPtrFactory<BrowserPlugin> weak_ptr_factory_; | 306 base::WeakPtrFactory<BrowserPlugin> weak_ptr_factory_; |
| 310 | 307 |
| 311 DISALLOW_COPY_AND_ASSIGN(BrowserPlugin); | 308 DISALLOW_COPY_AND_ASSIGN(BrowserPlugin); |
| 312 }; | 309 }; |
| 313 | 310 |
| 314 } // namespace content | 311 } // namespace content |
| 315 | 312 |
| 316 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ | 313 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ |
| OLD | NEW |