OLD | NEW |
(Empty) | |
| 1 #ifndef CONTENT_RENDERER_BROWSER_PLUGIN_TESTS_MOCK_BROWSER_PLUGIN_H_ |
| 2 #define CONTENT_RENDERER_BROWSER_PLUGIN_TESTS_MOCK_BROWSER_PLUGIN_H_ |
| 3 |
| 4 #include "content/renderer/browser_plugin/browser_plugin.h" |
| 5 |
| 6 namespace content { |
| 7 namespace browser_plugin { |
| 8 |
| 9 class MockBrowserPlugin : public BrowserPlugin { |
| 10 public: |
| 11 MockBrowserPlugin( |
| 12 int id, |
| 13 RenderViewImpl* render_view, |
| 14 int routing_id, |
| 15 WebKit::WebFrame* frame, |
| 16 const WebKit::WebPluginParams& params); |
| 17 |
| 18 virtual ~MockBrowserPlugin(); |
| 19 |
| 20 // Allow pocking at a few private members. |
| 21 using BrowserPlugin::guest_crashed_; |
| 22 using BrowserPlugin::resize_pending_; |
| 23 }; |
| 24 |
| 25 } // namespace browser_plugin |
| 26 } // namespace content |
| 27 |
| 28 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_TESTS_MOCK_BROWSER_PLUGIN_H_ |
OLD | NEW |