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

Side by Side Diff: components/plugins/renderer/test_plugin_placeholder.cc

Issue 1158063002: Add plugins::TestPluginPlaceholder class and allow its use in Blink layout tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pluginfix
Patch Set: Created 5 years, 7 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
OLDNEW
(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
5 #include "components/plugins/renderer/test_plugin_placeholder.h"
6
7 namespace plugins {
8
9 TestPluginPlaceholder::TestPluginPlaceholder(
10 blink::WebLocalFrame* frame, const blink::WebPluginParams& params)
11 : PluginPlaceholder(nullptr, frame, params, "<div>Test content</div>")
tommycli 2015/05/26 20:08:18 Can we just eliminate this class entirely? Why not
chrishtr 2015/05/26 20:52:36 The reason is that someone has to include the stri
tommycli 2015/05/26 21:18:02 Perhaps I am misunderstanding something. Can "<div
12 { }
13
14 } // namespace plugins
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698