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

Unified Diff: chrome/browser/ui/panels/display_settings_provider.h

Issue 12086018: GTTF: Add missing virtual destructors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 7 years, 11 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
Index: chrome/browser/ui/panels/display_settings_provider.h
diff --git a/chrome/browser/ui/panels/display_settings_provider.h b/chrome/browser/ui/panels/display_settings_provider.h
index 61a7a9970c595e1a98f38f5b061bb07133d056e5..461d9206f5e1bb5afcf59da751be229000651a3b 100644
--- a/chrome/browser/ui/panels/display_settings_provider.h
+++ b/chrome/browser/ui/panels/display_settings_provider.h
@@ -33,17 +33,26 @@ class DisplaySettingsProvider {
class DisplayAreaObserver {
public:
virtual void OnDisplayAreaChanged(const gfx::Rect& display_area) = 0;
+
+ protected:
+ virtual ~DisplayAreaObserver() { }
};
class DesktopBarObserver {
public:
virtual void OnAutoHidingDesktopBarVisibilityChanged(
DesktopBarAlignment alignment, DesktopBarVisibility visibility) = 0;
+
+ protected:
+ virtual ~DesktopBarObserver() { }
};
class FullScreenObserver {
public:
virtual void OnFullScreenModeChanged(bool is_full_screen) = 0;
+
+ protected:
+ virtual ~FullScreenObserver() { }
};
static DisplaySettingsProvider* Create();

Powered by Google App Engine
This is Rietveld 408576698