| Index: content/renderer/render_view_impl.cc
|
| diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
|
| index bdfed70ed2c1802d448e81f2a7f9377f4f95d712..d5efffea3216eeb25322b12ee2ee8134cc27216f 100644
|
| --- a/content/renderer/render_view_impl.cc
|
| +++ b/content/renderer/render_view_impl.cc
|
| @@ -839,6 +839,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,
|
| @@ -4411,6 +4413,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())
|
|
|