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

Unified Diff: content/shell/renderer/test_runner/WebTestDelegate.h

Issue 264003003: test_runner: Move everything else into content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
Index: content/shell/renderer/test_runner/WebTestDelegate.h
diff --git a/content/shell/renderer/test_runner/WebTestDelegate.h b/content/shell/renderer/test_runner/WebTestDelegate.h
index fa4ef3300bfeeff2d566841f2caa1168f3fb2bd2..a14b5cd30e1c2d6fc5d6762e87f1dce9a7e89b5c 100644
--- a/content/shell/renderer/test_runner/WebTestDelegate.h
+++ b/content/shell/renderer/test_runner/WebTestDelegate.h
@@ -27,13 +27,10 @@ struct WebURLError;
}
namespace content {
-class WebTestProxyBase;
-struct TestPreferences;
-}
-
-namespace WebTestRunner {
class WebTask;
+class WebTestProxyBase;
+struct TestPreferences;
class WebTestDelegate {
public:
@@ -85,7 +82,7 @@ public:
virtual blink::WebURL rewriteLayoutTestsURL(const std::string& utf8URL) = 0;
// Manages the settings to used for layout tests.
- virtual content::TestPreferences* preferences() = 0;
+ virtual TestPreferences* preferences() = 0;
virtual void applyPreferences() = 0;
// Enables or disables synchronous resize mode. When enabled, all window-sizing machinery is
@@ -118,7 +115,7 @@ public:
virtual void setDeviceScaleFactor(float) = 0;
// Controls which WebView should be focused.
- virtual void setFocus(content::WebTestProxyBase*, bool) = 0;
+ virtual void setFocus(WebTestProxyBase*, bool) = 0;
// Controls whether all cookies should be accepted or writing cookies in a
// third-party context is blocked.
@@ -152,9 +149,9 @@ public:
// Returns a text dump the back/forward history for the WebView associated
// with the given WebTestProxyBase.
- virtual std::string dumpHistoryForWindow(content::WebTestProxyBase*) = 0;
+ virtual std::string dumpHistoryForWindow(WebTestProxyBase*) = 0;
};
-}
+} // namespace content
#endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBTESTDELEGATE_H_
« no previous file with comments | « content/shell/renderer/test_runner/WebTask.cpp ('k') | content/shell/renderer/test_runner/WebTestInterfaces.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698