Home | History | Annotate | Download | only in chromeos
      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/volume_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 
     13 VolumeBubble::VolumeBubble()
     14     : SettingLevelBubble(
     15           ResourceBundle::GetSharedInstance().GetBitmapNamed(
     16               IDR_VOLUME_BUBBLE_UP_ICON),
     17           ResourceBundle::GetSharedInstance().GetBitmapNamed(
     18               IDR_VOLUME_BUBBLE_DOWN_ICON),
     19           ResourceBundle::GetSharedInstance().GetBitmapNamed(
     20               IDR_VOLUME_BUBBLE_MUTE_ICON)) {
     21 }
     22 
     23 // static
     24 VolumeBubble* VolumeBubble::GetInstance() {
     25   return Singleton<VolumeBubble>::get();
     26 }
     27 
     28 }  // namespace chromeos
     29