| 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..83b9eea0eecddd613d1d8b6390055356adab7592 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.h
|
| +++ b/content/browser/renderer_host/render_process_host_impl.h
|
| @@ -15,6 +15,7 @@
|
| #include "base/timer.h"
|
| #include "content/browser/child_process_launcher.h"
|
| #include "content/common/content_export.h"
|
| +#include "content/public/browser/gpu_data_manager_observer.h"
|
| #include "content/public/browser/render_process_host.h"
|
| #include "ipc/ipc_channel_proxy.h"
|
| #include "ui/surface/transport_dib.h"
|
| @@ -61,7 +62,8 @@ class StoragePartitionImpl;
|
| // to access the partition they are assigned to.
|
| class CONTENT_EXPORT RenderProcessHostImpl
|
| : public RenderProcessHost,
|
| - public ChildProcessLauncher::Client {
|
| + public ChildProcessLauncher::Client,
|
| + public GpuDataManagerObserver {
|
| public:
|
| RenderProcessHostImpl(BrowserContext* browser_context,
|
| StoragePartitionImpl* storage_partition_impl,
|
| @@ -237,6 +239,8 @@ class CONTENT_EXPORT RenderProcessHostImpl
|
| // Handle termination of our process.
|
| void ProcessDied(bool already_dead);
|
|
|
| + virtual void OnGpuSwitching() OVERRIDE;
|
| +
|
| // 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.
|
|
|