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

Unified Diff: content/renderer/render_frame_impl.h

Issue 1425303002: OOPIF: Stop using HistoryController and refactor UpdateState. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix nit 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
« no previous file with comments | « content/renderer/history_controller_browsertest.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_frame_impl.h
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
index b9feffa5f534137f7fdfe8fc2146ede67f572ad8..9e68ed7eaf3e1bb019fbf7e17be7f28667d935df 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -847,6 +847,9 @@ class CONTENT_EXPORT RenderFrameImpl
void LoadDataURL(const CommonNavigationParams& params,
blink::WebFrame* frame);
+ // Sends the current frame's navigation state to the browser.
+ void SendUpdateState();
+
// Sends a proper FrameHostMsg_DidFailProvisionalLoadWithError_Params IPC for
// the failed request |request|.
void SendFailedProvisionalLoad(const blink::WebURLRequest& request,
@@ -938,6 +941,10 @@ class CONTENT_EXPORT RenderFrameImpl
// didCreateDataSource().
scoped_ptr<NavigationParams> pending_navigation_params_;
+ // Stores the current history item for this frame, so that updates to it can
+ // be reported to the browser process via SendUpdateState.
+ blink::WebHistoryItem current_history_item_;
+
#if defined(ENABLE_PLUGINS)
// Current text input composition text. Empty if no composition is in
// progress.
« no previous file with comments | « content/renderer/history_controller_browsertest.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698