1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "chrome/browser/chromeos/brightness_bubble.h" 6 7 #include "base/memory/singleton.h" 8 #include "grit/theme_resources.h" 9 #include "ui/base/resource/resource_bundle.h" 10 11 namespace chromeos { 12 BrightnessBubble()13BrightnessBubble::BrightnessBubble() 14 : SettingLevelBubble( 15 ResourceBundle::GetSharedInstance().GetBitmapNamed( 16 IDR_BRIGHTNESS_BUBBLE_ICON), 17 ResourceBundle::GetSharedInstance().GetBitmapNamed( 18 IDR_BRIGHTNESS_BUBBLE_ICON), 19 ResourceBundle::GetSharedInstance().GetBitmapNamed( 20 IDR_BRIGHTNESS_BUBBLE_ICON)) { 21 } 22 23 // static GetInstance()24BrightnessBubble* BrightnessBubble::GetInstance() { 25 return Singleton<BrightnessBubble>::get(); 26 } 27 28 } // namespace chromeos 29