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

Unified Diff: content/common/frame_messages.h

Issue 2707243005: Discard compositor frames from unloaded web content (Closed)
Patch Set: Add default value for source ID in frame metadata Created 3 years, 9 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 774d9cb024221bc947d210933193a33648d352d4..5ef2e7b7c3c2a76102100650056f6880a61fb765 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -304,6 +304,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)
« no previous file with comments | « content/browser/renderer_host/render_widget_host_unittest.cc ('k') | content/renderer/gpu/render_widget_compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698