| 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/brightness_bubble.h" | 5 #include "chrome/browser/chromeos/brightness_bubble.h" |
| 6 | 6 |
| 7 #include "app/resource_bundle.h" | 7 #include "app/resource_bundle.h" |
| 8 #include "base/singleton.h" | 8 #include "base/singleton.h" |
| 9 #include "grit/theme_resources.h" | 9 #include "grit/theme_resources.h" |
| 10 | 10 |
| 11 namespace chromeos { | 11 namespace chromeos { |
| 12 | 12 |
| 13 BrightnessBubble::BrightnessBubble() | 13 BrightnessBubble::BrightnessBubble() |
| 14 : SettingLevelBubble( | 14 : SettingLevelBubble( |
| 15 ResourceBundle::GetSharedInstance().GetBitmapNamed( | 15 ResourceBundle::GetSharedInstance().GetBitmapNamed( |
| 16 IDR_BRIGHTNESS_BUBBLE_ICON), | 16 IDR_BRIGHTNESS_BUBBLE_ICON), |
| 17 ResourceBundle::GetSharedInstance().GetBitmapNamed( | 17 ResourceBundle::GetSharedInstance().GetBitmapNamed( |
| 18 IDR_BRIGHTNESS_BUBBLE_ICON), | 18 IDR_BRIGHTNESS_BUBBLE_ICON), |
| 19 ResourceBundle::GetSharedInstance().GetBitmapNamed( | 19 ResourceBundle::GetSharedInstance().GetBitmapNamed( |
| 20 IDR_BRIGHTNESS_BUBBLE_ICON)) { | 20 IDR_BRIGHTNESS_BUBBLE_ICON)) { |
| 21 } | 21 } |
| 22 | 22 |
| 23 // static | 23 // static |
| 24 BrightnessBubble* BrightnessBubble::instance() { | 24 BrightnessBubble* BrightnessBubble::GetInstance() { |
| 25 return Singleton<BrightnessBubble>::get(); | 25 return Singleton<BrightnessBubble>::get(); |
| 26 } | 26 } |
| 27 | 27 |
| 28 } // namespace chromeos | 28 } // namespace chromeos |
| OLD | NEW |