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. |