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_observer.h" | 5 #include "chrome/browser/chromeos/brightness_observer.h" |
6 | 6 |
7 #include "chrome/browser/chromeos/brightness_bubble.h" | 7 #include "chrome/browser/chromeos/brightness_bubble.h" |
8 #include "chrome/browser/chromeos/volume_bubble.h" | 8 #include "chrome/browser/chromeos/volume_bubble.h" |
9 | 9 |
10 namespace chromeos { | 10 namespace chromeos { |
11 | 11 |
12 void BrightnessObserver::BrightnessChanged(int level) { | 12 void BrightnessObserver::BrightnessChanged(int level) { |
13 BrightnessBubble::instance()->ShowBubble(level); | 13 BrightnessBubble::GetInstance()->ShowBubble(level); |
14 VolumeBubble::instance()->HideBubble(); | 14 VolumeBubble::GetInstance()->HideBubble(); |
15 } | 15 } |
16 | 16 |
17 } // namespace chromeos | 17 } // namespace chromeos |
OLD | NEW |