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

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

Issue 2456013003: [ios] Adds the LogoVendor protocol. (Closed)
Patch Set: Fix GN. 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
« no previous file with comments | « ios/public/provider/chrome/browser/chrome_browser_provider.mm ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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_
OLDNEW
« no previous file with comments | « ios/public/provider/chrome/browser/chrome_browser_provider.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698