Index: content/renderer/renderer_webkitplatformsupport_impl.h |
diff --git a/content/renderer/renderer_webkitplatformsupport_impl.h b/content/renderer/renderer_webkitplatformsupport_impl.h |
index 36416118379f12989fd1a2caa840221bfdf1c1c3..857a5e9d87c0d8916a1af35b0a560624285cebbf 100644 |
--- a/content/renderer/renderer_webkitplatformsupport_impl.h |
+++ b/content/renderer/renderer_webkitplatformsupport_impl.h |
@@ -40,6 +40,7 @@ class DeviceMotionEventPump; |
class DeviceOrientationEventPump; |
class QuotaMessageFilter; |
class RendererClipboardClient; |
+class RenderView; |
class ScreenOrientationDispatcher; |
class ThreadSafeSender; |
class WebClipboardImpl; |
@@ -181,10 +182,14 @@ class CONTENT_EXPORT RendererWebKitPlatformSupportImpl |
const blink::WebDeviceOrientationData& data); |
// Forces the screen orientation for testing purposes. |
static void SetMockScreenOrientationForTesting( |
+ RenderView* render_view, |
blink::WebScreenOrientationType); |
// Resets the mock screen orientation data used for testing. |
static void ResetMockScreenOrientationForTesting(); |
+ // Clear render view stored inside test screen orientation controller. |
+ static void ResetMockScreenOrientationRenderView(); |
+ |
WebDatabaseObserverImpl* web_database_observer_impl() { |
return web_database_observer_impl_.get(); |
} |