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

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

Issue 1107333002: Wake Lock API implementation (Chromium part) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added visibility check to browsertest Created 5 years, 3 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 f94639f921df4d22aea97de6d096c4f2448cf27d..ebb23a7efa1a53379d4ac8f7a63163c4a0a27627 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -66,6 +66,7 @@ class SavePackage;
class ScreenOrientationDispatcherHost;
class SiteInstance;
class TestWebContents;
+class WakeLockServiceContext;
class WebContentsAudioMuter;
class WebContentsDelegate;
class WebContentsImpl;
@@ -421,6 +422,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(
@@ -1282,6 +1284,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