OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 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 IOS_CHROME_BROWSER_UI_SIDE_SWIPE_SIDE_SWIPE_UTIL_H_ |
| 6 #define IOS_CHROME_BROWSER_UI_SIDE_SWIPE_SIDE_SWIPE_UTIL_H_ |
| 7 |
| 8 #import <UIKit/UIKit.h> |
| 9 |
| 10 // If swiping to the right (or left in RTL). |
| 11 BOOL IsSwipingBack(UISwipeGestureRecognizerDirection direction); |
| 12 |
| 13 // If swiping to the left (or right in RTL). |
| 14 BOOL IsSwipingForward(UISwipeGestureRecognizerDirection direction); |
| 15 |
| 16 #endif // IOS_CHROME_BROWSER_UI_SIDE_SWIPE_SIDE_SWIPE_UTIL_H_ |
OLD | NEW |