Chromium Code Reviews| 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(blink::WebLocalFrame* frame, | |
| 15 const blink::WebPluginParams& params); | |
| 16 | |
| 17 void BindWebFrame(blink::WebFrame* frame) override {} | |
|
tommycli
2015/05/28 21:13:34
This cannot be a no-op, as then this object isn't
chrishtr
2015/05/28 21:16:52
Done.
| |
| 18 }; | |
| 19 | |
| 20 } // namespace content | |
| 21 | |
| 22 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_PLUGIN_PLACEHOLDER_H_ | |
| OLD | NEW |