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

Side by Side Diff: ios/chrome/browser/web/sad_tab_tab_helper_delegate.h

Issue 2807843002: Refactor creation of SadTabView into a tab helper object (Closed)
Patch Set: Minor review changes Created 3 years, 8 months 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 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 */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698