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

Unified Diff: ios/chrome/browser/autofill/form_suggestion_label.h

Issue 1022463002: [iOS] Upstream files in //ios/chrome/browser/autofill (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 9 months 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 side-by-side diff with in-line comments
Download patch
Index: ios/chrome/browser/autofill/form_suggestion_label.h
diff --git a/ios/chrome/browser/autofill/form_suggestion_label.h b/ios/chrome/browser/autofill/form_suggestion_label.h
new file mode 100644
index 0000000000000000000000000000000000000000..44a784b1ae6175d417fe724e190e9ea811e8899f
--- /dev/null
+++ b/ios/chrome/browser/autofill/form_suggestion_label.h
@@ -0,0 +1,28 @@
+// Copyright 2013 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_AUTOFILL_FORM_SUGGESTION_LABEL_H_
+#define IOS_CHROME_BROWSER_AUTOFILL_FORM_SUGGESTION_LABEL_H_
+
+#import <UIKit/UIKit.h>
+
+#include "base/ios/weak_nsobject.h"
+#include "base/mac/scoped_nsobject.h"
+
+@class FormSuggestion;
+@protocol FormSuggestionViewClient;
+
+// Class for Autofill suggestion in the customized keyboard.
+@interface FormSuggestionLabel : UIView
+
+// Designated initializer. Initializes with |proposedFrame| and |client| for
+// |suggestion|. Its width will be adjusted according to the length of
+// |suggestion| and width in |proposedFrame| is ignored.
+- (id)initWithSuggestion:(FormSuggestion*)suggestion
+ proposedFrame:(CGRect)proposedFrame
+ client:(id<FormSuggestionViewClient>)client;
+
+@end
+
+#endif // IOS_CHROME_BROWSER_AUTOFILL_FORM_SUGGESTION_LABEL_H_
« no previous file with comments | « ios/chrome/browser/autofill/form_suggestion_controller.mm ('k') | ios/chrome/browser/autofill/form_suggestion_label.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698