OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 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_TABS_TAB_HEADERS_DELEGATE_H_ |
| 6 #define IOS_CHROME_BROWSER_TABS_TAB_HEADERS_DELEGATE_H_ |
| 7 |
| 8 #import <UIKit/UIKit.h> |
| 9 |
| 10 // A protocol implemented by a delegate of Tab that handles the headers above a |
| 11 // tab. |
| 12 @protocol TabHeadersDelegate |
| 13 |
| 14 // Called to retrieve the height of the header view above |tab|. |
| 15 - (CGFloat)headerHeightForTab:(Tab*)tab; |
| 16 |
| 17 @end |
| 18 |
| 19 #endif // IOS_CHROME_BROWSER_TABS_TAB_HEADERS_DELEGATE_H_ |
OLD | NEW |