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

Unified Diff: content/renderer/renderer_webkitplatformsupport_impl.h

Issue 177793003: Chromium plumbing for Screen Orientation API lock/unlock. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@chromium_plumbing_screen_orientation
Patch Set: with tests Created 6 years, 10 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/renderer/renderer_webkitplatformsupport_impl.h
diff --git a/content/renderer/renderer_webkitplatformsupport_impl.h b/content/renderer/renderer_webkitplatformsupport_impl.h
index 91ee31209646a34f9b30afe4ac2b736a5e41192c..94819c40fbe8958a36d9415e5c147555eafea10e 100644
--- a/content/renderer/renderer_webkitplatformsupport_impl.h
+++ b/content/renderer/renderer_webkitplatformsupport_impl.h
@@ -154,6 +154,8 @@ class CONTENT_EXPORT RendererWebKitPlatformSupportImpl
virtual void cancelVibration();
virtual void setScreenOrientationListener(
blink::WebScreenOrientationListener*) OVERRIDE;
+ virtual void lockOrientation(blink::WebScreenOrientations) OVERRIDE;
+ virtual void unlockOrientation() OVERRIDE;
// Disables the WebSandboxSupport implementation for testing.
// Tests that do not set up a full sandbox environment should call

Powered by Google App Engine
This is Rietveld 408576698