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

Unified Diff: third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationControllerImpl.h

Issue 2664093002: Send orientation change events to sub frames even if parent isn't active. (Closed)
Patch Set: Created 3 years, 11 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: third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationControllerImpl.h
diff --git a/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationControllerImpl.h b/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationControllerImpl.h
index 72ca677d880840c2123b3e7c3a06aa7e509238c3..90fcfdebbeb063070fefb67a084ad35150f4c152 100644
--- a/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationControllerImpl.h
+++ b/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationControllerImpl.h
@@ -65,6 +65,8 @@ class MODULES_EXPORT ScreenOrientationControllerImpl final
void dispatchEventTimerFired(TimerBase*);
+ bool isActive() const;
+ bool isVisible() const;
bool isActiveAndVisible() const;
Member<ScreenOrientation> m_orientation;

Powered by Google App Engine
This is Rietveld 408576698