Device motion and orientation should only be visible from the main frame's security...
[WebKit-https.git] / Source / WebCore / page / DOMWindow.h
index e49322e..0d8d953 100644 (file)
@@ -361,6 +361,8 @@ namespace WebCore {
         void reconnectDOMWindowProperties();
         void willDestroyDocumentInFrame();
 
+        bool isSameSecurityOriginAsMainFrame() const;
+
 #if ENABLE(GAMEPAD)
         void incrementGamepadEventListenerCount();
         void decrementGamepadEventListenerCount();