summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webframe.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/webframe.h')
-rw-r--r--webkit/glue/webframe.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/webkit/glue/webframe.h b/webkit/glue/webframe.h
index 1789bfb..faa98bd 100644
--- a/webkit/glue/webframe.h
+++ b/webkit/glue/webframe.h
@@ -191,6 +191,13 @@ class WebFrame {
// Returns the top-most frame in the frame hierarchy containing this frame.
virtual WebFrame* GetTop() const = 0;
+ // Returns the first child frame of this frame, or NULL if it has no children.
+ virtual WebFrame* GetFirstChild() const = 0;
+
+ // Returns the next sibling frame of this frame, or NULL if there are no more
+ // siblings.
+ virtual WebFrame* GetNextSibling() 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