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

Unified Diff: content/common/frame_messages.h

Issue 2707243005: Discard compositor frames from unloaded web content (Closed)
Patch Set: Comments updated Created 3 years, 10 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/frame_messages.h
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
index 9035417759bddc8395eb172e1584822ed4c0cca3..7df0cb5f0cfd16acc00ce5a5f754d9bd2c26cddd 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -305,6 +305,11 @@ IPC_STRUCT_BEGIN_WITH_PARENT(FrameHostMsg_DidCommitProvisionalLoad_Params,
// in BeginNavigationParams.
IPC_STRUCT_MEMBER(GURL, searchable_form_url)
IPC_STRUCT_MEMBER(std::string, searchable_form_encoding)
+
+ // This is a non-decreasing value that the browser process can use to
+ // identify and discard compositor frames that correspond to now-unloaded
+ // web content.
+ IPC_STRUCT_MEMBER(uint32_t, content_source_id)
IPC_STRUCT_END()
IPC_STRUCT_BEGIN(FrameMsg_PostMessage_Params)

Powered by Google App Engine
This is Rietveld 408576698