Index: webkit/plugins/ppapi/ppapi_plugin_instance.cc |
diff --git a/webkit/plugins/ppapi/ppapi_plugin_instance.cc b/webkit/plugins/ppapi/ppapi_plugin_instance.cc |
index 5d061b9140132a8253866361b03c569c7031ace7..fdbe15bfd53dd5f10553e53db2554b8d32d1a547 100644 |
--- a/webkit/plugins/ppapi/ppapi_plugin_instance.cc |
+++ b/webkit/plugins/ppapi/ppapi_plugin_instance.cc |
@@ -1336,6 +1336,22 @@ int32_t PluginInstance::Navigate(PPB_URLRequestInfo_Impl* request, |
return PP_OK; |
} |
+bool PluginInstance::IsRectTopmost(const gfx::Rect& rect) { |
+ if (flash_fullscreen_) |
+ return true; |
+ |
+#if 0 |
+ WebView* web_view = container()->element().document().frame()->view(); |
+ if (!web_view) { |
+ NOTREACHED(); |
+ return false; |
+ } |
+#else |
+//FIXME |
+ return container_->isRectTopmost(rect); |
+#endif |
+} |
+ |
void PluginInstance::SampleGamepads(PP_Instance instance, |
PP_GamepadsData_Dev* data) { |