| Index: content/renderer/render_view_impl.cc
|
| diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
|
| index 841f41c6d1d1c1a6f5dbfbc66325f7ad63d443eb..7510c5a11bac2cf5928f5759c2eacd25c7ce4f8d 100644
|
| --- a/content/renderer/render_view_impl.cc
|
| +++ b/content/renderer/render_view_impl.cc
|
| @@ -841,6 +841,8 @@ bool RenderViewImpl::OnMessageReceived(const IPC::Message& message) {
|
| OnDisableScrollbarsForSmallWindows)
|
| IPC_MESSAGE_HANDLER(ViewMsg_SetRendererPrefs, OnSetRendererPrefs)
|
| IPC_MESSAGE_HANDLER(ViewMsg_MediaPlayerActionAt, OnMediaPlayerActionAt)
|
| + IPC_MESSAGE_HANDLER(ViewMsg_OrientationChangeEvent,
|
| + OnOrientationChangeEvent)
|
| IPC_MESSAGE_HANDLER(ViewMsg_PluginActionAt, OnPluginActionAt)
|
| IPC_MESSAGE_HANDLER(ViewMsg_SetActive, OnSetActive)
|
| IPC_MESSAGE_HANDLER(ViewMsg_SetNavigationStartTime,
|
| @@ -4419,6 +4421,10 @@ void RenderViewImpl::OnMediaPlayerActionAt(const gfx::Point& location,
|
| webview()->performMediaPlayerAction(action, location);
|
| }
|
|
|
| +void RenderViewImpl::OnOrientationChangeEvent(int orientation) {
|
| + webview()->mainFrame()->sendOrientationChangeEvent(orientation);
|
| +}
|
| +
|
| void RenderViewImpl::OnPluginActionAt(const gfx::Point& location,
|
| const WebPluginAction& action) {
|
| if (webview())
|
|
|