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

Side by Side Diff: content/public/test/layouttest_support.h

Issue 11416177: [content shell] change how the main render view is picked for layout tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch for landing Created 8 years 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
« no previous file with comments | « no previous file | content/shell/shell_content_renderer_client.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_ 5 #ifndef CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_
6 #define CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_ 6 #define CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 9
10 namespace WebTestRunner { 10 namespace WebTestRunner {
11 class WebTestProxyBase; 11 class WebTestProxyBase;
12 } 12 }
13 13
14 namespace content { 14 namespace content {
15 15
16 class RenderView;
17
16 // Enable injecting of a WebTestProxy between WebViews and RenderViews. 18 // Enable injecting of a WebTestProxy between WebViews and RenderViews.
17 // |callback| is invoked with a pointer to WebTestProxyBase for each created 19 // |callback| is invoked with a pointer to WebTestProxyBase for each created
18 // WebTestProxy. 20 // WebTestProxy.
19 void EnableWebTestProxyCreation( 21 void EnableWebTestProxyCreation(const base::Callback<
20 const base::Callback<void(WebTestRunner::WebTestProxyBase*)>& callback); 22 void(RenderView*, WebTestRunner::WebTestProxyBase*)>& callback);
21 23
22 } // namespace content 24 } // namespace content
23 25
24 #endif // CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_ 26 #endif // CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_
OLDNEW
« no previous file with comments | « no previous file | content/shell/shell_content_renderer_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698