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

Unified Diff: content/renderer/renderer_webkitplatformsupport_impl.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
« no previous file with comments | « content/public/test/layouttest_support.h ('k') | content/renderer/renderer_webkitplatformsupport_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/renderer_webkitplatformsupport_impl.h
diff --git a/content/renderer/renderer_webkitplatformsupport_impl.h b/content/renderer/renderer_webkitplatformsupport_impl.h
index 5e3ba6937dc066eeabf5b449d1dabf4deea6cd3f..ecbb1af11c305204bb0e235924fbde6310388ddf 100644
--- a/content/renderer/renderer_webkitplatformsupport_impl.h
+++ b/content/renderer/renderer_webkitplatformsupport_impl.h
@@ -180,6 +180,8 @@ class CONTENT_EXPORT RendererWebKitPlatformSupportImpl
// Forces the screen orientation for testing purposes.
static void SetMockScreenOrientationForTesting(
blink::WebScreenOrientationType);
+ // Resets the mock screen orientation data used for testing.
+ static void ResetMockScreenOrientationForTesting();
WebDatabaseObserverImpl* web_database_observer_impl() {
return web_database_observer_impl_.get();
« no previous file with comments | « content/public/test/layouttest_support.h ('k') | content/renderer/renderer_webkitplatformsupport_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698