OLD | NEW |
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 CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_ | 5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_ |
6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_ | 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 bool shouldDumpSelectionRect() const; | 73 bool shouldDumpSelectionRect() const; |
74 bool isPrinting() const; | 74 bool isPrinting() const; |
75 bool shouldDumpAsText(); | 75 bool shouldDumpAsText(); |
76 bool shouldDumpAsTextWithPixelResults(); | 76 bool shouldDumpAsTextWithPixelResults(); |
77 bool shouldDumpAsCustomText() const; | 77 bool shouldDumpAsCustomText() const; |
78 std:: string customDumpText() const; | 78 std:: string customDumpText() const; |
79 bool shouldDumpAsMarkup(); | 79 bool shouldDumpAsMarkup(); |
80 bool shouldDumpChildFrameScrollPositions() const; | 80 bool shouldDumpChildFrameScrollPositions() const; |
81 bool shouldDumpChildFramesAsMarkup() const; | 81 bool shouldDumpChildFramesAsMarkup() const; |
82 bool shouldDumpChildFramesAsText() const; | 82 bool shouldDumpChildFramesAsText() const; |
83 void ShowDevTools(const std::string& settings, | 83 void ShowDevTools(const std::string& test_path, |
84 const std::string& frontend_url); | 84 const std::string& frontend_url); |
85 void ClearDevToolsLocalStorage(); | 85 void ClearDevToolsLocalStorage(); |
86 void setShouldDumpAsText(bool); | 86 void setShouldDumpAsText(bool); |
87 void setShouldDumpAsMarkup(bool); | 87 void setShouldDumpAsMarkup(bool); |
88 void setCustomTextOutput(std::string text); | 88 void setCustomTextOutput(std::string text); |
89 void setShouldGeneratePixelResults(bool); | 89 void setShouldGeneratePixelResults(bool); |
90 void setShouldDumpFrameLoadCallbacks(bool); | 90 void setShouldDumpFrameLoadCallbacks(bool); |
91 void setShouldDumpPingLoaderCallbacks(bool); | 91 void setShouldDumpPingLoaderCallbacks(bool); |
92 void setShouldEnableViewSource(bool); | 92 void setShouldEnableViewSource(bool); |
93 bool shouldDumpEditingCallbacks() const; | 93 bool shouldDumpEditingCallbacks() const; |
(...skipping 715 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
809 bool use_mock_theme_; | 809 bool use_mock_theme_; |
810 | 810 |
811 base::WeakPtrFactory<TestRunner> weak_factory_; | 811 base::WeakPtrFactory<TestRunner> weak_factory_; |
812 | 812 |
813 DISALLOW_COPY_AND_ASSIGN(TestRunner); | 813 DISALLOW_COPY_AND_ASSIGN(TestRunner); |
814 }; | 814 }; |
815 | 815 |
816 } // namespace content | 816 } // namespace content |
817 | 817 |
818 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_ | 818 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_ |
OLD | NEW |