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

Unified Diff: content/browser/screen_orientation/screen_orientation_delegate_android.cc

Issue 2745443002: [Device Service] Port ScreenOrientationListener into Device Service. (Closed)
Patch Set: Add DEPS Created 3 years, 9 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/browser/screen_orientation/screen_orientation_delegate_android.cc
diff --git a/content/browser/screen_orientation/screen_orientation_delegate_android.cc b/content/browser/screen_orientation/screen_orientation_delegate_android.cc
index d534d30e15099658618537cdd6a28778b58402e3..6a95d7db73590915f9f6b8120acfca18d0b5fb74 100644
--- a/content/browser/screen_orientation/screen_orientation_delegate_android.cc
+++ b/content/browser/screen_orientation/screen_orientation_delegate_android.cc
@@ -20,18 +20,6 @@ ScreenOrientationDelegateAndroid::~ScreenOrientationDelegateAndroid() {
ScreenOrientationProvider::SetDelegate(nullptr);
}
-// static
-void ScreenOrientationDelegateAndroid::StartAccurateListening() {
- Java_ScreenOrientationProvider_startAccurateListening(
- base::android::AttachCurrentThread());
-}
-
-// static
-void ScreenOrientationDelegateAndroid::StopAccurateListening() {
- Java_ScreenOrientationProvider_stopAccurateListening(
- base::android::AttachCurrentThread());
-}
-
bool ScreenOrientationDelegateAndroid::FullScreenRequired(
WebContents* web_contents) {
ContentViewCoreImpl* cvc =

Powered by Google App Engine
This is Rietveld 408576698