| Index: content/browser/frame_host/render_frame_host_impl.cc
|
| diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
|
| index c9c7c8ce8593dbfc8462ed7ab5dd9d573e39ae15..df6e1014bdfb9863b14236fb039b89a7917658a1 100644
|
| --- a/content/browser/frame_host/render_frame_host_impl.cc
|
| +++ b/content/browser/frame_host/render_frame_host_impl.cc
|
| @@ -1216,6 +1216,21 @@ void RenderFrameHostImpl::NotificationClosed(int notification_id) {
|
| cancel_notification_callbacks_.erase(notification_id);
|
| }
|
|
|
| +// PlzNavigate
|
| +void RenderFrameHostImpl::CommitNavigation(
|
| + const FrameMsg_CommitNavigation_Params& params) {
|
| + // TODO(clamy): Check if we have to add security checks for the browser plugin
|
| + // guests.
|
| +
|
| + DCHECK(render_view_host_->rvh_state() == RenderViewHostImpl::STATE_DEFAULT);
|
| + // Get back to a clean state, in case we start a new navigation without
|
| + // completing a RVH swap or unload handler.
|
| + render_view_host_->SetState(RenderViewHostImpl::STATE_DEFAULT);
|
| + Send(new FrameMsg_CommitNavigation(routing_id_, params));
|
| + // TODO(clamy): Check if we have to be concerned about throbbing javascript
|
| + // urls.
|
| +}
|
| +
|
| void RenderFrameHostImpl::PlatformNotificationPermissionRequestDone(
|
| int request_id, blink::WebNotificationPermission permission) {
|
| Send(new PlatformNotificationMsg_PermissionRequestComplete(
|
|
|