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

Unified Diff: content/public/browser/navigation_handle.h

Issue 1312213010: PageLoadMetrics renderer and browser implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Instrumented NavigationHandle for IsSamePage, fixed broken logic and tests Created 5 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/public/browser/navigation_handle.h
diff --git a/content/public/browser/navigation_handle.h b/content/public/browser/navigation_handle.h
index 49d0884de43256e204ad3159903db42e889d1af6..74cd9c9b2b0491f21d712e2930b9cb7a195420d6 100644
--- a/content/public/browser/navigation_handle.h
+++ b/content/public/browser/navigation_handle.h
@@ -28,6 +28,9 @@ class CONTENT_EXPORT NavigationHandle {
// Whether the navigation is taking place in the main frame or in a subframe.
virtual bool IsInMainFrame() const = 0;
+ // Whether the navigation is a same-page navigation
clamy 2015/09/08 13:25:59 "Whether the navigation happened in the same page.
Charlie Harrison 2015/09/08 23:05:16 Done.
+ virtual bool IsSamePage() const = 0;
+
// Whether the navigation has successfully committed a document.
virtual bool HasCommittedDocument() const = 0;

Powered by Google App Engine
This is Rietveld 408576698