Changeset 109300 in webkit
- Timestamp:
- Feb 29, 2012 8:08:54 PM (12 years ago)
- Location:
- trunk/Source
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r109299 r109300 1 2012-02-29 James Simonsen <simonjam@chromium.org> 2 3 [chromium] Fix navigation start time on cross-renderer navigation 4 https://bugs.webkit.org/show_bug.cgi?id=75922 5 6 Reviewed by Darin Fisher. 7 8 * loader/DocumentLoadTiming.cpp: 9 (WebCore::DocumentLoadTiming::setNavigationStart): Added. 10 * loader/DocumentLoadTiming.h: 11 1 12 2012-02-29 Stephen Chenney <schenney@chromium.org> 2 13 -
trunk/Source/WebCore/loader/DocumentLoadTiming.cpp
r102961 r109300 73 73 } 74 74 75 void DocumentLoadTiming::setNavigationStart(double navigationStart) 76 { 77 ASSERT(m_referenceMonotonicTime && m_referenceWallTime); 78 m_navigationStart = navigationStart; 79 } 80 75 81 void DocumentLoadTiming::addRedirect(const KURL& redirectingUrl, const KURL& redirectedUrl) 76 82 { -
trunk/Source/WebCore/loader/DocumentLoadTiming.h
r102961 r109300 39 39 40 40 void markNavigationStart(Frame*); 41 void setNavigationStart(double); 41 42 void addRedirect(const KURL& redirectingUrl, const KURL& redirectedUrl); 42 43 double convertMonotonicTimeToDocumentTime(double monotonicTime) const; -
trunk/Source/WebKit/chromium/ChangeLog
r109297 r109300 1 2012-02-29 James Simonsen <simonjam@chromium.org> 2 3 [chromium] Fix navigation start time on cross-renderer navigation 4 https://bugs.webkit.org/show_bug.cgi?id=75922 5 6 Reviewed by Darin Fisher. 7 8 * public/WebDataSource.h: 9 * src/WebDataSource.cpp: 10 (WebKit::WebDataSource::setNavigationStartTime): Added. 11 * src/WebDataSource.h: 12 1 13 2012-02-29 Ian Vollick <vollick@chromium.org> 2 14 -
trunk/Source/WebKit/chromium/public/WebDataSource.h
r101122 r109300 104 104 virtual void setDeferMainResourceDataLoad(bool) = 0; 105 105 106 // Sets the navigation start time for this datasource. Ordinarily, 107 // navigation start is determined in WebCore. But, in some situations, 108 // the embedder might have a better value and can override it here. This 109 // should be called before WebFrameClient::didCommitProvisionalLoad. 110 // Calling it later may confuse users, because JavaScript may have run and 111 // the user may have already recorded the original value. 112 virtual void setNavigationStartTime(double) = 0; 113 106 114 protected: 107 115 ~WebDataSource() { } -
trunk/Source/WebKit/chromium/src/WebDataSourceImpl.cpp
r102044 r109300 130 130 } 131 131 132 void WebDataSourceImpl::setNavigationStartTime(double navigationStart) 133 { 134 timing()->setNavigationStart(navigationStart); 135 } 136 132 137 WebNavigationType WebDataSourceImpl::toWebNavigationType(NavigationType type) 133 138 { -
trunk/Source/WebKit/chromium/src/WebDataSourceImpl.h
r95901 r109300 71 71 virtual WebApplicationCacheHost* applicationCacheHost(); 72 72 virtual void setDeferMainResourceDataLoad(bool); 73 virtual void setNavigationStartTime(double); 73 74 74 75 static WebNavigationType toWebNavigationType(WebCore::NavigationType type);
Note: See TracChangeset
for help on using the changeset viewer.