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

Unified Diff: chrome/browser/platform_util.h

Issue 10092017: Mac: Prevent NTP mousewheel events from being suppressed on Lion. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix grammar & style. Created 8 years, 8 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 | chrome/browser/platform_util_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/platform_util.h
diff --git a/chrome/browser/platform_util.h b/chrome/browser/platform_util.h
index 69ecf986708ae76489ca128366b212d375c80e6f..d707eab89cead625066ce2902433c9d0d3361cff 100644
--- a/chrome/browser/platform_util.h
+++ b/chrome/browser/platform_util.h
@@ -45,6 +45,13 @@ void ActivateWindow(gfx::NativeWindow window);
// whether the view has the visible attribute set.
bool IsVisible(gfx::NativeView view);
+#if defined(OS_MACOSX)
+// On 10.7+, back and forward swipe gestures can be triggered using a scroll
+// gesture, if enabled in System Preferences. This function returns true if
+// the feature is supported and enabled, and false otherwise.
+bool IsSwipeTrackingFromScrollEventsEnabled();
+#endif
+
} // platform_util
#endif // CHROME_BROWSER_PLATFORM_UTIL_H_
« no previous file with comments | « no previous file | chrome/browser/platform_util_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698