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

Unified Diff: content/common/page_messages.h

Issue 1991273003: Fire visibilityChange event on out-of-process iframes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 4 years, 6 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/renderer/render_frame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/page_messages.h
diff --git a/content/common/page_messages.h b/content/common/page_messages.h
index afe62b8a24acd99de70faca9f017abdcf5b97603..77aa978ce9c5e976b42230ad23d81015db7e01b5 100644
--- a/content/common/page_messages.h
+++ b/content/common/page_messages.h
@@ -27,6 +27,12 @@ IPC_MESSAGE_ROUTED2(PageMsg_SetZoomLevel,
PageMsg_SetZoomLevel_Command /* command */,
double /* zoom_level */)
+// Informs the renderer that the page was hidden.
+IPC_MESSAGE_ROUTED0(PageMsg_WasHidden)
+
+// Informs the renderer that the page is no longer hidden.
+IPC_MESSAGE_ROUTED0(PageMsg_WasShown)
+
// -----------------------------------------------------------------------------
// Messages sent from the renderer to the browser.
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/public/renderer/render_frame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698