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

Unified Diff: athena/main/athena_launcher.cc

Issue 554393008: [Athena] Simple pull to refresh implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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: athena/main/athena_launcher.cc
diff --git a/athena/main/athena_launcher.cc b/athena/main/athena_launcher.cc
index a553997b92000ebfffb6e2d0e229fd36f282accc..7b5840bf67bf97e3ae37aa97b987039c6aa5def0 100644
--- a/athena/main/athena_launcher.cc
+++ b/athena/main/athena_launcher.cc
@@ -24,6 +24,7 @@
#include "athena/wm/public/window_manager.h"
#include "base/command_line.h"
#include "base/memory/scoped_ptr.h"
+#include "content/public/common/content_switches.h"
#include "ui/app_list/app_list_switches.h"
#include "ui/aura/window_property.h"
#include "ui/aura/window_tree_host.h"
@@ -86,6 +87,9 @@ void StartAthenaEnv(scoped_refptr<base::TaskRunner> file_runner) {
command_line->AppendSwitch(app_list::switches::kEnableExperimentalAppList);
command_line->AppendSwitch(switches::kEnableOverlayScrollbar);
+ // Enable vertical overscroll.
+ command_line->AppendSwitchASCII(switches::kScrollEndEffect, "1");
+
#if defined(USE_X11)
ui::TouchFactory::SetTouchDeviceListFromCommandLine();
#endif

Powered by Google App Engine
This is Rietveld 408576698