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

Side by Side Diff: components/test_runner/web_test_interfaces.h

Issue 1886103002: Move DumpBackForwardLists out of WebTestProxyBase. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@separate-layout-and-paint-async-then
Patch Set: Rebasing... Created 4 years, 8 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
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 COMPONENTS_TEST_RUNNER_WEB_TEST_INTERFACES_H_ 5 #ifndef COMPONENTS_TEST_RUNNER_WEB_TEST_INTERFACES_H_
6 #define COMPONENTS_TEST_RUNNER_WEB_TEST_INTERFACES_H_ 6 #define COMPONENTS_TEST_RUNNER_WEB_TEST_INTERFACES_H_
7 7
8 #include <vector>
9
8 #include "base/macros.h" 10 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
10 #include "components/test_runner/test_runner_export.h" 12 #include "components/test_runner/test_runner_export.h"
11 13
12 namespace blink { 14 namespace blink {
13 class WebAppBannerClient; 15 class WebAppBannerClient;
14 class WebAudioDevice; 16 class WebAudioDevice;
15 class WebFrame; 17 class WebFrame;
16 class WebFrameClient; 18 class WebFrameClient;
17 class WebMediaStreamCenter; 19 class WebMediaStreamCenter;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 // of WebTestInterfaces. 74 // of WebTestInterfaces.
73 scoped_ptr<WebFrameTestClient> CreateWebFrameTestClient(); 75 scoped_ptr<WebFrameTestClient> CreateWebFrameTestClient();
74 76
75 // Creates a WebViewClient implementation providing test behavior (i.e. 77 // Creates a WebViewClient implementation providing test behavior (i.e.
76 // providing a mocked speech recognizer). The caller should guarantee that 78 // providing a mocked speech recognizer). The caller should guarantee that
77 // the returned pointer won't be used beyond the lifetime of WebTestInterfaces 79 // the returned pointer won't be used beyond the lifetime of WebTestInterfaces
78 // and/or the lifetime of |web_test_proxy_base|. 80 // and/or the lifetime of |web_test_proxy_base|.
79 scoped_ptr<WebViewTestClient> CreateWebViewTestClient( 81 scoped_ptr<WebViewTestClient> CreateWebViewTestClient(
80 WebTestProxyBase* web_test_proxy_base); 82 WebTestProxyBase* web_test_proxy_base);
81 83
84 // Gets a list of currently opened windows created by the current test.
85 std::vector<blink::WebView*> GetWindowList();
86
82 private: 87 private:
83 scoped_ptr<TestInterfaces> interfaces_; 88 scoped_ptr<TestInterfaces> interfaces_;
84 89
85 DISALLOW_COPY_AND_ASSIGN(WebTestInterfaces); 90 DISALLOW_COPY_AND_ASSIGN(WebTestInterfaces);
86 }; 91 };
87 92
88 } // namespace test_runner 93 } // namespace test_runner
89 94
90 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_INTERFACES_H_ 95 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_INTERFACES_H_
OLDNEW
« no previous file with comments | « components/test_runner/web_test_delegate.h ('k') | components/test_runner/web_test_interfaces.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698