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

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

Issue 1787743003: Remove unneeded code from WebTestProxyBase. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing accidental reversal of condition in RunModalBeforeUnloadDialog. Created 4 years, 9 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_RUNNER_H_ 5 #ifndef COMPONENTS_TEST_RUNNER_WEB_TEST_RUNNER_H_
6 #define COMPONENTS_TEST_RUNNER_WEB_TEST_RUNNER_H_ 6 #define COMPONENTS_TEST_RUNNER_WEB_TEST_RUNNER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 // |custom_text_dump| argument. Otherwise returns |false|. 48 // |custom_text_dump| argument. Otherwise returns |false|.
49 virtual bool HasCustomTextDump(std::string* custom_text_dump) const = 0; 49 virtual bool HasCustomTextDump(std::string* custom_text_dump) const = 0;
50 50
51 // Returns true if the call to WebTestProxy::captureTree will invoke 51 // Returns true if the call to WebTestProxy::captureTree will invoke
52 // WebTestDelegate::captureHistoryForWindow. 52 // WebTestDelegate::captureHistoryForWindow.
53 virtual bool ShouldDumpBackForwardList() const = 0; 53 virtual bool ShouldDumpBackForwardList() const = 0;
54 54
55 // Returns true if WebTestProxy::capturePixels should be invoked after 55 // Returns true if WebTestProxy::capturePixels should be invoked after
56 // capturing text results. 56 // capturing text results.
57 virtual bool ShouldGeneratePixelResults() = 0; 57 virtual bool ShouldGeneratePixelResults() = 0;
58
59 virtual bool ShouldStayOnPageAfterHandlingBeforeUnload() const = 0;
60 }; 58 };
61 59
62 } // namespace test_runner 60 } // namespace test_runner
63 61
64 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_RUNNER_H_ 62 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_RUNNER_H_
OLDNEW
« no previous file with comments | « components/test_runner/web_test_proxy.cc ('k') | content/shell/renderer/layout_test/blink_test_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698