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

Unified Diff: content/browser/frame_host/navigation_controller_delegate.h

Issue 26316005: Move out DidStartProvisionalLoad from WebContentsImpl into Navigator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add NavigatorDelegate Created 7 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
Index: content/browser/frame_host/navigation_controller_delegate.h
diff --git a/content/browser/frame_host/navigation_controller_delegate.h b/content/browser/frame_host/navigation_controller_delegate.h
index cb3204cde6326eb0f931c4865e4f1ab3be124aa0..18bf3b03d4907f579b11eae756cd8f2ab5f7ddf6 100644
--- a/content/browser/frame_host/navigation_controller_delegate.h
+++ b/content/browser/frame_host/navigation_controller_delegate.h
@@ -16,6 +16,7 @@ struct LoadNotificationDetails;
struct NativeWebKeyboardEvent;
class InterstitialPage;
class InterstitialPageImpl;
+class RenderFrameHost;
class RenderViewHost;
class SiteInstance;
class WebContents;
@@ -72,6 +73,19 @@ class NavigationControllerDelegate {
virtual void SetIsLoading(RenderViewHost* render_view_host,
bool is_loading,
LoadNotificationDetails* details) = 0;
+
+ // Actual navigation delegates.
Charlie Reis 2013/11/07 01:22:43 What does this mean?
+ virtual void DidStartProvisionalLoad(
+ int64 frame_id,
+ int64 parent_frame_id,
+ bool is_main_frame,
+ const GURL& validated_url,
+ bool is_error_page,
+ bool is_iframe_srcdoc,
+ RenderFrameHost* render_frame_host) = 0;
+ virtual void ProvisionalChangeToMainFrameUrl(
+ const GURL& url,
+ RenderFrameHost* render_frame_host) = 0;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698