1 // Copyright 2015 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.
5 #ifndef IOS_CHROME_BROWSER_UI_SIZE_CLASS_SUPPORT_UTIL_H_
6 #define IOS_CHROME_BROWSER_UI_SIZE_CLASS_SUPPORT_UTIL_H_
8 #import "ios/chrome/browser/ui/UIView+SizeClassSupport.h"
10 // Returns the image with |image_name| for |idiom|. This method assumes that
11 // images for use with SizeClassIdiom::REGULAR have "_large" as a suffix for the
13 UIImage
* GetImageForSizeClass(NSString
* image_name
, SizeClassIdiom idiom
);
15 #endif // IOS_CHROME_BROWSER_UI_SIZE_CLASS_SUPPORT_UTIL_H_