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

Unified Diff: views/controls/button/button.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 | « printing/printed_pages_source.h ('k') | views/controls/button/native_button_wrapper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/button/button.h
===================================================================
--- views/controls/button/button.h (revision 53376)
+++ views/controls/button/button.h (working copy)
@@ -17,6 +17,9 @@
class ButtonListener {
public:
virtual void ButtonPressed(Button* sender, const views::Event& event) = 0;
+
+ protected:
+ virtual ~ButtonListener() {}
};
// A View representing a button. Depending on the specific type, the button
« no previous file with comments | « printing/printed_pages_source.h ('k') | views/controls/button/native_button_wrapper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698