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

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

Issue 1391893003: NOT FOR REVIEW: Aura on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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_UI_AUTOFILL_AUTOFILL_POPUP_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_CONTROLLER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 base::string16* title, 59 base::string16* title,
60 base::string16* body) = 0; 60 base::string16* body) = 0;
61 61
62 // Removes the suggestion at the given index. 62 // Removes the suggestion at the given index.
63 virtual bool RemoveSuggestion(int index) = 0; 63 virtual bool RemoveSuggestion(int index) = 0;
64 64
65 #if !defined(OS_ANDROID) 65 #if !defined(OS_ANDROID)
66 // The same font can vary based on the type of data it is showing, 66 // The same font can vary based on the type of data it is showing,
67 // so we need to know the row. 67 // so we need to know the row.
68 virtual const gfx::FontList& GetValueFontListForRow(size_t index) const = 0; 68 virtual const gfx::FontList& GetValueFontListForRow(size_t index) const = 0;
69 #endif
69 virtual const gfx::FontList& GetLabelFontList() const = 0; 70 virtual const gfx::FontList& GetLabelFontList() const = 0;
70 #endif
71 71
72 // Returns the index of the selected line. A line is "selected" when it is 72 // Returns the index of the selected line. A line is "selected" when it is
73 // hovered or has keyboard focus. 73 // hovered or has keyboard focus.
74 virtual int selected_line() const = 0; 74 virtual int selected_line() const = 0;
75 75
76 protected: 76 protected:
77 ~AutofillPopupController() override {} 77 ~AutofillPopupController() override {}
78 }; 78 };
79 79
80 } // namespace autofill 80 } // namespace autofill
81 81
82 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_CONTROLLER_H_ 82 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698