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

Side by Side Diff: ios/chrome/browser/ui/util/relaxed_bounds_constraints_hittest.h

Issue 2580333003: Upstream Chrome on iOS source code [10/11]. (Closed)
Patch Set: Created 4 years 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
OLDNEW
(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_UTIL_RELAXED_BOUNDS_CONSTRAINTS_HITTEST_H_
6 #define IOS_CHROME_BROWSER_UI_UTIL_RELAXED_BOUNDS_CONSTRAINTS_HITTEST_H_
7
8 #import <Foundation/Foundation.h>
9
10 // This protocol is meant to be implemented by subclasses of UIView. It exposes
11 // a property |hitTestBoundsContraintRelaxed| that when set to YES, inform that
12 // bounds constraints on the hitTest: method shouldn't be taken into account.
13 // The implementer of that protocol must override the hitTest: method and check
14 // for that property.
15 @protocol RelaxedBoundsConstraintsHitTestSupport<NSObject>
16
17 @optional
18 @property(nonatomic, assign) BOOL hitTestBoundsContraintRelaxed;
19
20 @end
21
22 #endif // IOS_CHROME_BROWSER_UI_UTIL_RELAXED_BOUNDS_CONSTRAINTS_HITTEST_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/util/manual_text_framer_unittest.mm ('k') | ios/chrome/browser/ui/util/snapshot_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698