Index: ios/chrome/browser/ui/icons/chrome_icon.h |
diff --git a/ios/chrome/browser/ui/icons/chrome_icon.h b/ios/chrome/browser/ui/icons/chrome_icon.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..dc24d26049441c485362b6828d2d563061a77fb6 |
--- /dev/null |
+++ b/ios/chrome/browser/ui/icons/chrome_icon.h |
@@ -0,0 +1,31 @@ |
+// 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. |
+ |
+#ifndef IOS_CHROME_BROWSER_UI_ICONS_CHROME_ICON_H_ |
+#define IOS_CHROME_BROWSER_UI_ICONS_CHROME_ICON_H_ |
+ |
+#import <UIKit/UIKit.h> |
+ |
+@interface ChromeIcon : NSObject |
+ |
+// Commonly used icons. Icons that flip in RTL already have their |
+// flipsForRightToLeftLayoutDirection |
+// property set accordingly. |
++ (UIImage*)backIcon; |
++ (UIImage*)closeIcon; |
++ (UIImage*)infoIcon; |
++ (UIImage*)searchIcon; |
++ (UIImage*)chevronIcon; |
+ |
+// Returns a "template" UIBarButtonItem initialized with the given image. |
+// The returned bar button item will have its image rendering mode set to |
+// UIImageRenderingModeAlwaysTemplate and will thus take on the tint color of |
+// its container. |
++ (UIBarButtonItem*)templateBarButtonItemWithImage:(UIImage*)image |
+ target:(id)target |
+ action:(SEL)action; |
+ |
+@end |
+ |
+#endif // IOS_CHROME_BROWSER_UI_ICONS_CHROME_ICON_H_ |