| Index: content/renderer/render_thread_impl.h
|
| diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h
|
| index 10aa0119277c2126e0e533d5234da8d88242c1f0..eca34c9e50f95416ba7f66d0978df6173963baaa 100644
|
| --- a/content/renderer/render_thread_impl.h
|
| +++ b/content/renderer/render_thread_impl.h
|
| @@ -41,6 +41,7 @@ class WebDatabaseObserverImpl;
|
| class WebGraphicsContext3DCommandBufferImpl;
|
|
|
| namespace WebKit {
|
| +class WebBatteryMonitor;
|
| class WebMediaStreamCenter;
|
| class WebMediaStreamCenterClient;
|
| }
|
| @@ -206,6 +207,9 @@ class CONTENT_EXPORT RenderThreadImpl : public content::RenderThread,
|
| // has been lost.
|
| GpuChannelHost* GetGpuChannel();
|
|
|
| + // Gets the embedder implementation of WebBatteryMonitor.
|
| + WebKit::WebBatteryMonitor* GetBatteryMonitor();
|
| +
|
| // Returns a MessageLoopProxy instance corresponding to the message loop
|
| // of the thread on which file operations should be run. Must be called
|
| // on the renderer's main thread.
|
| @@ -303,6 +307,8 @@ class CONTENT_EXPORT RenderThreadImpl : public content::RenderThread,
|
|
|
| scoped_ptr<WebGraphicsContext3DCommandBufferImpl> gpu_vda_context3d_;
|
|
|
| + scoped_ptr<WebKit::WebBatteryMonitor> battery_monitor_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
|
| };
|
|
|
|
|