| OLD | NEW |
| (Empty) |
| 1 // Copyright 2015 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 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_PLUGIN_PLACEHOLDER_H_ | |
| 5 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_PLUGIN_PLACEHOLDER_H_ | |
| 6 | |
| 7 #include "components/plugins/renderer/plugin_placeholder.h" | |
| 8 | |
| 9 namespace content { | |
| 10 | |
| 11 // A subclass of PluginPlaceholder for use in Blink layout tests. | |
| 12 class TestPluginPlaceholder : public plugins::PluginPlaceholder { | |
| 13 public: | |
| 14 TestPluginPlaceholder(RenderFrame* render_frame, | |
| 15 blink::WebLocalFrame* frame, | |
| 16 const blink::WebPluginParams& params); | |
| 17 | |
| 18 void BindWebFrame(blink::WebFrame* frame) override; | |
| 19 }; | |
| 20 | |
| 21 } // namespace content | |
| 22 | |
| 23 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_PLUGIN_PLACEHOLDER_H_ | |
| OLD | NEW |