Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / ios / chrome / browser / ui / size_class_support_util.h
blob83449ef9d5fc99041ccaae182c428621faf4e2a3
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
12 // image name.
13 UIImage* GetImageForSizeClass(NSString* image_name, SizeClassIdiom idiom);
15 #endif // IOS_CHROME_BROWSER_UI_SIZE_CLASS_SUPPORT_UTIL_H_