Index: trunk/src/content/renderer/render_view_impl.h |
=================================================================== |
--- trunk/src/content/renderer/render_view_impl.h (revision 254165) |
+++ trunk/src/content/renderer/render_view_impl.h (working copy) |
@@ -76,7 +76,7 @@ |
class PepperDeviceTest; |
class SkBitmap; |
struct PP_NetAddress_Private; |
-struct ViewMsg_Navigate_Params; |
+struct FrameMsg_Navigate_Params; |
struct ViewMsg_PostMessage_Params; |
struct ViewMsg_StopFinding_Params; |
@@ -806,14 +806,14 @@ |
CONNECTION_ERROR, |
}; |
- static blink::WebReferrerPolicy GetReferrerPolicyFromRequest( |
- blink::WebFrame* frame, |
- const blink::WebURLRequest& request); |
+ static bool IsReload(const FrameMsg_Navigate_Params& params); |
static Referrer GetReferrerFromRequest( |
blink::WebFrame* frame, |
const blink::WebURLRequest& request); |
+ static void NotifyTimezoneChange(blink::WebFrame* frame); |
+ |
void UpdateTitle(blink::WebFrame* frame, const base::string16& title, |
blink::WebTextDirection title_direction); |
void UpdateSessionHistory(blink::WebFrame* frame); |
@@ -926,7 +926,6 @@ |
void OnPluginActionAt(const gfx::Point& location, |
const blink::WebPluginAction& action); |
void OnMoveOrResizeStarted(); |
- void OnNavigate(const ViewMsg_Navigate_Params& params); |
void OnPostMessageEvent(const ViewMsg_PostMessage_Params& params); |
void OnReleaseDisambiguationPopupDIB(TransportDIB::Handle dib_handle); |
void OnReloadFrame(); |
@@ -1027,9 +1026,13 @@ |
// 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 ViewMsg_Navigate_Params& params, |
+ bool IsBackForwardToStaleEntry(const FrameMsg_Navigate_Params& params, |
bool is_reload); |
+ // TODO(nasko): Remove this method when code is migrated to use |
+ // RenderFrameObserver. |
+ void OnNavigate(const FrameMsg_Navigate_Params& params); |
+ |
// Make this RenderView show an empty, unscriptable page. |
void NavigateToSwappedOutURL(blink::WebFrame* frame); |
@@ -1161,6 +1164,7 @@ |
bool is_loading_; |
// The gesture that initiated the current navigation. |
+ // TODO(nasko): Move to RenderFrame, as this is per-frame state. |
NavigationGesture navigation_gesture_; |
// Used for popups. |
@@ -1180,7 +1184,8 @@ |
// the WebDataSource::ExtraData attribute. We use pending_navigation_state_ |
// as a temporary holder for the state until the WebDataSource corresponding |
// to the new navigation is created. See DidCreateDataSource. |
- scoped_ptr<ViewMsg_Navigate_Params> pending_navigation_params_; |
+ // TODO(nasko): Move to RenderFrame, as this is per-frame state. |
+ scoped_ptr<FrameMsg_Navigate_Params> pending_navigation_params_; |
// Timer used to delay the updating of nav state (see SyncNavigationState). |
base::OneShotTimer<RenderViewImpl> nav_state_sync_timer_; |