Chromium Code Reviews| Index: third_party/WebKit/public/web/WebLocalFrame.h |
| diff --git a/third_party/WebKit/public/web/WebLocalFrame.h b/third_party/WebKit/public/web/WebLocalFrame.h |
| index 9296734f0a36adf1539b307f46caf5451785803b..8a4e6e671ef9e4cefc14cc9c9979b92db3d05685 100644 |
| --- a/third_party/WebKit/public/web/WebLocalFrame.h |
| +++ b/third_party/WebKit/public/web/WebLocalFrame.h |
| @@ -110,6 +110,12 @@ class WebLocalFrame : public WebFrame { |
| // Get the highest-level LocalFrame in this frame's in-process subtree. |
| virtual WebLocalFrame* LocalRoot() = 0; |
| + // Returns the frame identified by the given name. This method supports |
| + // pseudo-names like _self, _top, and _blank. It traverses the entire |
| + // browsing instance containing this frame, looking for a frame that matches |
|
dcheng
2017/05/26 18:28:06
"browsing instance" isn't quite true today, is it?
Łukasz Anforowicz
2017/05/26 20:04:05
I've added a disclaimer to the comment above. Rig
dcheng
2017/05/26 20:16:19
Small nit: the web name for this is "same unit of
Łukasz Anforowicz
2017/05/26 20:51:19
In the end I've stopped talking about "browsing in
|
| + // the given name. |
| + virtual WebFrame* FindFrameByName(const WebString& name) = 0; |
| + |
| // Navigation Ping -------------------------------------------------------- |
| virtual void SendPings(const WebURL& destination_url) = 0; |