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 #import "ios/chrome/browser/providers/chromium_logo_controller.h" | |
| 6 | |
| 7 #import <UIKit/UIKit.h> | |
| 8 | |
| 9 #if !defined(__has_feature) || !__has_feature(objc_arc) | |
| 10 #error "This file requires ARC support." | |
| 11 #endif | |
| 12 | |
| 13 @implementation ChromiumLogoController | |
| 14 | |
| 15 @synthesize showingLogo = _showingLogo; | |
| 16 @synthesize view = _view; | |
| 17 | |
| 18 - (instancetype)init { | |
| 19 if ((self = [super init])) { | |
| 20 _view = [[UIView alloc] init]; | |
| 21 } | |
| 22 return self; | |
| 23 } | |
| 24 | |
| 25 - (UIView*)view { | |
|
sdefresne
2016/11/03 07:56:49
Remove as you already synthesize this property.
| |
| 26 return _view; | |
| 27 } | |
| 28 | |
| 29 - (void)fetchDoodle { | |
| 30 // Do nothing. | |
| 31 } | |
| 32 | |
| 33 - (id<LogoAnimationControllerOwner>)logoAnimationControllerOwner { | |
| 34 return nil; | |
| 35 } | |
| 36 | |
| 37 @end | |
| OLD | NEW |