Index: content/browser/screen_orientation/screen_orientation_provider_android.cc |
diff --git a/content/browser/screen_orientation/screen_orientation_provider_android.cc b/content/browser/screen_orientation/screen_orientation_provider_android.cc |
index 36064a69371e5744fbff6f10f50392d20ba6686d..72940624841a48efb35075f7fe3d8031be3478cb 100644 |
--- a/content/browser/screen_orientation/screen_orientation_provider_android.cc |
+++ b/content/browser/screen_orientation/screen_orientation_provider_android.cc |
@@ -203,6 +203,18 @@ ScreenOrientationProviderAndroid::GetNaturalLockType() const { |
} |
// static |
+void ScreenOrientationProviderAndroid::StartAccurateListening() { |
+ Java_ScreenOrientationProvider_startAccurateListening( |
+ base::android::AttachCurrentThread()); |
+} |
+ |
+// static |
+void ScreenOrientationProviderAndroid::StopAccurateListening() { |
+ Java_ScreenOrientationProvider_stopAccurateListening( |
+ base::android::AttachCurrentThread()); |
+} |
+ |
+// static |
ScreenOrientationProvider* ScreenOrientationProvider::Create( |
ScreenOrientationDispatcherHost* dispatcher, |
WebContents* web_contents) { |