Chromium Code Reviews| 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. |