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

Unified Diff: content/renderer/render_view_impl.h

Issue 483773002: PlzNavigate: implement CommitNavigation on the browser side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Using non-inherited structs Created 6 years, 3 months 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/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index effecb22c4862e777ed397e855ee36b192ca800a..b7842691c52f90a63ce897f42949c10ab003894d 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -26,8 +26,10 @@
#include "content/common/content_export.h"
#include "content/common/drag_event_source_info.h"
#include "content/common/edit_command.h"
+#include "content/common/frame_message_enums.h"
#include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h"
#include "content/common/navigation_gesture.h"
+#include "content/common/navigation_params.h"
#include "content/common/view_message_enums.h"
#include "content/public/common/page_zoom.h"
#include "content/public/common/referrer.h"
@@ -139,6 +141,7 @@ class RendererDateTimePicker;
class RendererWebColorChooserImpl;
class SpeechRecognitionDispatcher;
class WebPluginDelegateProxy;
+struct CommitNavigationParams;
struct DropData;
struct FaviconURL;
struct FileChooserParams;
@@ -633,7 +636,7 @@ class CONTENT_EXPORT RenderViewImpl
void didUpdateCurrentHistoryItem(blink::WebLocalFrame* frame);
void didChangeScrollOffset(blink::WebLocalFrame* frame);
- static bool IsReload(const FrameMsg_Navigate_Params& params);
+ static bool IsReload(FrameMsg_Navigate_Type::Value navigation_type);
static Referrer GetReferrerFromRequest(
blink::WebFrame* frame,
@@ -774,7 +777,7 @@ class CONTENT_EXPORT RenderViewImpl
// Returns true if the |params| navigation is to an entry that has been
// cropped due to a recent navigation the browser did not know about.
- bool IsBackForwardToStaleEntry(const FrameMsg_Navigate_Params& params,
+ bool IsBackForwardToStaleEntry(const CommitNavigationParams& params,
bool is_reload);
// Make the given |frame| show an empty, unscriptable page.

Powered by Google App Engine
This is Rietveld 408576698