OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
jam
2012/11/08 17:18:08
why a top level dir under content for just one fil
| |
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 "content/public/layouttest_support/content_layouttest_support.h" | |
6 | |
7 #include "content/renderer/render_view_impl.h" | |
8 #include "third_party/WebKit/Tools/DumpRenderTree/chromium/TestRunner/public/Web TestProxy.h" | |
9 | |
10 using WebTestRunner::WebTestProxy; | |
11 using WebTestRunner::WebTestProxyBase; | |
12 | |
13 namespace content { | |
14 | |
15 RenderViewImpl* CreateWebTestProxy(RenderViewImplParams* params, | |
16 WebTestRunner::WebTestProxyBase** base) { | |
17 typedef WebTestProxy<RenderViewImpl, RenderViewImplParams*> ProxyType; | |
18 ProxyType* render_view_proxy = new ProxyType( | |
19 reinterpret_cast<RenderViewImplParams*>(params)); | |
20 if (base) | |
21 *base = static_cast<WebTestProxyBase*>(render_view_proxy); | |
22 return render_view_proxy; | |
23 } | |
24 | |
25 } // namespace content | |
OLD | NEW |