| Index: webkit/glue/webframe.h
|
| ===================================================================
|
| --- webkit/glue/webframe.h (revision 11701)
|
| +++ webkit/glue/webframe.h (working copy)
|
| @@ -164,6 +164,9 @@
|
| // frame with no parent.
|
| virtual WebFrame* GetParent() const = 0;
|
|
|
| + // Returns the top-most frame in the frame hierarchy containing this frame.
|
| + virtual WebFrame* GetTop() const = 0;
|
| +
|
| // Returns the child frame with the given xpath.
|
| // The document of this frame is used as the context node.
|
| // The xpath may need a recursive traversal if non-trivial
|
| @@ -182,6 +185,9 @@
|
| // unless it is AddRef'd separately by the caller.
|
| virtual WebView* GetView() const = 0;
|
|
|
| + // Returns the serialization of the frame's security origin.
|
| + virtual std::string GetSecurityOrigin() const = 0;
|
| +
|
| // Fills the contents of this frame into the given string. If the text is
|
| // longer than max_chars, it will be clipped to that length. Warning: this
|
| // function may be slow depending on the number of characters retrieved and
|
|
|