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

Side by Side Diff: ios/chrome/browser/providers/signin/chromium_signin_resources_provider.mm

Issue 2529203002: [ios] Adds signin resources and styled text fields to ChromiumBrowserProvider. (Closed)
Patch Set: Use utility method. Created 4 years 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/signin/chromium_signin_resources_provider. h"
6
7 #import <UIKit/UIKit.h>
8
9 #import "ios/chrome/browser/ui/uikit_ui_util.h"
10
11 #if !defined(__has_feature) || !__has_feature(objc_arc)
12 #error "This file requires ARC support."
13 #endif
14
15 ChromiumSigninResourcesProvider::ChromiumSigninResourcesProvider() {}
16 ChromiumSigninResourcesProvider::~ChromiumSigninResourcesProvider() {}
17
18 // The signin code expects to receive a non-nil response to this method, even
19 // though signin is not supported by Chromium builds.
20 UIImage* ChromiumSigninResourcesProvider::GetDefaultAvatar() {
21 return ImageWithColor([UIColor lightGrayColor]);
22 }
23
24 NSString* ChromiumSigninResourcesProvider::GetLocalizedString(
25 ios::SigninStringID string_id) {
26 return @"";
27 }
OLDNEW
« no previous file with comments | « ios/chrome/browser/providers/signin/chromium_signin_resources_provider.h ('k') | ios/chrome/browser/providers/ui/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698