Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Unified Diff: content/public/browser/web_contents_delegate.cc

Issue 1135693006: Fix X11DesktopHandler::ActivateWindow on Unity for known user gestures Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/public/browser/web_contents_delegate.cc
diff --git a/content/public/browser/web_contents_delegate.cc b/content/public/browser/web_contents_delegate.cc
index 808ab9fede045427113479d9d72d8db5e957c7ae..4dcc389e017a31ad2f00345d93964b19e41e9374 100644
--- a/content/public/browser/web_contents_delegate.cc
+++ b/content/public/browser/web_contents_delegate.cc
@@ -23,6 +23,11 @@ WebContents* WebContentsDelegate::OpenURLFromTab(WebContents* source,
return nullptr;
}
+void WebContentsDelegate::ActivateContentsForUserGesture(
+ WebContents* contents) {
+ ActivateContents(contents);
+}
+
bool WebContentsDelegate::IsPopupOrPanel(const WebContents* source) const {
return false;
}

Powered by Google App Engine
This is Rietveld 408576698