Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1151)

Unified Diff: content/browser/frame_host/render_frame_host_manager.h

Issue 1418853003: Remove RFHM::GetNavigatingWebUI() and RFHM::web_ui(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@webui-refactor
Patch Set: Addressed nits. Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/frame_host/render_frame_host_manager.h
diff --git a/content/browser/frame_host/render_frame_host_manager.h b/content/browser/frame_host/render_frame_host_manager.h
index 1c6c405dc6d85abdced442749210e2003c903dc0..37ab941b7acd1bd301eb53c69a22edc0bab3f117 100644
--- a/content/browser/frame_host/render_frame_host_manager.h
+++ b/content/browser/frame_host/render_frame_host_manager.h
@@ -256,13 +256,6 @@ class CONTENT_EXPORT RenderFrameHostManager {
// TODO(creis): Remove this when we no longer use RVH for navigation.
RenderViewHostImpl* pending_render_view_host() const;
- // Returns the current committed WebUI or null if none applies.
- WebUIImpl* web_ui() const { return render_frame_host_->web_ui(); }
-
- // Returns the WebUI associated with the RenderFrameHost that is currently
- // navigating or null if none applies.
- WebUIImpl* GetNavigatingWebUI() const;
-
// Called when we want to instruct the renderer to navigate to the given
// navigation entry. It may create a new RenderFrameHost or re-use an existing
// one. The RenderFrameHost to navigate will be returned. Returns NULL if one
@@ -781,10 +774,6 @@ class CONTENT_EXPORT RenderFrameHostManager {
// pending one.
scoped_ptr<RenderFrameHostImpl> speculative_render_frame_host_;
- // Indicates that the WebUI from the current RenderFrameHost is being used for
- // an ongoing navigation and will be kept at navigation commit time.
- bool current_web_ui_is_navigating_;
-
base::WeakPtrFactory<RenderFrameHostManager> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager);
« no previous file with comments | « content/browser/frame_host/navigator_impl.cc ('k') | content/browser/frame_host/render_frame_host_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698