diff options
author | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-06 16:15:44 +0000 |
---|---|---|
committer | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-06 16:15:44 +0000 |
commit | 88a25539ba4d4ec8ae75777bb99b960714f1eb76 (patch) | |
tree | 59f399cd7248c920105ebf90dc17d654fc67255a /ash/system | |
parent | aaf17d57ca48b4d9d23b581357a0b476b8063ab0 (diff) | |
download | chromium_src-88a25539ba4d4ec8ae75777bb99b960714f1eb76.zip chromium_src-88a25539ba4d4ec8ae75777bb99b960714f1eb76.tar.gz chromium_src-88a25539ba4d4ec8ae75777bb99b960714f1eb76.tar.bz2 |
ash uber tray: Add some missing virtual destructors.
BUG=110130
TEST=none
Review URL: https://chromiumcodereview.appspot.com/9610012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125169 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/system')
-rw-r--r-- | ash/system/audio/tray_volume.cc | 2 | ||||
-rw-r--r-- | ash/system/brightness/tray_brightness.cc | 2 | ||||
-rw-r--r-- | ash/system/settings/tray_settings.cc | 2 | ||||
-rw-r--r-- | ash/system/user/tray_user.cc | 4 |
4 files changed, 10 insertions, 0 deletions
diff --git a/ash/system/audio/tray_volume.cc b/ash/system/audio/tray_volume.cc index 3fa712e..c52ec7e 100644 --- a/ash/system/audio/tray_volume.cc +++ b/ash/system/audio/tray_volume.cc @@ -111,6 +111,8 @@ class VolumeView : public views::View, AddChildView(slider_); } + virtual ~VolumeView() {} + void SetVolumeLevel(float percent) { slider_->SetValue(percent); } diff --git a/ash/system/brightness/tray_brightness.cc b/ash/system/brightness/tray_brightness.cc index 52206c3..1a05fdd 100644 --- a/ash/system/brightness/tray_brightness.cc +++ b/ash/system/brightness/tray_brightness.cc @@ -48,6 +48,8 @@ class BrightnessView : public views::View, AddChildView(slider_); } + virtual ~BrightnessView() {} + void SetBrightnessLevel(float percent) { slider_->SetValue(percent); } diff --git a/ash/system/settings/tray_settings.cc b/ash/system/settings/tray_settings.cc index 218ab7a..482834b 100644 --- a/ash/system/settings/tray_settings.cc +++ b/ash/system/settings/tray_settings.cc @@ -38,6 +38,8 @@ class SettingsView : public views::View { AddChildView(label_); } + virtual ~SettingsView() {} + // Overridden from views::View. virtual bool OnMousePressed(const views::MouseEvent& event) OVERRIDE { ash::Shell::GetInstance()->tray_delegate()->ShowSettings(); diff --git a/ash/system/user/tray_user.cc b/ash/system/user/tray_user.cc index 912f92f..8d34efe 100644 --- a/ash/system/user/tray_user.cc +++ b/ash/system/user/tray_user.cc @@ -31,6 +31,8 @@ class TrayButton : public views::TextButton { set_alignment(ALIGN_CENTER); } + virtual ~TrayButton() {} + private: // Overridden from views::View. virtual gfx::Size GetPreferredSize() OVERRIDE { @@ -124,6 +126,8 @@ class UserView : public views::View, AddChildView(button_container); } + virtual ~UserView() {} + private: // Overridden from views::ButtonListener. virtual void ButtonPressed(views::Button* sender, |