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

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

Issue 871443004: Expose the visibility state of a frame to the browser process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rfh_isfocused
Patch Set: remove from RFH Created 5 years, 11 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/content_browser_client.h
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index e5f40c49df315be90985403a2285daf5c5517490..a768b490e1db32a7b76a79da58e1549c1d03dcbb 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -588,6 +588,9 @@ class CONTENT_EXPORT ContentBrowserClient {
// RenderProcessHost.
virtual void OverrideRenderProcessMojoServices(ServiceRegistry* registry) {}
+ // Return whether the given a given frame is being prerendered.
+ virtual bool IsPrerendering(RenderFrameHost* render_frame_host);
Charlie Reis 2015/01/22 21:03:55 Prerendering is not a concept in content/, so we s
mlamouri (slow - plz ping) 2015/01/23 12:32:58 Oh, ok. I was wondering why ContentRenderClient wa
+
#if defined(OS_POSIX) && !defined(OS_MACOSX)
// Populates |mappings| with all files that need to be mapped before launching
// a child process.

Powered by Google App Engine
This is Rietveld 408576698