| Index: content/renderer/renderer_webkitplatformsupport_impl.cc
|
| diff --git a/content/renderer/renderer_webkitplatformsupport_impl.cc b/content/renderer/renderer_webkitplatformsupport_impl.cc
|
| index 34393dd27101da8c9b3587474083e0cbf0db9589..c19b50a574ca23b2a2e4687dfbcb0a0b324e007b 100644
|
| --- a/content/renderer/renderer_webkitplatformsupport_impl.cc
|
| +++ b/content/renderer/renderer_webkitplatformsupport_impl.cc
|
| @@ -33,6 +33,7 @@
|
| #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h"
|
| #include "content/common/gpu/gpu_process_launch_causes.h"
|
| #include "content/common/mime_registry_messages.h"
|
| +#include "content/common/screen_orientation_messages.h"
|
| #include "content/common/view_messages.h"
|
| #include "content/public/common/content_switches.h"
|
| #include "content/public/common/webplugininfo.h"
|
| @@ -1120,6 +1121,15 @@ void RendererWebKitPlatformSupportImpl::setScreenOrientationListener(
|
| screen_orientation_dispatcher_->setListener(listener);
|
| }
|
|
|
| +void RendererWebKitPlatformSupportImpl::lockOrientation(
|
| + blink::WebScreenOrientations orientations) {
|
| + RenderThread::Get()->Send(new ScreenOrientationHostMsg_Lock(orientations));
|
| +}
|
| +
|
| +void RendererWebKitPlatformSupportImpl::unlockOrientation() {
|
| + RenderThread::Get()->Send(new ScreenOrientationHostMsg_Unlock);
|
| +}
|
| +
|
| //------------------------------------------------------------------------------
|
|
|
| void RendererWebKitPlatformSupportImpl::queryStorageUsageAndQuota(
|
|
|