Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2987)

Unified Diff: ash/system/brightness/tray_brightness.cc

Issue 9585028: Mac Aura fails compile and some tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ash/wm/compact_layout_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/brightness/tray_brightness.cc
diff --git a/ash/system/brightness/tray_brightness.cc b/ash/system/brightness/tray_brightness.cc
index 655c373be8bb2bbd0f7e5cd962ee00afb0a4c8f0..035d27ab4a1e7e159301a0f52e5ec4a5e53588a5 100644
--- a/ash/system/brightness/tray_brightness.cc
+++ b/ash/system/brightness/tray_brightness.cc
@@ -62,6 +62,7 @@ class BrightnessView : public views::View,
// TODO(sad|davemoore): This isn't correct, since we are unable to pass on
// the amount the brightness should be increased/decreased.
// http://crosbug.com/26935
+#if !defined(OS_MACOSX)
ash::Shell* shell = ash::Shell::GetInstance();
if (value < old_value) {
shell->accelerator_controller()->brightness_control_delegate()->
@@ -70,6 +71,7 @@ class BrightnessView : public views::View,
shell->accelerator_controller()->brightness_control_delegate()->
HandleBrightnessUp(ui::Accelerator());
}
+#endif // OS_MACOSX
}
views::Slider* slider_;
« no previous file with comments | « no previous file | ash/wm/compact_layout_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698