Index: chrome/browser/tab_contents/tab_contents.cc |
=================================================================== |
--- chrome/browser/tab_contents/tab_contents.cc (revision 17020) |
+++ chrome/browser/tab_contents/tab_contents.cc (working copy) |
@@ -2292,10 +2292,9 @@ |
&GearsCreateShortcutCallbackFunctor::Run)); |
} |
-void TabContents::OnEnterOrSpace() { |
- // See comment in RenderViewHostDelegate::OnEnterOrSpace as to why we do this. |
-#if defined(OS_WIN) |
- // TODO(port): this is stubbed in BrowserProcess |
+void TabContents::OnUserGesture() { |
+ // See comment in RenderViewHostDelegate::OnUserGesture as to why we do this. |
+#if defined(OS_WIN) || defined(OS_LINUX) |
DownloadRequestManager* drm = g_browser_process->download_request_manager(); |
if (drm) |
drm->OnUserGesture(this); |