OLD | NEW |
(Empty) | |
| 1 #ifndef CONTENT_RENDERER_BROWSER_PLUGIN_MOCK_BROWSER_PLUGIN_H_ |
| 2 #define CONTENT_RENDERER_BROWSER_PLUGIN_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 WebKit::WebFrame* frame, |
| 15 const WebKit::WebPluginParams& params); |
| 16 |
| 17 virtual ~MockBrowserPlugin(); |
| 18 |
| 19 // Allow poking at a few private members. |
| 20 using BrowserPlugin::guest_crashed_; |
| 21 using BrowserPlugin::resize_pending_; |
| 22 private: |
| 23 uint32 transport_dib_next_sequence_number_; |
| 24 }; |
| 25 |
| 26 } // namespace browser_plugin |
| 27 } // namespace content |
| 28 |
| 29 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_MOCK_BROWSER_PLUGIN_H_ |
OLD | NEW |