Index: content/browser/web_contents/web_contents_impl.h |
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h |
index e0e64e2099c3ca66b26ef3c7543af058387af501..c1c9d31fc07f9ed4d68c99c7b9f89de80fe0dc2d 100644 |
--- a/content/browser/web_contents/web_contents_impl.h |
+++ b/content/browser/web_contents/web_contents_impl.h |
@@ -194,6 +194,8 @@ class CONTENT_EXPORT WebContentsImpl |
virtual WebUI* GetCommittedWebUI() const OVERRIDE; |
virtual void SetUserAgentOverride(const std::string& override) OVERRIDE; |
virtual const std::string& GetUserAgentOverride() const OVERRIDE; |
+ virtual void SetWindowName(const std::string& name) OVERRIDE; |
+ virtual const std::string& GetWindowName() const OVERRIDE; |
virtual const string16& GetTitle() const OVERRIDE; |
virtual int32 GetMaxPageID() OVERRIDE; |
virtual int32 GetMaxPageIDForSiteInstance( |
@@ -328,6 +330,10 @@ class CONTENT_EXPORT WebContentsImpl |
virtual void DidChangeLoadProgress(double progress) OVERRIDE; |
virtual void DidDisownOpener(RenderViewHost* rvh) OVERRIDE; |
virtual void DidUpdateFrameTree(RenderViewHost* rvh) OVERRIDE; |
+ virtual void DidUpdateFrameName(RenderViewHost* rvh, |
+ int frame_id, |
+ bool is_top_level, |
+ const std::string& name) OVERRIDE; |
virtual void DocumentAvailableInMainFrame( |
RenderViewHost* render_view_host) OVERRIDE; |
virtual void DocumentOnLoadCompletedInMainFrame( |
@@ -718,6 +724,8 @@ class CONTENT_EXPORT WebContentsImpl |
// The tab that opened this tab, if any. Will be set to null if the opener |
// is closed. |
WebContentsImpl* opener_; |
+ // The name of the window according to window.name. |
+ std::string window_name_; |
// Helper classes ------------------------------------------------------------ |