Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(695)

Unified Diff: webkit/glue/webframe.h

Issue 48034: SSLPolicy Fix: Step 1.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webkit/glue/webframe_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | webkit/glue/webframe_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698