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 #include "base/mac/scoped_nsobject.h" | |
| 10 | |
| 11 @implementation ChromiumLogoController { | |
| 12 base::scoped_nsobject<UIView> _view; | |
| 13 } | |
| 14 | |
| 15 @synthesize showingLogo = _showingLogo; | |
| 16 | |
| 17 - (instancetype)init { | |
| 18 if ((self = [super init])) { | |
|
sdefresne
2016/11/02 16:27:41
Since this is new code, can you convert this file
rohitrao (ping after 24h)
2016/11/02 19:10:44
Done.
| |
| 19 _view.reset([[UIView alloc] init]); | |
| 20 } | |
| 21 return self; | |
| 22 } | |
| 23 | |
| 24 - (UIView*)view { | |
| 25 return _view; | |
| 26 } | |
| 27 | |
| 28 - (void)fetchDoodle { | |
| 29 // Do nothing. | |
| 30 } | |
| 31 | |
| 32 - (id<LogoAnimationControllerOwner>)logoAnimationControllerOwner { | |
| 33 return nil; | |
| 34 } | |
| 35 | |
| 36 @end | |
| OLD | NEW |