Index: content/renderer/render_view_impl.h |
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h |
index bad09fad1cf80fc64cfafc418477a734e8054bdf..2ebc10c3313553534b140f1d98e02c0cdd30b9ce 100644 |
--- a/content/renderer/render_view_impl.h |
+++ b/content/renderer/render_view_impl.h |
@@ -138,6 +138,7 @@ class RenderViewTest; |
class RendererDateTimePicker; |
class RendererWebColorChooserImpl; |
class SpeechRecognitionDispatcher; |
+class WakeLockDispatcher; |
class WebPluginDelegateProxy; |
struct DropData; |
struct FaviconURL; |
@@ -439,6 +440,8 @@ class CONTENT_EXPORT RenderViewImpl |
virtual blink::WebPushClient* webPushClient(); |
virtual void draggableRegionsChanged(); |
+ virtual blink::WebWakeLockClient* webWakeLockClient(); |
+ |
#if defined(OS_ANDROID) |
virtual void scheduleContentIntent(const blink::WebURL& intent); |
virtual void cancelScheduledContentIntents(); |
@@ -1040,6 +1043,9 @@ class CONTENT_EXPORT RenderViewImpl |
scoped_ptr<HistoryController> history_controller_; |
+ // The wake lock dispatcher attached to this view, lazily initialized. |
+ WakeLockDispatcher* wakelock_dispatcher_; |
+ |
#if defined(OS_ANDROID) |
// Android Specific --------------------------------------------------------- |