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

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

Issue 2661663003: 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 88010b70467a81d8fa3f9e183203458120ad5e54..dadb7f5da61ef47c061c04d9de658e219791cdec 100644
--- a/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationControllerImpl.h
+++ b/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationControllerImpl.h
@@ -64,6 +64,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