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

Unified Diff: public/testing/WebTestDelegate.h

Issue 61773005: Rename WebKit namespace to blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « public/testing/WebPreferences.h ('k') | public/testing/WebTestInterfaces.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/testing/WebTestDelegate.h
diff --git a/public/testing/WebTestDelegate.h b/public/testing/WebTestDelegate.h
index 0828231f862b96405c8e71fff45e39e086c9e2cb..4ee6eb592b5bddb71d26463c5904db919930b1f0 100644
--- a/public/testing/WebTestDelegate.h
+++ b/public/testing/WebTestDelegate.h
@@ -38,7 +38,7 @@
#define WEBTESTRUNNER_NEW_HISTORY_CAPTURE
-namespace WebKit {
+namespace blink {
class WebDeviceMotionData;
class WebDeviceOrientationData;
class WebFrame;
@@ -63,12 +63,12 @@ public:
virtual void setEditCommand(const std::string& name, const std::string& value) = 0;
// Set the gamepads to return from Platform::sampleGamepads().
- virtual void setGamepadData(const WebKit::WebGamepads&) = 0;
+ virtual void setGamepadData(const blink::WebGamepads&) = 0;
// Set data to return when registering via Platform::setDeviceMotionListener().
- virtual void setDeviceMotionData(const WebKit::WebDeviceMotionData&) = 0;
+ virtual void setDeviceMotionData(const blink::WebDeviceMotionData&) = 0;
// Set data to return when registering via Platform::setDeviceOrientationListener().
- virtual void setDeviceOrientationData(const WebKit::WebDeviceOrientationData&) = 0;
+ virtual void setDeviceOrientationData(const blink::WebDeviceOrientationData&) = 0;
// Add a message to the text dump for the layout test.
virtual void printMessage(const std::string& message) = 0;
@@ -80,20 +80,20 @@ public:
// Register a new isolated filesystem with the given files, and return the
// new filesystem id.
- virtual WebKit::WebString registerIsolatedFileSystem(const WebKit::WebVector<WebKit::WebString>& absoluteFilenames) = 0;
+ virtual blink::WebString registerIsolatedFileSystem(const blink::WebVector<blink::WebString>& absoluteFilenames) = 0;
// Gets the current time in milliseconds since the UNIX epoch.
virtual long long getCurrentTimeInMillisecond() = 0;
// Convert the provided relative path into an absolute path.
- virtual WebKit::WebString getAbsoluteWebStringFromUTF8Path(const std::string& path) = 0;
+ virtual blink::WebString getAbsoluteWebStringFromUTF8Path(const std::string& path) = 0;
// Reads in the given file and returns its contents as data URL.
- virtual WebKit::WebURL localFileToDataURL(const WebKit::WebURL&) = 0;
+ virtual blink::WebURL localFileToDataURL(const blink::WebURL&) = 0;
// Replaces file:///tmp/LayoutTests/ with the actual path to the
// LayoutTests directory.
- virtual WebKit::WebURL rewriteLayoutTestsURL(const std::string& utf8URL) = 0;
+ virtual blink::WebURL rewriteLayoutTestsURL(const std::string& utf8URL) = 0;
// Manages the settings to used for layout tests.
virtual WebPreferences* preferences() = 0;
@@ -107,8 +107,8 @@ public:
virtual void useUnfortunateSynchronousResizeMode(bool) = 0;
// Controls auto resize mode.
- virtual void enableAutoResizeMode(const WebKit::WebSize& minSize, const WebKit::WebSize& maxSize) = 0;
- virtual void disableAutoResizeMode(const WebKit::WebSize&) = 0;
+ virtual void enableAutoResizeMode(const blink::WebSize& minSize, const blink::WebSize& maxSize) = 0;
+ virtual void disableAutoResizeMode(const blink::WebSize&) = 0;
// Opens and closes the inspector.
virtual void showDevTools() = 0;
@@ -152,14 +152,14 @@ public:
// The following trigger navigations on the main WebViwe.
virtual void goToOffset(int offset) = 0;
virtual void reload() = 0;
- virtual void loadURLForFrame(const WebKit::WebURL&, const std::string& frameName) = 0;
+ virtual void loadURLForFrame(const blink::WebURL&, const std::string& frameName) = 0;
// Returns true if resource requests to external URLs should be permitted.
virtual bool allowExternalPages() = 0;
// Returns the back/forward history for the WebView associated with the
// given WebTestProxyBase as well as the index of the current entry.
- virtual void captureHistoryForWindow(WebTestProxyBase*, WebKit::WebVector<WebKit::WebHistoryItem>*, size_t* currentEntryIndex) = 0;
+ virtual void captureHistoryForWindow(WebTestProxyBase*, blink::WebVector<blink::WebHistoryItem>*, size_t* currentEntryIndex) = 0;
};
}
« no previous file with comments | « public/testing/WebPreferences.h ('k') | public/testing/WebTestInterfaces.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698