summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/brightness_observer.cc
blob: 5a878dd7e69a9ddc0cf72fb99da33ac97376f0d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 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/brightness_observer.h"

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

namespace chromeos {

void BrightnessObserver::BrightnessChanged(int level) {
  BrightnessBubble::GetInstance()->ShowBubble(level);
  VolumeBubble::GetInstance()->HideBubble();
}

}  // namespace chromeos