OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_ |
| 6 #define CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_ |
| 7 |
| 8 #include "base/callback_forward.h" |
| 9 |
| 10 namespace WebTestRunner { |
| 11 class WebTestProxyBase; |
| 12 } |
| 13 |
| 14 namespace content { |
| 15 |
| 16 // Enable injecting of a WebTestProxy between WebViews and RenderViews. |
| 17 // |callback| is invoked with a pointer to WebTestProxyBase for each created |
| 18 // WebTestProxy. |
| 19 void EnableWebTestProxyCreation( |
| 20 const base::Callback<void(WebTestRunner::WebTestProxyBase*)>& callback); |
| 21 |
| 22 } // namespace content |
| 23 |
| 24 #endif // CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_ |
OLD | NEW |