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

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

Issue 671653002: Standardize usage of virtual/override/final in chrome/browser/ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 // so we need to know the row. 66 // so we need to know the row.
67 virtual const gfx::FontList& GetNameFontListForRow(size_t index) const = 0; 67 virtual const gfx::FontList& GetNameFontListForRow(size_t index) const = 0;
68 virtual const gfx::FontList& subtext_font_list() const = 0; 68 virtual const gfx::FontList& subtext_font_list() const = 0;
69 #endif 69 #endif
70 70
71 // Returns the index of the selected line. A line is "selected" when it is 71 // Returns the index of the selected line. A line is "selected" when it is
72 // hovered or has keyboard focus. 72 // hovered or has keyboard focus.
73 virtual int selected_line() const = 0; 73 virtual int selected_line() const = 0;
74 74
75 protected: 75 protected:
76 virtual ~AutofillPopupController() {} 76 ~AutofillPopupController() override {}
77 }; 77 };
78 78
79 } // namespace autofill 79 } // namespace autofill
80 80
81 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_CONTROLLER_H_ 81 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698