Index: content/browser/webui/web_ui_impl.h |
diff --git a/content/browser/webui/web_ui_impl.h b/content/browser/webui/web_ui_impl.h |
index df245c7bd1f8a26da0207478d3886a6b2142b033..57673929fce5f4033485378df90b8f434114ee71 100644 |
--- a/content/browser/webui/web_ui_impl.h |
+++ b/content/browser/webui/web_ui_impl.h |
@@ -7,7 +7,6 @@ |
#pragma once |
#include <map> |
-#include <set> |
#include "base/compiler_specific.h" |
#include "content/public/browser/web_ui.h" |
@@ -28,15 +27,6 @@ class CONTENT_EXPORT WebUIImpl : public content::WebUI, |
// RenderViewHostManager will reuse RenderView instances. |
void RenderViewCreated(content::RenderViewHost* render_view_host); |
- // Called when the document element is available for the page. |main_frame| |
- // is true if the main frame's document is the one that's ready; otherwise |
- // the frame is an iframe and |source_url| gives its URL. The WebUI ignores |
- // messages until the document is available, because otherwise when we reuse |
- // a RenderView, we can receive and attempt to handle WebUISend messages from |
- // the prior navigation, which were in-flight when the RenderView got |
- // repurposed. |
- void DocumentAvailableInFrame(const GURL& source_url); |
- |
// WebUI implementation: |
virtual content::WebContents* GetWebContents() const OVERRIDE; |
virtual content::WebUIController* GetController() const OVERRIDE; |
@@ -119,11 +109,6 @@ class CONTENT_EXPORT WebUIImpl : public content::WebUI, |
// iframe). |
std::string frame_xpath_; |
- // List of URL origins in the renderer for which the document is ready. Each |
- // origin identifies a frame; two frames with the same origin may cause this |
- // to break. |
- std::set<GURL> document_available_origins_; |
- |
scoped_ptr<content::WebUIController> controller_; |
DISALLOW_COPY_AND_ASSIGN(WebUIImpl); |