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

Side by Side Diff: chrome/browser/ui/cocoa/gesture_utils.h

Issue 7461080: [Mac] Respect natural/inverted scroll direction on Lion when gesturing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_COCOA_GESTURE_UTILS_H_
6 #define CHROME_BROWSER_UI_COCOA_GESTURE_UTILS_H_
7
8 #include <Foundation/Foundation.h>
Mark Mentovai 2011/07/26 18:26:26 Don’t need this if you use bool below. Then this f
9
10 namespace gesture_utils {
11
12 // On Lion, Apple introduced a new gesture for navigating pages using two-finger
13 // gestures. Returns YES if two-finger gestures should be recognized.
14 BOOL RecognizeTwoFingerGestures();
15
16 // On Lion, returns YES if the scroll direction is "natural"/inverted. All other
17 // OSes will return NO.
18 BOOL IsScrollDirectionInverted();
19
20 } // namespace gesture_utils
21
22 #endif // CHROME_BROWSER_UI_COCOA_GESTURE_UTILS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_controller_private.mm ('k') | chrome/browser/ui/cocoa/gesture_utils.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698