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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2013 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.
4
5 #ifndef IOS_CHROME_BROWSER_AUTOFILL_FORM_SUGGESTION_LABEL_H_
6 #define IOS_CHROME_BROWSER_AUTOFILL_FORM_SUGGESTION_LABEL_H_
7
8 #import <UIKit/UIKit.h>
9
10 #include "base/ios/weak_nsobject.h"
11 #include "base/mac/scoped_nsobject.h"
12
13 @class FormSuggestion;
14 @protocol FormSuggestionViewClient;
15
16 // Class for Autofill suggestion in the customized keyboard.
17 @interface FormSuggestionLabel : UIView
18
19 // Designated initializer. Initializes with |proposedFrame| and |client| for
20 // |suggestion|. Its width will be adjusted according to the length of
21 // |suggestion| and width in |proposedFrame| is ignored.
22 - (id)initWithSuggestion:(FormSuggestion*)suggestion
23 proposedFrame:(CGRect)proposedFrame
24 client:(id<FormSuggestionViewClient>)client;
25
26 @end
27
28 #endif // IOS_CHROME_BROWSER_AUTOFILL_FORM_SUGGESTION_LABEL_H_
OLDNEW
« 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