Chromium Code Reviews| Index: content/public/renderer/render_frame.h |
| diff --git a/content/public/renderer/render_frame.h b/content/public/renderer/render_frame.h |
| index 4bb763bbeb06fda3974c6d5a101b80ce8323db33..517946aa3cbdc35164525b23102b2491499a2cdf 100644 |
| --- a/content/public/renderer/render_frame.h |
| +++ b/content/public/renderer/render_frame.h |
| @@ -115,6 +115,10 @@ class CONTENT_EXPORT RenderFrame : public IPC::Listener, |
| // Execute a string of JavaScript in this frame's context. |
| virtual void ExecuteJavaScript(const base::string16& javascript) = 0; |
| + // Returns true if this is the main frame |
| + // (That's the frame at the top of the frame tree). |
|
Charlie Reis
2015/09/26 00:08:04
nit: No need for the clarification, I think. At m
dglazkov
2015/09/28 04:03:35
Done.
|
| + virtual bool IsMainFrame() = 0; |
| + |
| // Return true if this frame is hidden. |
| virtual bool IsHidden() = 0; |