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 virtual TransportDIB* CreateTransportDIB(size_t size) OVERRIDE; | |
21 virtual void FreeTransportDIB(TransportDIB* dib) OVERRIDE; | |
22 | |
23 | |
24 // Allow pocking at a few private members. | |
Charlie Reis
2012/08/01 23:20:51
poking
Fady Samuel
2012/08/02 18:32:47
Done.
| |
25 using BrowserPlugin::guest_crashed_; | |
26 using BrowserPlugin::resize_pending_; | |
27 private: | |
28 uint32 transport_dib_next_sequence_number_; | |
29 }; | |
30 | |
31 } // namespace browser_plugin | |
32 } // namespace content | |
33 | |
34 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_TESTS_MOCK_BROWSER_PLUGIN_H_ | |
OLD | NEW |