Index: content/public/browser/render_process_host.h |
diff --git a/content/public/browser/render_process_host.h b/content/public/browser/render_process_host.h |
index c61299511108a58252c06537681e242abd9e03f7..752903284dbee310123faa15d1a2b773d96f8772 100644 |
--- a/content/public/browser/render_process_host.h |
+++ b/content/public/browser/render_process_host.h |
@@ -22,6 +22,10 @@ namespace base { |
class TimeDelta; |
} |
+namespace gpu { |
+union ValueState; |
+} |
+ |
namespace content { |
class BrowserContext; |
class BrowserMessageFilter; |
@@ -239,6 +243,18 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Sender, |
// Note: Do not use! Will disappear after PlzNavitate is completed. |
virtual const base::TimeTicks& GetInitTimeForNavigationMetrics() const = 0; |
+ // Returns whether or not the CHROMIUM_subscribe_uniform WebGL extension |
+ // is currently enabled |
+ virtual bool SubscribeUniformEnabled() const = 0; |
+ |
+ // Handlers for subscription target changes to update subscription_set_ |
+ virtual void OnAddSubscription(unsigned int target) = 0; |
+ virtual void OnRemoveSubscription(unsigned int target) = 0; |
+ |
+ // Send a new ValueState to the Gpu Service to update a subscription target |
+ virtual void SendUpdateValueState( |
+ unsigned int target, const gpu::ValueState& state) = 0; |
+ |
// Static management functions ----------------------------------------------- |
// Flag to run the renderer in process. This is primarily |