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

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: Created 4 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/common/page_messages.h
diff --git a/content/common/page_messages.h b/content/common/page_messages.h
index afe62b8a24acd99de70faca9f017abdcf5b97603..5445d90708b8405041e84454c581f9d8bbbf69c2 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)
dcheng 2016/05/24 20:38:23 I know the existing messages are called ViewMsg_Wa
lfg 2016/05/24 23:33:50 I could change that to a single message that has a
+
+// Informs the renderer the the page is not longer hidden.
kenrb 2016/05/24 20:25:18 nit: "the the" -> "that the", "not longer" -> "no
lfg 2016/05/24 23:33:50 Done.
+IPC_MESSAGE_ROUTED0(PageMsg_WasShown)
+
// -----------------------------------------------------------------------------
// Messages sent from the renderer to the browser.

Powered by Google App Engine
This is Rietveld 408576698