Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Side by Side Diff: content/renderer/browser_plugin/tests/mock_browser_plugin.h

Issue 10830072: Browser Plugin: New Implementation (Renderer Side) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed leaky Persistents in BrowserPlugin Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698