summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/volume_bubble.cc
blob: ec9d365f404a52efeaca8ad3065dfdc8c73f0e40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/chromeos/volume_bubble.h"

#include "app/resource_bundle.h"
#include "base/singleton.h"
#include "grit/theme_resources.h"

namespace chromeos {

VolumeBubble::VolumeBubble()
    : SettingLevelBubble(
          ResourceBundle::GetSharedInstance().GetBitmapNamed(
              IDR_VOLUME_BUBBLE_UP_ICON),
          ResourceBundle::GetSharedInstance().GetBitmapNamed(
              IDR_VOLUME_BUBBLE_DOWN_ICON),
          ResourceBundle::GetSharedInstance().GetBitmapNamed(
              IDR_VOLUME_BUBBLE_MUTE_ICON)) {
}

// static
VolumeBubble* VolumeBubble::GetInstance() {
  return Singleton<VolumeBubble>::get();
}

}  // namespace chromeos