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

Side by Side Diff: content/layouttest_support/content_layouttest_support.cc

Issue 11362161: Use the WebTestProxy for layout tests in content_shell (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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 | Annotate | Revision Log
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698