Index: Source/core/frame/Frame.h |
diff --git a/Source/core/frame/Frame.h b/Source/core/frame/Frame.h |
index 6c38bceb8f3e6555c648ff2c2218c8e504961ac8..3c669f7db3dd338bf2cf0adf525f938cc90b3bf7 100644 |
--- a/Source/core/frame/Frame.h |
+++ b/Source/core/frame/Frame.h |
@@ -37,6 +37,10 @@ |
#include "wtf/Forward.h" |
#include "wtf/RefCounted.h" |
+namespace blink { |
+class WebLayer; |
+} |
+ |
namespace WebCore { |
class AnimationController; |
@@ -152,6 +156,9 @@ namespace WebCore { |
int64_t frameID() const { return m_frameInit->frameID(); } |
+ void setRemotePlatformLayer(blink::WebLayer* remotePlatformLayer) { m_remotePlatformLayer = remotePlatformLayer; } |
+ blink::WebLayer* remotePlatformLayer() const { return m_remotePlatformLayer; } |
+ |
// ======== All public functions below this point are candidates to move out of Frame into another class. ======== |
bool inScope(TreeScope*) const; |
@@ -236,6 +243,8 @@ namespace WebCore { |
#endif |
bool m_inViewSourceMode; |
+ |
+ blink::WebLayer* m_remotePlatformLayer; |
}; |
inline void Frame::init() |