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

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

Issue 268673015: Support screen.lockOrientation() / screen.unlockOrientation() when running layout tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Take jochen's feedback into consideration Created 6 years, 7 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 f63e31b7e91997cb6ac2a50d2ab546550b38896e..353d13f95b80f478d47b16c2885ea3019382c25b 100644
--- a/content/shell/renderer/test_runner/WebTestDelegate.h
+++ b/content/shell/renderer/test_runner/WebTestDelegate.h
@@ -56,6 +56,9 @@ public:
// Set orientation to set when registering via Platform::setScreenOrientationListener().
virtual void setScreenOrientation(const blink::WebScreenOrientationType&) = 0;
+ // Reset the screen orientation data used for testing.
+ virtual void resetScreenOrientation() = 0;
+
// Add a message to the text dump for the layout test.
virtual void printMessage(const std::string& message) = 0;

Powered by Google App Engine
This is Rietveld 408576698