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

Unified Diff: third_party/WebKit/Source/core/loader/FrameLoader.h

Issue 2103733004: Set navigationStart correctly for all load types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comment, fix indent. Created 4 years, 5 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: third_party/WebKit/Source/core/loader/FrameLoader.h
diff --git a/third_party/WebKit/Source/core/loader/FrameLoader.h b/third_party/WebKit/Source/core/loader/FrameLoader.h
index 127d12b75c152d8954bc577e112b1058b4ee0747..ee698f80c73c348abaa7f470221c01e8ae1f727c 100644
--- a/third_party/WebKit/Source/core/loader/FrameLoader.h
+++ b/third_party/WebKit/Source/core/loader/FrameLoader.h
@@ -105,6 +105,9 @@ public:
// above the document without risking a URL spoof.
void didAccessInitialDocument();
+ // Returns true if |didAccessInitialDocument| was called.
+ bool getDidAccessInitialDocument() const { return m_didAccessInitialDocument; }
clamy 2016/07/21 11:52:44 Normally, for a boolean getter, we would call the
Alexander Semashko 2016/07/21 14:00:22 Fine. Done.
+
// If the initial empty document is showing and has been accessed, this
// cancels the timer and immediately notifies the client in cases that
// waiting to notify would allow a URL spoof.

Powered by Google App Engine
This is Rietveld 408576698