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

Unified Diff: content/shell/renderer/webkit_test_runner.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 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/webkit_test_runner.h
diff --git a/content/shell/renderer/webkit_test_runner.h b/content/shell/renderer/webkit_test_runner.h
index a4e6340db52529d9bed4ece9dd1461df4fcc0ec0..b7fee6407b91cf14d10aeae4f5c201549779fb30 100644
--- a/content/shell/renderer/webkit_test_runner.h
+++ b/content/shell/renderer/webkit_test_runner.h
@@ -66,6 +66,7 @@ class WebKitTestRunner : public RenderViewObserver,
const blink::WebDeviceOrientationData& data) OVERRIDE;
virtual void setScreenOrientation(
const blink::WebScreenOrientationType& orientation) OVERRIDE;
+ virtual void resetScreenOrientation() OVERRIDE;
virtual void printMessage(const std::string& message) OVERRIDE;
virtual void postTask(WebTask* task) OVERRIDE;
virtual void postDelayedTask(WebTask* task, long long ms) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698