Index: chrome/browser/chromeos/brightness_observer.cc |
diff --git a/chrome/browser/chromeos/brightness_observer.cc b/chrome/browser/chromeos/brightness_observer.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f501b2a4bd59efbb796dd7f16dc01f4d15e263a5 |
--- /dev/null |
+++ b/chrome/browser/chromeos/brightness_observer.cc |
@@ -0,0 +1,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::instance()->ShowBubble(level); |
+ VolumeBubble::instance()->HideBubble(); |
+} |
+ |
+} // namespace chromeos |