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

Unified Diff: content/browser/web_contents/navigation_controller_impl.cc

Issue 12212114: overscroll: Disable overscroll by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 10 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: content/browser/web_contents/navigation_controller_impl.cc
diff --git a/content/browser/web_contents/navigation_controller_impl.cc b/content/browser/web_contents/navigation_controller_impl.cc
index 3fd2122937abdfb2a51f6dd84a152c07e4b2f0e0..e9bf27289ae65c53d3eb4a04b1d486aa8d679e72 100644
--- a/content/browser/web_contents/navigation_controller_impl.cc
+++ b/content/browser/web_contents/navigation_controller_impl.cc
@@ -479,8 +479,8 @@ int NavigationControllerImpl::GetIndexForOffset(int offset) const {
}
void NavigationControllerImpl::TakeScreenshot() {
- static bool overscroll_enabled = !CommandLine::ForCurrentProcess()->
- HasSwitch(switches::kDisableOverscrollHistoryNavigation);
+ static bool overscroll_enabled = CommandLine::ForCurrentProcess()->
+ HasSwitch(switches::kEnableOverscrollHistoryNavigation);
if (!overscroll_enabled)
return;

Powered by Google App Engine
This is Rietveld 408576698