Index: content/gpu/gpu_child_thread.h |
diff --git a/content/gpu/gpu_child_thread.h b/content/gpu/gpu_child_thread.h |
index b83ff794e7bf353014a5049bd6f41212ee8da36b..0aa1186483615ceae24a8bc115c23e787e6ee2f6 100644 |
--- a/content/gpu/gpu_child_thread.h |
+++ b/content/gpu/gpu_child_thread.h |
@@ -19,6 +19,7 @@ |
#include "content/child/child_thread_impl.h" |
#include "content/common/gpu/gpu_channel.h" |
#include "content/common/gpu/gpu_channel_manager.h" |
+#include "content/common/gpu/gpu_channel_manager_delegate.h" |
#include "content/common/gpu/gpu_config.h" |
#include "content/common/gpu/x_util.h" |
#include "content/common/process_control.mojom.h" |
@@ -44,7 +45,8 @@ class GpuWatchdogThread; |
// these per process. It does process initialization and shutdown. It forwards |
// IPC messages to GpuChannelManager, which is responsible for issuing rendering |
// commands to the GPU. |
-class GpuChildThread : public ChildThreadImpl { |
+class GpuChildThread : public ChildThreadImpl, |
+ public GpuChannelManagerDelegate { |
public: |
typedef std::queue<IPC::Message*> DeferredMessages; |
@@ -71,6 +73,9 @@ class GpuChildThread : public ChildThreadImpl { |
bool OnControlMessageReceived(const IPC::Message& msg) override; |
bool OnMessageReceived(const IPC::Message& msg) override; |
+ // GpuChannelManagerDelegate implementation. |
+ void SetActiveURL(const std::string& url) override; |
+ |
private: |
// Message handlers. |
void OnInitialize(); |