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

Side by Side Diff: chrome/browser/ui/autofill/autofill_popup_view_delegate.h

Issue 2727233003: Uses child views in Autofill Popup so we can trigger (Closed)
Patch Set: (int) to NSInteger Created 3 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_VIEW_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_VIEW_DELEGATE_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_VIEW_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_VIEW_DELEGATE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 virtual const gfx::RectF& element_bounds() const = 0; 53 virtual const gfx::RectF& element_bounds() const = 0;
54 54
55 // If the current popup should be displayed in RTL mode. 55 // If the current popup should be displayed in RTL mode.
56 virtual bool IsRTL() const = 0; 56 virtual bool IsRTL() const = 0;
57 57
58 // Returns the full set of autofill suggestions, if applicable. 58 // Returns the full set of autofill suggestions, if applicable.
59 virtual const std::vector<autofill::Suggestion> GetSuggestions() = 0; 59 virtual const std::vector<autofill::Suggestion> GetSuggestions() = 0;
60 60
61 #if !defined(OS_ANDROID) 61 #if !defined(OS_ANDROID)
62 // Returns elided values and labels for the given |row|. 62 // Returns elided values and labels for the given |row|.
63 virtual int GetElidedValueWidthForRow(size_t row) = 0; 63 virtual int GetElidedValueWidthForRow(int row) = 0;
64 virtual int GetElidedLabelWidthForRow(size_t row) = 0; 64 virtual int GetElidedLabelWidthForRow(int row) = 0;
65 #endif 65 #endif
66 66
67 protected: 67 protected:
68 virtual ~AutofillPopupViewDelegate() {} 68 virtual ~AutofillPopupViewDelegate() {}
69 }; 69 };
70 70
71 } // namespace autofill 71 } // namespace autofill
72 72
73 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_VIEW_DELEGATE_H_ 73 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_VIEW_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698