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

Unified Diff: content/public/browser/content_browser_client.h

Issue 150153004: [WIP] Add Chromium-side support for the Screen Orientation API (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Created 6 years, 10 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/public/browser/content_browser_client.h
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index 38a3c6fb4ddf3225d8772bc7663b70cd27ab7ac7..032c283fdf04b7e5e34a5cfbd3e14aab4315b522 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -89,6 +89,7 @@ class RenderProcessHost;
class RenderViewHost;
class RenderViewHostDelegateView;
class ResourceContext;
+class ScreenOrientationProvider;
class SiteInstance;
class SpeechRecognitionManagerDelegate;
class VibrationProvider;
@@ -591,6 +592,14 @@ class CONTENT_EXPORT ContentBrowserClient {
// information.
virtual VibrationProvider* OverrideVibrationProvider();
+ // Allows an embedder to return its own ScreenOrientationProvider
+ // implementation.
+ // Return NULL to use the default one for the platform to be created.
+ // FYI: Used by an external project; please don't remove.
kenneth.r.christiansen 2014/02/06 15:03:12 FYI, why not Note,
ostap 2014/02/06 21:23:28 To be consistent with OverrideSystemLocationProvid
+ // Contact Viatcheslav Ostapenko at sl.ostapenko@samsung.com for more
+ // information.
+ virtual ScreenOrientationProvider* OverrideScreenOrientationProvider();
+
#if defined(OS_POSIX) && !defined(OS_MACOSX)
// Populates |mappings| with all files that need to be mapped before launching
// a child process.

Powered by Google App Engine
This is Rietveld 408576698