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

Unified Diff: webkit/glue/webframeloaderclient_impl.cc

Issue 155241: Roll WebKit to r45634 and fix build (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webframeloaderclient_impl.cc
===================================================================
--- webkit/glue/webframeloaderclient_impl.cc (revision 20191)
+++ webkit/glue/webframeloaderclient_impl.cc (working copy)
@@ -1493,11 +1493,11 @@
}
NavigationGesture WebFrameLoaderClient::NavigationGestureForLastLoad() {
- // TODO(timsteele): userGestureHint returns too many false positives
+ // TODO(timsteele): isProcessingUserGesture() returns too many false positives
// (see bug 1051891) to trust it and assign NavigationGestureUser, so
// for now we assign Unknown in those cases and Auto otherwise.
// (Issue 874811 known false negative as well).
- return webframe_->frame()->loader()->userGestureHint() ?
+ return webframe_->frame()->loader()->isProcessingUserGesture() ?
NavigationGestureUnknown :
NavigationGestureAuto;
}
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698