Chromium Code Reviews| Index: ios/chrome/browser/providers/chromium_logo_controller.mm |
| diff --git a/ios/chrome/browser/providers/chromium_logo_controller.mm b/ios/chrome/browser/providers/chromium_logo_controller.mm |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..cf23fff99077b42aa47f64258ba146da9ccb1ba4 |
| --- /dev/null |
| +++ b/ios/chrome/browser/providers/chromium_logo_controller.mm |
| @@ -0,0 +1,36 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#import "ios/chrome/browser/providers/chromium_logo_controller.h" |
| + |
| +#import <UIKit/UIKit.h> |
| + |
| +#include "base/mac/scoped_nsobject.h" |
| + |
| +@implementation ChromiumLogoController { |
| + base::scoped_nsobject<UIView> _view; |
| +} |
| + |
| +@synthesize showingLogo = _showingLogo; |
| + |
| +- (instancetype)init { |
| + 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.
|
| + _view.reset([[UIView alloc] init]); |
| + } |
| + return self; |
| +} |
| + |
| +- (UIView*)view { |
| + return _view; |
| +} |
| + |
| +- (void)fetchDoodle { |
| + // Do nothing. |
| +} |
| + |
| +- (id<LogoAnimationControllerOwner>)logoAnimationControllerOwner { |
| + return nil; |
| +} |
| + |
| +@end |