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

Unified Diff: ash/system/chromeos/tray_display.h

Issue 11039034: Move ash/system/network to ash/system/chromeos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 2 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 | « ash/system/chromeos/network/tray_sms.cc ('k') | ash/system/chromeos/tray_display.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/chromeos/tray_display.h
diff --git a/ash/system/tray_display.h b/ash/system/chromeos/tray_display.h
similarity index 86%
rename from ash/system/tray_display.h
rename to ash/system/chromeos/tray_display.h
index e969e76b8a40a0c887f4b5e56082425959b1eda2..77994b62b2cfd8750325cffb66c8416bd0b89785 100644
--- a/ash/system/tray_display.h
+++ b/ash/system/chromeos/tray_display.h
@@ -2,16 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef ASH_SYSTEM_TRAY_DISPLAY_H_
-#define ASH_SYSTEM_TRAY_DISPLAY_H_
+#ifndef ASH_SYSTEM_CHROMEOS_TRAY_DISPLAY_H_
+#define ASH_SYSTEM_CHROMEOS_TRAY_DISPLAY_H_
#include "ash/system/tray/system_tray_item.h"
#include "base/memory/scoped_ptr.h"
#include "ui/aura/display_observer.h"
-#if defined(OS_CHROMEOS)
#include "chromeos/display/output_configurator.h"
-#endif
namespace views {
class View;
@@ -23,9 +21,7 @@ namespace internal {
class DisplayView;
class TrayDisplay : public SystemTrayItem,
-#if defined(OS_CHROMEOS)
public chromeos::OutputConfigurator::Observer,
-#endif
public aura::DisplayObserver {
public:
TrayDisplay();
@@ -41,10 +37,8 @@ class TrayDisplay : public SystemTrayItem,
virtual void OnDisplayAdded(const gfx::Display& new_display) OVERRIDE;
virtual void OnDisplayRemoved(const gfx::Display& old_display) OVERRIDE;
-#if defined(OS_CHROMEOS)
// Overridden from chromeos::OutputConfigurator::Observer
virtual void OnDisplayModeChanged() OVERRIDE;
-#endif
DisplayView* default_;
@@ -54,4 +48,4 @@ class TrayDisplay : public SystemTrayItem,
} // namespace internal
} // namespace ash
-#endif // ASH_SYSTEM_TRAY_DISPLAY_H_
+#endif // ASH_SYSTEM_CHROMEOS_TRAY_DISPLAY_H_
« no previous file with comments | « ash/system/chromeos/network/tray_sms.cc ('k') | ash/system/chromeos/tray_display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698