| Index: content/renderer/renderer_webkitplatformsupport_impl.cc
|
| diff --git a/content/renderer/renderer_webkitplatformsupport_impl.cc b/content/renderer/renderer_webkitplatformsupport_impl.cc
|
| index 5b44e7e46fb2912762c1b98d72298c1fe730261d..17986310547761c65a4a6cf92db3759c6953fb9d 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"
|
| @@ -1081,6 +1082,15 @@ void RendererWebKitPlatformSupportImpl::setScreenOrientationListener(
|
| screen_orientation_dispatcher_->setListener(listener);
|
| }
|
|
|
| +void RendererWebKitPlatformSupportImpl::lockOrientation(
|
| + blink::WebScreenOrientations orientations) {
|
| + RenderThread::Get()->Send(new ScreenOrientationMsg_Lock(orientations));
|
| +}
|
| +
|
| +void RendererWebKitPlatformSupportImpl::unlockOrientation() {
|
| + RenderThread::Get()->Send(new ScreenOrientationMsg_Unlock);
|
| +}
|
| +
|
| //------------------------------------------------------------------------------
|
|
|
| void RendererWebKitPlatformSupportImpl::queryStorageUsageAndQuota(
|
|
|