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

Side by Side Diff: chrome/browser/autofill/autofill_popup_view.h

Issue 10073018: Add Delete Support to New Autofill UI (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 8 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_AUTOFILL_AUTOFILL_POPUP_VIEW_H_ 5 #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_POPUP_VIEW_H_
6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_POPUP_VIEW_H_ 6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_POPUP_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 // Display the autofill popup and fill it in with the values passed in. 47 // Display the autofill popup and fill it in with the values passed in.
48 // Platform-dependent work. 48 // Platform-dependent work.
49 virtual void ShowInternal() = 0; 49 virtual void ShowInternal() = 0;
50 50
51 // Hide the popup from view. Platform-dependent work. 51 // Hide the popup from view. Platform-dependent work.
52 virtual void HideInternal() = 0; 52 virtual void HideInternal() = 0;
53 53
54 // Invalide the given row and redraw it. 54 // Invalide the given row and redraw it.
55 virtual void InvalidateRow(size_t row) = 0; 55 virtual void InvalidateRow(size_t row) = 0;
56 56
57 // Adjust the size of the popup to show the elements being held.
58 virtual void ResizePopup() = 0;
59
57 AutofillExternalDelegate* external_delegate() { return external_delegate_; } 60 AutofillExternalDelegate* external_delegate() { return external_delegate_; }
58 61
59 const std::vector<string16>& autofill_values() const { 62 const std::vector<string16>& autofill_values() const {
60 return autofill_values_; 63 return autofill_values_;
61 } 64 }
62 const std::vector<string16>& autofill_labels() const { 65 const std::vector<string16>& autofill_labels() const {
63 return autofill_labels_; 66 return autofill_labels_;
64 } 67 }
65 const std::vector<string16>& autofill_icons() const { 68 const std::vector<string16>& autofill_icons() const {
66 return autofill_icons_; 69 return autofill_icons_;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 // The location of the separator index (which separates the returned values 113 // The location of the separator index (which separates the returned values
111 // from the Autofill options). 114 // from the Autofill options).
112 int separator_index_; 115 int separator_index_;
113 116
114 // The line that is currently selected by the user. 117 // The line that is currently selected by the user.
115 // |kNoSelection| indicates that no line is currently selected. 118 // |kNoSelection| indicates that no line is currently selected.
116 int selected_line_; 119 int selected_line_;
117 }; 120 };
118 121
119 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_POPUP_VIEW_H_ 122 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_POPUP_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698