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

Unified Diff: ios/chrome/browser/providers/chromium_logo_controller.mm

Issue 2463463002: [ios] Adds ChromiumBrowserProvider. (Closed)
Patch Set: Created 4 years, 2 months 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 side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698