| Index: content/browser/renderer_host/render_process_host_impl.h
|
| diff --git a/content/browser/renderer_host/render_process_host_impl.h b/content/browser/renderer_host/render_process_host_impl.h
|
| index 773ebc571792c40d6fdc909710c055e569ec4c4e..0fa1167f1cee8c373ee960ea887630105cb2a798 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.h
|
| +++ b/content/browser/renderer_host/render_process_host_impl.h
|
| @@ -237,6 +237,8 @@ class CONTENT_EXPORT RenderProcessHostImpl
|
| // Handle termination of our process.
|
| void ProcessDied(bool already_dead);
|
|
|
| + void OnGpuSwitch();
|
| +
|
| // The count of currently visible widgets. Since the host can be a container
|
| // for multiple widgets, it uses this count to determine when it should be
|
| // backgrounded.
|
| @@ -329,6 +331,8 @@ class CONTENT_EXPORT RenderProcessHostImpl
|
| // and PeerConnectionTracker in the renderer process.
|
| scoped_refptr<PeerConnectionTrackerHost> peer_connection_tracker_host_;
|
|
|
| + base::Callback<void()> gpu_switch_callback_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
|
| };
|
|
|
|
|