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

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

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
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/public/browser/web_contents_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/web_contents_delegate.h
diff --git a/content/public/browser/web_contents_delegate.h b/content/public/browser/web_contents_delegate.h
index 05e3a1d8d2357e5b07a4ce4e24be63159e6164e9..d12139c664b6b7c0a7f3a92c593ccfaaabffc146 100644
--- a/content/public/browser/web_contents_delegate.h
+++ b/content/public/browser/web_contents_delegate.h
@@ -106,6 +106,8 @@ class CONTENT_EXPORT WebContentsDelegate {
// Selects the specified contents, bringing its container to the front.
virtual void ActivateContents(WebContents* contents) {}
+ // Like ActivateContents, but some window managers will give higher priority.
+ virtual void ActivateContentsForUserGesture(WebContents* contents);
Avi (use Gerrit) 2015/05/18 14:59:22 There's a lot of duplicate code in some of these f
// Deactivates the specified contents by deactivating its container and
// potentialy moving it to the back of the Z order.
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/public/browser/web_contents_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698