Index: public/web/WebFrame.h |
diff --git a/public/web/WebFrame.h b/public/web/WebFrame.h |
index df277a89a1ef86005d4dea3161b4a3b96717093c..b3beb570103e165caee80c04e3aa22de4f59d1cb 100644 |
--- a/public/web/WebFrame.h |
+++ b/public/web/WebFrame.h |
@@ -67,6 +67,7 @@ class WebLocalFrame; |
class WebPerformance; |
class WebPermissionClient; |
class WebRange; |
+class WebRemoteFrame; |
class WebSecurityOrigin; |
class WebSharedWorkerRepositoryClient; |
class WebString; |
@@ -106,7 +107,10 @@ public: |
// Returns the number of live WebFrame objects, used for leak checking. |
BLINK_EXPORT static int instanceCount(); |
+ virtual bool isWebLocalFrame() const = 0; |
virtual WebLocalFrame* toWebLocalFrame() = 0; |
+ virtual bool isWebRemoteFrame() const = 0; |
+ virtual WebRemoteFrame* toWebRemoteFrame() = 0; |
// This method closes and deletes the WebFrame. |
virtual void close() = 0; |