OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #include "chrome/browser/chromeos/volume_bubble.h" | 5 #include "chrome/browser/chromeos/volume_bubble.h" |
6 | 6 |
7 #include "app/resource_bundle.h" | 7 #include "app/resource_bundle.h" |
8 #include "grit/theme_resources.h" | 8 #include "grit/theme_resources.h" |
9 | 9 |
10 namespace chromeos { | 10 namespace chromeos { |
11 | 11 |
12 VolumeBubble::VolumeBubble() | 12 VolumeBubble::VolumeBubble() |
13 : SettingLevelBubble( | 13 : SettingLevelBubble( |
14 ResourceBundle::GetSharedInstance().GetBitmapNamed( | 14 ResourceBundle::GetSharedInstance().GetBitmapNamed( |
15 IDR_VOLUME_BUBBLE_UP_ICON), | 15 IDR_VOLUME_BUBBLE_UP_ICON), |
16 ResourceBundle::GetSharedInstance().GetBitmapNamed( | 16 ResourceBundle::GetSharedInstance().GetBitmapNamed( |
17 IDR_VOLUME_BUBBLE_DOWN_ICON), | 17 IDR_VOLUME_BUBBLE_DOWN_ICON), |
18 ResourceBundle::GetSharedInstance().GetBitmapNamed( | 18 ResourceBundle::GetSharedInstance().GetBitmapNamed( |
19 IDR_VOLUME_BUBBLE_MUTE_ICON)) { | 19 IDR_VOLUME_BUBBLE_MUTE_ICON)) { |
20 } | 20 } |
21 | 21 |
| 22 // static |
| 23 VolumeBubble* VolumeBubble::instance() { |
| 24 return Singleton<VolumeBubble>::get(); |
| 25 } |
| 26 |
22 } // namespace chromeos | 27 } // namespace chromeos |
OLD | NEW |