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

Side by Side Diff: ios/chrome/browser/providers/chromium_logo_controller.mm

Issue 2463463002: [ios] Adds ChromiumBrowserProvider. (Closed)
Patch Set: 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
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 #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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698