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

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

Issue 23496051: Make VibrationMessageFilter available to other platforms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed clang compile issues and updated by review comments. Created 7 years, 1 month 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 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.

Powered by Google App Engine
This is Rietveld 408576698