diff options
author | davemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-03 21:39:26 +0000 |
---|---|---|
committer | davemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-03 21:39:26 +0000 |
commit | c20210e6a0c40bce1781a42abf81b44ba627f2a9 (patch) | |
tree | e658b8111109145bc450603ac69cb0de3dd47eb2 /webkit/glue/webview_delegate.h | |
parent | 601b54022e6232875c8b24501e425b450f071217 (diff) | |
download | chromium_src-c20210e6a0c40bce1781a42abf81b44ba627f2a9.zip chromium_src-c20210e6a0c40bce1781a42abf81b44ba627f2a9.tar.gz chromium_src-c20210e6a0c40bce1781a42abf81b44ba627f2a9.tar.bz2 |
- Added support for keeping track of load times.
For each document loaded we record the time the page was requested by the user
(or as close as we can get to that), the time the load process started, the time
the
document and it's dependent resources (scripts) have been loaded (before
onload())
and the time all the document's resources have been loaded.
We use this data for two things:
1) We histogram the deltas between the time marks
2) We expose the times to javascript running on the page which was loaded
Review URL: http://codereview.chromium.org/42527
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13116 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webview_delegate.h')
-rw-r--r-- | webkit/glue/webview_delegate.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/webkit/glue/webview_delegate.h b/webkit/glue/webview_delegate.h index cf6abaf0..482a24b 100644 --- a/webkit/glue/webview_delegate.h +++ b/webkit/glue/webview_delegate.h @@ -29,6 +29,7 @@ #include <vector> #include "webkit/glue/context_menu.h" +#include "webkit/glue/webdatasource.h" #include "webkit/glue/webwidget_delegate.h" namespace gfx { @@ -58,15 +59,6 @@ class WebWidget; class WebWorker; class WebWorkerClient; -enum WebNavigationType { - WebNavigationTypeLinkClicked, - WebNavigationTypeFormSubmitted, - WebNavigationTypeBackForward, - WebNavigationTypeReload, - WebNavigationTypeFormResubmitted, - WebNavigationTypeOther -}; - enum NavigationGesture { NavigationGestureUser, // User initiated navigation/load. This is not // currently used due to the untrustworthy nature |