Index: content/browser/renderer_host/render_widget_host_view_android.cc |
diff --git a/content/browser/renderer_host/render_widget_host_view_android.cc b/content/browser/renderer_host/render_widget_host_view_android.cc |
index 986df1c1b512d39bb81779b31c8ced4cc1bfb0d4..d609f92ba9a1391f7d732f6add81663fb7b80f6f 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_android.cc |
+++ b/content/browser/renderer_host/render_widget_host_view_android.cc |
@@ -312,6 +312,8 @@ bool RenderWidgetHostViewAndroid::OnMessageReceived( |
OnSetNeedsBeginFrame) |
IPC_MESSAGE_HANDLER(ViewHostMsg_SmartClipDataExtracted, |
OnSmartClipDataExtracted) |
+ IPC_MESSAGE_HANDLER(ViewHostMsg_DidEnterFullscreen, OnDidEnterFullscreen) |
+ IPC_MESSAGE_HANDLER(ViewHostMsg_DidExitFullscreen, OnDidExitFullscreen) |
IPC_MESSAGE_UNHANDLED(handled = false) |
IPC_END_MESSAGE_MAP() |
return handled; |
@@ -568,6 +570,16 @@ void RenderWidgetHostViewAndroid::SetTextSurroundingSelectionCallback( |
text_surrounding_selection_callback_ = callback; |
} |
+void RenderWidgetHostViewAndroid::OnDidEnterFullscreen() { |
+ if (content_view_core_) |
+ content_view_core_->OnDidEnterFullscreen(); |
+} |
+ |
+void RenderWidgetHostViewAndroid::OnDidExitFullscreen() { |
+ if (content_view_core_) |
+ content_view_core_->OnDidExitFullscreen(); |
+} |
+ |
void RenderWidgetHostViewAndroid::OnTextSurroundingSelectionResponse( |
const base::string16& content, |
size_t start_offset, |