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

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

Issue 1819243002: [DevTools] Use InspectorFrontendHost.readyForTest for layout tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ready-for-test
Patch Set: resource-tree-reload.html fix 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_DELEGATE_H_ 5 #ifndef COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_
6 #define COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_ 6 #define COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 129
130 // Clears DevTools' localStorage when an inspector test is started. 130 // Clears DevTools' localStorage when an inspector test is started.
131 virtual void ClearDevToolsLocalStorage() = 0; 131 virtual void ClearDevToolsLocalStorage() = 0;
132 132
133 // Opens and closes the inspector. 133 // Opens and closes the inspector.
134 virtual void ShowDevTools(const std::string& settings, 134 virtual void ShowDevTools(const std::string& settings,
135 const std::string& frontend_url) = 0; 135 const std::string& frontend_url) = 0;
136 virtual void CloseDevTools() = 0; 136 virtual void CloseDevTools() = 0;
137 137
138 // Evaluate the given script in the DevTools agent. 138 // Evaluate the given script in the DevTools agent.
139 virtual void EvaluateInWebInspector(long call_id, 139 virtual void EvaluateInWebInspector(int call_id,
140 const std::string& script) = 0; 140 const std::string& script) = 0;
141 141
142 // Evaluate the given script in the inspector overlay page. 142 // Evaluate the given script in the inspector overlay page.
143 virtual std::string EvaluateInWebInspectorOverlay( 143 virtual std::string EvaluateInWebInspectorOverlay(
144 const std::string& script) = 0; 144 const std::string& script) = 0;
145 145
146 // Controls WebSQL databases. 146 // Controls WebSQL databases.
147 virtual void ClearAllDatabases() = 0; 147 virtual void ClearAllDatabases() = 0;
148 virtual void SetDatabaseQuota(int quota) = 0; 148 virtual void SetDatabaseQuota(int quota) = 0;
149 149
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 const blink::WebPluginParams& params) = 0; 275 const blink::WebPluginParams& params) = 0;
276 276
277 // Convert the position in DIP to native coordinates. 277 // Convert the position in DIP to native coordinates.
278 virtual blink::WebPoint ConvertDIPToNative( 278 virtual blink::WebPoint ConvertDIPToNative(
279 const blink::WebPoint& point_in_dip) const = 0; 279 const blink::WebPoint& point_in_dip) const = 0;
280 }; 280 };
281 281
282 } // namespace test_runner 282 } // namespace test_runner
283 283
284 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_ 284 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/devtools/devtools_window_testing.cc ('k') | content/shell/browser/layout_test/blink_test_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698