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

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

Issue 826613003: Revert of Vibration API : migrate to device/vibration using mojo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 e68ca1b70ea899387018c83864d38a9acd37acb1..3c7a4dd7838be7326e714271c3baf1f4e869aa81 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -103,6 +103,7 @@
class ServiceRegistry;
class SiteInstance;
class SpeechRecognitionManagerDelegate;
+class VibrationProvider;
class WebContents;
class WebContentsViewDelegate;
struct MainFunctionParams;
@@ -566,6 +567,13 @@
// information.
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.
+ // FYI: Used by an external project; please don't remove.
+ // Contact Viatcheslav Ostapenko at sl.ostapenko@samsung.com for more
+ // information.
+ virtual VibrationProvider* OverrideVibrationProvider();
+
// Creates a new DevToolsManagerDelegate. The caller owns the returned value.
// It's valid to return NULL.
virtual DevToolsManagerDelegate* GetDevToolsManagerDelegate();

Powered by Google App Engine
This is Rietveld 408576698