OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_RENDERER_BROWSER_PLUGIN_MOCK_BROWSER_PLUGIN_H_ |
| 6 #define CONTENT_RENDERER_BROWSER_PLUGIN_MOCK_BROWSER_PLUGIN_H_ |
| 7 |
| 8 #include "content/renderer/browser_plugin/browser_plugin.h" |
| 9 |
| 10 namespace content { |
| 11 |
| 12 class MockBrowserPlugin : public BrowserPlugin { |
| 13 public: |
| 14 MockBrowserPlugin( |
| 15 int id, |
| 16 RenderViewImpl* render_view, |
| 17 WebKit::WebFrame* frame, |
| 18 const WebKit::WebPluginParams& params); |
| 19 |
| 20 virtual ~MockBrowserPlugin(); |
| 21 |
| 22 // Allow poking at a few private members. |
| 23 using BrowserPlugin::guest_crashed_; |
| 24 using BrowserPlugin::resize_pending_; |
| 25 }; |
| 26 |
| 27 } // namespace content |
| 28 |
| 29 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_MOCK_BROWSER_PLUGIN_H_ |
OLD | NEW |