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

Unified Diff: third_party/WebKit/public/platform/Platform.h

Issue 2514323006: Allow Blink to generate cc::FrameSinkId from RenderThread (Closed)
Patch Set: change to generateFrameSinkId Created 4 years, 1 month 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/renderer/renderer_blink_platform_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/Platform.h
diff --git a/third_party/WebKit/public/platform/Platform.h b/third_party/WebKit/public/platform/Platform.h
index 747885a940b479fac6bcd5a2f069c40775d78f50..e8e786ffcf145627955cdb4bc791ca4cebfaca5c 100644
--- a/third_party/WebKit/public/platform/Platform.h
+++ b/third_party/WebKit/public/platform/Platform.h
@@ -55,6 +55,7 @@
#include "WebVector.h"
#include "base/metrics/user_metrics_action.h"
#include "cc/resources/shared_bitmap.h"
+#include "cc/surfaces/frame_sink_id.h"
class GrContext;
@@ -321,6 +322,9 @@ class BLINK_PLATFORM_EXPORT Platform {
// the process's process ID.
virtual uint32_t getUniqueIdForProcess() { return 0; }
+ // Returns a unique FrameSinkID for the current renderer process
+ virtual cc::FrameSinkId generateFrameSinkId() { return cc::FrameSinkId(); }
+
// Message Ports -------------------------------------------------------
// Creates a Message Port Channel pair. This can be called on any thread.
« no previous file with comments | « content/renderer/renderer_blink_platform_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698