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 e862ca97d371680d01b6f429a9e5fbd6cc3b5ac8..469d0a3cef31cc6442124481cdb61db1be0286f2 100644 |
--- a/content/public/browser/content_browser_client.h |
+++ b/content/public/browser/content_browser_client.h |
@@ -94,6 +94,7 @@ class RenderViewHostDelegateView; |
class ResourceContext; |
class SiteInstance; |
class SpeechRecognitionManagerDelegate; |
+class VibrationProvider; |
class WebContents; |
class WebContentsViewDelegate; |
class WebContentsViewPort; |
@@ -571,6 +572,10 @@ class CONTENT_EXPORT ContentBrowserClient { |
// Return NULL to use the default one for the platform to be created. |
virtual LocationProvider* OverrideSystemLocationProvider(); |
+ // Allows an embedder to return its own VibrationProvider implementation. |
+ // Return NULL to use the default one for the platform to be created. |
+ virtual VibrationProvider* OverrideVibrationProvider(); |
Avi (use Gerrit)
2013/11/18 18:56:31
What's the rationale here? Are we expecting the em
ostap
2013/11/18 21:47:18
Yes, it adds possibility to override vibration pro
Avi (use Gerrit)
2013/11/18 21:49:49
That wasn't my question. Yes, it offers the possib
|
+ |
#if defined(OS_POSIX) && !defined(OS_MACOSX) |
// Populates |mappings| with all files that need to be mapped before launching |
// a child process. |