Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(170)

Unified Diff: content/browser/web_contents/web_contents_impl.h

Issue 1393203004: Reland of Wake Lock API implementation (Chromium part) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix presubmit errors Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/web_contents/web_contents_impl.h
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index 109f672e79d2e215a1b16f3eb859ab4d4b88cc52..95f684e0423b8091213638079aafe131137d1230 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -67,6 +67,7 @@ class SavePackage;
class ScreenOrientationDispatcherHost;
class SiteInstance;
class TestWebContents;
+class WakeLockServiceContext;
class WebContentsAudioMuter;
class WebContentsDelegate;
class WebContentsImpl;
@@ -428,6 +429,7 @@ class CONTENT_EXPORT WebContentsImpl
RenderFrameHost* render_frame_host,
int browser_plugin_instance_id) override;
GeolocationServiceContext* GetGeolocationServiceContext() override;
+ WakeLockServiceContext* GetWakeLockServiceContext() override;
void EnterFullscreenMode(const GURL& origin) override;
void ExitFullscreenMode() override;
bool ShouldRouteMessageEvent(
@@ -1284,6 +1286,8 @@ class CONTENT_EXPORT WebContentsImpl
scoped_ptr<GeolocationServiceContext> geolocation_service_context_;
+ scoped_ptr<WakeLockServiceContext> wake_lock_service_context_;
+
scoped_ptr<ScreenOrientationDispatcherHost>
screen_orientation_dispatcher_host_;
« no previous file with comments | « content/browser/wake_lock/wake_lock_service_impl.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698