Chromium Code Reviews| Index: content/public/browser/render_frame_host.h |
| diff --git a/content/public/browser/render_frame_host.h b/content/public/browser/render_frame_host.h |
| index d26ec27c1972b2f843215726ec91809707fb7250..fbbe0aecba0dd49a0b49a4b5e5995ae816f8f30d 100644 |
| --- a/content/public/browser/render_frame_host.h |
| +++ b/content/public/browser/render_frame_host.h |
| @@ -16,6 +16,7 @@ |
| #include "ui/gfx/geometry/rect.h" |
| #include "ui/gfx/native_widget_types.h" |
| #include "url/gurl.h" |
| +#include "url/origin.h" |
| namespace base { |
| class Value; |
| @@ -78,6 +79,9 @@ class CONTENT_EXPORT RenderFrameHost : public IPC::Listener, |
| // Returns the last committed URL of the frame. |
| virtual GURL GetLastCommittedURL() = 0; |
| + // Returns the last committed origin of the frame. |
|
alexmos
2015/11/24 18:23:48
Is it worth adding some sort of note here that it'
ncarter (slow)
2015/11/24 19:35:08
Done.
|
| + virtual url::Origin GetLastCommittedOrigin() = 0; |
| + |
| // Returns the associated widget's native view. |
| virtual gfx::NativeView GetNativeView() = 0; |