Index: ios/chrome/browser/ui/autofill/storage_switch_tooltip.h |
diff --git a/ios/chrome/browser/ui/autofill/storage_switch_tooltip.h b/ios/chrome/browser/ui/autofill/storage_switch_tooltip.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..652cf35cafa5e4ab8b0d3278b8ece04eb74de1f0 |
--- /dev/null |
+++ b/ios/chrome/browser/ui/autofill/storage_switch_tooltip.h |
@@ -0,0 +1,22 @@ |
+// Copyright 2015 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_AUTOFILL_STORAGE_SWITCH_TOOLTIP_H_ |
+#define IOS_CHROME_BROWSER_UI_AUTOFILL_STORAGE_SWITCH_TOOLTIP_H_ |
+ |
+#import <UIKit/UIKit.h> |
+ |
+// A label that displays the storage setting tooltip text with appropriate |
+// layout and styling. |
+@interface StorageSwitchTooltip : UILabel |
+ |
+- (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER; |
+ |
+- (instancetype)init; |
+ |
+- (instancetype)initWithCoder:(NSCoder*)aDecoder NS_UNAVAILABLE; |
+ |
+@end |
+ |
+#endif // IOS_CHROME_BROWSER_UI_AUTOFILL_STORAGE_SWITCH_TOOLTIP_H_ |