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

Unified Diff: views/controls/link.h

Issue 3032024: Add undeclared virtual destructors part 2... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « views/controls/combobox/native_combobox_wrapper.h ('k') | views/controls/listbox/native_listbox_wrapper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/link.h
===================================================================
--- views/controls/link.h (revision 53376)
+++ views/controls/link.h (working copy)
@@ -22,6 +22,9 @@
class LinkController {
public:
virtual void LinkActivated(Link* source, int event_flags) = 0;
+
+ protected:
+ virtual ~LinkController() {}
};
////////////////////////////////////////////////////////////////////////////////
« no previous file with comments | « views/controls/combobox/native_combobox_wrapper.h ('k') | views/controls/listbox/native_listbox_wrapper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698