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

Side by Side Diff: ios/public/provider/chrome/browser/ui/infobar_view_protocol.h

Issue 2544293002: ios: Cleanup class/struct forward declarations (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
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef IOS_PUBLIC_PROVIDER_CHROME_BROWSER_UI_INFOBAR_VIEW_PROTOCOL_H_ 5 #ifndef IOS_PUBLIC_PROVIDER_CHROME_BROWSER_UI_INFOBAR_VIEW_PROTOCOL_H_
6 #define IOS_PUBLIC_PROVIDER_CHROME_BROWSER_UI_INFOBAR_VIEW_PROTOCOL_H_ 6 #define IOS_PUBLIC_PROVIDER_CHROME_BROWSER_UI_INFOBAR_VIEW_PROTOCOL_H_
7 7
8 #import <CoreGraphics/CoreGraphics.h> 8 #import <CoreGraphics/CoreGraphics.h>
9 #import <Foundation/Foundation.h> 9 #import <Foundation/Foundation.h>
10 10
11 class InfoBarViewDelegate;
12 @class UIImage; 11 @class UIImage;
13 12
14 // Interface for setting up the infobar's widgets. 13 // Interface for setting up the infobar's widgets.
15 @protocol InfoBarViewProtocol 14 @protocol InfoBarViewProtocol
16 // How much of infobar is visible. The infobar is only partly visible during 15 // How much of infobar is visible. The infobar is only partly visible during
17 // showing/hiding animation. 16 // showing/hiding animation.
18 @property(nonatomic, assign) CGFloat visibleHeight; 17 @property(nonatomic, assign) CGFloat visibleHeight;
19 // Label text with links initialized with |stringAsLink:|. 18 // Label text with links initialized with |stringAsLink:|.
20 @property(nonatomic, readonly) NSString* markedLabel; 19 @property(nonatomic, readonly) NSString* markedLabel;
21 20
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 // Adds to the infobar a switch and an adjacent label. 67 // Adds to the infobar a switch and an adjacent label.
69 - (void)addSwitchWithLabel:(NSString*)label 68 - (void)addSwitchWithLabel:(NSString*)label
70 isOn:(BOOL)isOn 69 isOn:(BOOL)isOn
71 tag:(NSInteger)tag 70 tag:(NSInteger)tag
72 target:(id)target 71 target:(id)target
73 action:(SEL)action; 72 action:(SEL)action;
74 73
75 @end 74 @end
76 75
77 #endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_UI_INFOBAR_VIEW_PROTOCOL_H_ 76 #endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_UI_INFOBAR_VIEW_PROTOCOL_H_
OLDNEW
« no previous file with comments | « ios/public/provider/chrome/browser/chrome_browser_provider.h ('k') | ios/web/app/web_main_loop.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698