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_CONTEXTUAL_SEARCH_CONTEXTUAL_SEARCH_MASK_VIEW_H_ |
| 6 #define IOS_CHROME_BROWSER_UI_CONTEXTUAL_SEARCH_CONTEXTUAL_SEARCH_MASK_VIEW_H_ |
| 7 |
| 8 #import <UIKit/UIKit.h> |
| 9 |
| 10 #import "ios/chrome/browser/ui/contextual_search/contextual_search_panel_protoco
ls.h" |
| 11 |
| 12 @interface ContextualSearchMaskView |
| 13 : UIView<ContextualSearchPanelMotionObserver> |
| 14 |
| 15 // Create a mask view. It will szie itself to cover its superview, and will |
| 16 // adjust its opacity in response to the motion of the panel it observes. |
| 17 |
| 18 - (instancetype)init NS_DESIGNATED_INITIALIZER; |
| 19 |
| 20 - (instancetype)initWithCoder:(NSCoder*)aDecoder NS_UNAVAILABLE; |
| 21 |
| 22 - (instancetype)initWithFrame:(CGRect)frame NS_UNAVAILABLE; |
| 23 |
| 24 @end |
| 25 |
| 26 #endif // IOS_CHROME_BROWSER_UI_CONTEXTUAL_SEARCH_CONTEXTUAL_SEARCH_MASK_VIEW_H
_ |
OLD | NEW |