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

Unified Diff: base/mac/mac_util.h

Issue 1653003002: Make scrollAnimatorEnabled work on Mac like it does on other platforms (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Also allow IO ML for unit tests Created 4 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
« no previous file with comments | « no previous file | base/mac/mac_util.mm » ('j') | base/mac/mac_util.mm » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/mac/mac_util.h
diff --git a/base/mac/mac_util.h b/base/mac/mac_util.h
index 7772e883fad707e9790dfe7200d40bc02463c564..66ed06f8bdd489ff56f28d98dc6d262cb47a8fec 100644
--- a/base/mac/mac_util.h
+++ b/base/mac/mac_util.h
@@ -244,6 +244,10 @@ BASE_EXPORT bool ParseModelIdentifier(const std::string& ident,
int32_t* major,
int32_t* minor);
+// Get the system setting determining whether scroll animations (e.g. when
+// user uses home/end keys) should be enabled.
+BASE_EXPORT bool IsScrollAnimationEnabled();
+
} // namespace mac
} // namespace base
« no previous file with comments | « no previous file | base/mac/mac_util.mm » ('j') | base/mac/mac_util.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698