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

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

Issue 2463463002: [ios] Adds ChromiumBrowserProvider. (Closed)
Patch Set: Property. Created 4 years, 1 month 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_LOGO_VENDOR_H_ 5 #ifndef IOS_PUBLIC_PROVIDER_CHROME_BROWSER_UI_LOGO_VENDOR_H_
6 #define IOS_PUBLIC_PROVIDER_CHROME_BROWSER_UI_LOGO_VENDOR_H_ 6 #define IOS_PUBLIC_PROVIDER_CHROME_BROWSER_UI_LOGO_VENDOR_H_
7 7
8 #import "ios/public/provider/chrome/browser/voice/logo_animation_controller.h" 8 #import "ios/public/provider/chrome/browser/voice/logo_animation_controller.h"
9 9
10 @class UIView; 10 @class UIView;
11 11
12 // Defines a controller whose view contains a doodle or search engine logo. 12 // Defines a controller whose view contains a doodle or search engine logo.
13 @protocol LogoVendor<LogoAnimationControllerOwnerOwner, NSObject> 13 @protocol LogoVendor<LogoAnimationControllerOwnerOwner, NSObject>
14 14
15 // View that shows a doodle or a search engine logo. 15 // View that shows a doodle or a search engine logo.
16 @property(nonatomic, readonly) UIView* view; 16 @property(nonatomic, readonly, retain) UIView* view;
17 17
18 // Whether or not the logo should be shown. Defaults to YES. 18 // Whether or not the logo should be shown. Defaults to YES.
19 @property(nonatomic, assign, getter=isShowingLogo) BOOL showingLogo; 19 @property(nonatomic, assign, getter=isShowingLogo) BOOL showingLogo;
20 20
21 // Checks for a new doodle. Calling this method frequently will result in a 21 // Checks for a new doodle. Calling this method frequently will result in a
22 // query being issued at most once per hour. 22 // query being issued at most once per hour.
23 - (void)fetchDoodle; 23 - (void)fetchDoodle;
24 24
25 @end 25 @end
26 26
27 #endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_UI_LOGO_VENDOR_H_ 27 #endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_UI_LOGO_VENDOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698