Chromium Code Reviews| 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 tab_helper_delegate_h | |
|
sdefresne
2017/04/11 08:17:39
This is not using the correct header guards. Pleas
peterlaurens
2017/04/11 21:57:27
Done! Thanks!
| |
| 6 #define tab_helper_delegate_h | |
| 7 | |
| 8 #import <Foundation/Foundation.h> | |
| 9 | |
| 10 NS_ASSUME_NONNULL_BEGIN | |
| 11 | |
| 12 class SadTabTabHelper; | |
| 13 | |
| 14 // SadTabTabHelperDelegate defines an interface that allows SadTabTabHelper | |
| 15 // instances to learn about the visibility of the Tab they are helping. | |
| 16 @protocol SadTabTabHelperDelegate<NSObject> | |
| 17 | |
| 18 // Returns whether the tab for the tab helper is visible, allowing differences | |
|
Eugene But (OOO till 7-30)
2017/04/11 15:17:00
Do you want to elaborate what |visible| means in t
peterlaurens
2017/04/11 21:57:27
Done!
| |
| 19 // in the behavior of the helper for visible vs. non-visible tabs. | |
| 20 - (BOOL)isTabVisibleForTabHelper:(SadTabTabHelper*)tabHelper; | |
| 21 | |
| 22 @end | |
| 23 | |
| 24 NS_ASSUME_NONNULL_END | |
| 25 | |
| 26 #endif /* tab_helper_delegate_h */ | |
| OLD | NEW |