| Index: content/browser/screen_orientation/screen_orientation_provider.h
|
| diff --git a/content/browser/screen_orientation/screen_orientation_provider.h b/content/browser/screen_orientation/screen_orientation_provider.h
|
| index 0898070e3bb9471d3fee37c606deb4faf5e85720..a94fca9ba8ccaa0f416b7bd7ef987bfe578b8f1c 100644
|
| --- a/content/browser/screen_orientation/screen_orientation_provider.h
|
| +++ b/content/browser/screen_orientation/screen_orientation_provider.h
|
| @@ -35,6 +35,8 @@ class CONTENT_EXPORT ScreenOrientationProvider
|
| void LockOrientation(blink::WebScreenOrientationLockType orientation,
|
| const LockOrientationCallback& callback) override;
|
| void UnlockOrientation() override;
|
| + void StartAccurateListen() override;
|
| + void StopAccurateListen() override;
|
|
|
| // Inform about a screen orientation update. It is called to let the provider
|
| // know if a lock has been resolved.
|
| @@ -66,6 +68,10 @@ class CONTENT_EXPORT ScreenOrientationProvider
|
| // Not owned, responsible for platform implementations.
|
| static ScreenOrientationDelegate* delegate_;
|
|
|
| +#if defined(OS_ANDROID)
|
| + int accurate_listener_count_ = 0;
|
| +#endif
|
| +
|
| // Whether the ScreenOrientationProvider currently has a lock applied.
|
| bool lock_applied_;
|
|
|
|
|