Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef IOS_PUBLIC_PROVIDER_CHROME_BROWSER_UI_LOGO_VENDOR_H_ | |
| 6 #define IOS_PUBLIC_PROVIDER_CHROME_BROWSER_UI_LOGO_VENDOR_H_ | |
| 7 | |
| 8 #import "ios/public/provider/chrome/browser/voice/logo_animation_controller.h" | |
| 9 | |
| 10 @class UIView; | |
| 11 | |
| 12 // Defines a controller whose view contains a doodle or search engine logo. | |
| 13 @protocol LogoVendor<LogoAnimationControllerOwnerOwner, NSObject> | |
|
sdefresne
2016/10/28 11:27:06
Do you need to inherit from NSObject protocol? I t
rohitrao (ping after 24h)
2016/10/28 11:31:58
I think I can get away without it, but I'd like to
| |
| 14 | |
| 15 // View that shows a doodle or a search engine logo. | |
| 16 @property(nonatomic, readonly) UIView* view; | |
| 17 | |
| 18 // Whether or not the logo should be shown. Defaults to YES. | |
| 19 @property(nonatomic, assign, getter=isShowingLogo) BOOL showingLogo; | |
| 20 | |
| 21 // Checks for a new doodle. Calling this method frequently will result in a | |
| 22 // query being issued at most once per hour. | |
| 23 - (void)fetchDoodle; | |
| 24 | |
| 25 @end | |
| 26 | |
| 27 #endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_UI_LOGO_VENDOR_H_ | |
| OLD | NEW |