Chromium Code Reviews| Index: content/renderer/renderer_webkitplatformsupport_impl.cc |
| diff --git a/content/renderer/renderer_webkitplatformsupport_impl.cc b/content/renderer/renderer_webkitplatformsupport_impl.cc |
| index 3c9197ad638f50af92a85dbb0109b21a81d60483..8c73620617d58866a9baf7a1a8601bb40a2660e2 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" |
| @@ -1151,4 +1152,14 @@ void RendererWebKitPlatformSupportImpl::MockBatteryStatusChangedForTesting( |
| g_test_battery_status_dispatcher.Get().PostBatteryStatusChange(status); |
| } |
| +//------------------------------------------------------------------------------ |
|
jam
2014/07/16 21:29:14
why?
mlamouri (slow - plz ping)
2014/07/17 09:44:16
This seems to be a convention in this file where t
jam
2014/07/17 17:19:51
this file's convention is wrong. some files have "
|
| + |
| +void RendererWebKitPlatformSupportImpl::startScreenOrientationListening() { |
| + RenderThread::Get()->Send(new ScreenOrientationHostMsg_StartListening()); |
| +} |
| + |
| +void RendererWebKitPlatformSupportImpl::stopScreenOrientationListening() { |
| + RenderThread::Get()->Send(new ScreenOrientationHostMsg_StopListening()); |
| +} |
| + |
| } // namespace content |