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

Side by Side Diff: content/shell/renderer/test_runner/web_test_delegate.h

Issue 1079843002: DevTools: allow storing devtools preferences on the browser side. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_TEST_DELEGATE_H_ 5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_TEST_DELEGATE_H_
6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_TEST_DELEGATE_H_ 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_TEST_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "third_party/WebKit/public/platform/WebScreenOrientationType.h" 10 #include "third_party/WebKit/public/platform/WebScreenOrientationType.h"
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 115
116 // Controls auto resize mode. 116 // Controls auto resize mode.
117 virtual void EnableAutoResizeMode(const blink::WebSize& min_size, 117 virtual void EnableAutoResizeMode(const blink::WebSize& min_size,
118 const blink::WebSize& max_size) = 0; 118 const blink::WebSize& max_size) = 0;
119 virtual void DisableAutoResizeMode(const blink::WebSize& new_size) = 0; 119 virtual void DisableAutoResizeMode(const blink::WebSize& new_size) = 0;
120 120
121 // Clears DevTools' localStorage when an inspector test is started. 121 // Clears DevTools' localStorage when an inspector test is started.
122 virtual void ClearDevToolsLocalStorage() = 0; 122 virtual void ClearDevToolsLocalStorage() = 0;
123 123
124 // Opens and closes the inspector. 124 // Opens and closes the inspector.
125 virtual void ShowDevTools(const std::string& settings, 125 virtual void ShowDevTools(const std::string& test_path,
126 const std::string& frontend_url) = 0; 126 const std::string& frontend_url) = 0;
127 virtual void CloseDevTools() = 0; 127 virtual void CloseDevTools() = 0;
128 128
129 // Evaluate the given script in the DevTools agent. 129 // Evaluate the given script in the DevTools agent.
130 virtual void EvaluateInWebInspector(long call_id, 130 virtual void EvaluateInWebInspector(long call_id,
131 const std::string& script) = 0; 131 const std::string& script) = 0;
132 132
133 // Controls WebSQL databases. 133 // Controls WebSQL databases.
134 virtual void ClearAllDatabases() = 0; 134 virtual void ClearAllDatabases() = 0;
135 virtual void SetDatabaseQuota(int quota) = 0; 135 virtual void SetDatabaseQuota(int quota) = 0;
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 virtual bool AllowExternalPages() = 0; 199 virtual bool AllowExternalPages() = 0;
200 200
201 // Returns a text dump the back/forward history for the WebView associated 201 // Returns a text dump the back/forward history for the WebView associated
202 // with the given WebTestProxyBase. 202 // with the given WebTestProxyBase.
203 virtual std::string DumpHistoryForWindow(WebTestProxyBase* proxy) = 0; 203 virtual std::string DumpHistoryForWindow(WebTestProxyBase* proxy) = 0;
204 }; 204 };
205 205
206 } // namespace content 206 } // namespace content
207 207
208 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_TEST_DELEGATE_H_ 208 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_TEST_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698