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

Side by Side Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 2687593002: PlzNavigate: Invoke didFailProvisionalLoad() in the renderer when a navigation request is cancelled… (Closed)
Patch Set: We may not have a provisional data source at all times Created 3 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 592 matching lines...) Expand 10 before | Expand all | Expand 10 after
603 // that made a network request. The PreviewsState is a bitmask of potentially 603 // that made a network request. The PreviewsState is a bitmask of potentially
604 // several Previews optimizations. 604 // several Previews optimizations.
605 PreviewsState last_navigation_previews_state() const { 605 PreviewsState last_navigation_previews_state() const {
606 return last_navigation_previews_state_; 606 return last_navigation_previews_state_;
607 } 607 }
608 608
609 bool has_focused_editable_element() const { 609 bool has_focused_editable_element() const {
610 return has_focused_editable_element_; 610 return has_focused_editable_element_;
611 } 611 }
612 612
613 // PlzNavigate: Informs the renderer that the navigation request was aborted.
614 void AbortNavigationRequest(const GURL& url, int error_code);
615
613 protected: 616 protected:
614 friend class RenderFrameHostFactory; 617 friend class RenderFrameHostFactory;
615 618
616 // |flags| is a combination of CreateRenderFrameFlags. 619 // |flags| is a combination of CreateRenderFrameFlags.
617 // TODO(nasko): Remove dependency on RenderViewHost here. RenderProcessHost 620 // TODO(nasko): Remove dependency on RenderViewHost here. RenderProcessHost
618 // should be the abstraction needed here, but we need RenderViewHost to pass 621 // should be the abstraction needed here, but we need RenderViewHost to pass
619 // into WebContentsObserver::FrameDetached for now. 622 // into WebContentsObserver::FrameDetached for now.
620 RenderFrameHostImpl(SiteInstance* site_instance, 623 RenderFrameHostImpl(SiteInstance* site_instance,
621 RenderViewHostImpl* render_view_host, 624 RenderViewHostImpl* render_view_host,
622 RenderFrameHostDelegate* delegate, 625 RenderFrameHostDelegate* delegate,
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after
1145 1148
1146 // NOTE: This must be the last member. 1149 // NOTE: This must be the last member.
1147 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 1150 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
1148 1151
1149 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 1152 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
1150 }; 1153 };
1151 1154
1152 } // namespace content 1155 } // namespace content
1153 1156
1154 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 1157 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698