| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_CHROMEOS_STATUS_STATUS_AREA_VIEW_CHROMEOS_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_STATUS_STATUS_AREA_VIEW_CHROMEOS_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_STATUS_STATUS_AREA_VIEW_CHROMEOS_H_ | 6 #define CHROME_BROWSER_CHROMEOS_STATUS_STATUS_AREA_VIEW_CHROMEOS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "chrome/browser/chromeos/status/status_area_view.h" | 9 #include "chrome/browser/chromeos/status/status_area_view.h" |
| 10 | 10 |
| 11 #include "chrome/browser/chromeos/dbus/power_manager_client.h" | |
| 12 #include "chrome/browser/chromeos/system/timezone_settings.h" | 11 #include "chrome/browser/chromeos/system/timezone_settings.h" |
| 13 #include "chrome/browser/chromeos/view_ids.h" | 12 #include "chrome/browser/chromeos/view_ids.h" |
| 13 #include "chromeos/dbus/power_manager_client.h" |
| 14 | 14 |
| 15 class ClockMenuButton; | 15 class ClockMenuButton; |
| 16 | 16 |
| 17 namespace chromeos { | 17 namespace chromeos { |
| 18 | 18 |
| 19 class StatusAreaViewChromeos : public StatusAreaView, | 19 class StatusAreaViewChromeos : public StatusAreaView, |
| 20 public PowerManagerClient::Observer, | 20 public PowerManagerClient::Observer, |
| 21 public system::TimezoneSettings::Observer { | 21 public system::TimezoneSettings::Observer { |
| 22 public: | 22 public: |
| 23 // The type of screen the host window is on. | 23 // The type of screen the host window is on. |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 static ScreenMode screen_mode_; | 65 static ScreenMode screen_mode_; |
| 66 | 66 |
| 67 void UpdateClockText(); | 67 void UpdateClockText(); |
| 68 | 68 |
| 69 DISALLOW_COPY_AND_ASSIGN(StatusAreaViewChromeos); | 69 DISALLOW_COPY_AND_ASSIGN(StatusAreaViewChromeos); |
| 70 }; | 70 }; |
| 71 | 71 |
| 72 } // namespace chromeos | 72 } // namespace chromeos |
| 73 | 73 |
| 74 #endif // CHROME_BROWSER_CHROMEOS_STATUS_STATUS_AREA_VIEW_CHROMEOS_H_ | 74 #endif // CHROME_BROWSER_CHROMEOS_STATUS_STATUS_AREA_VIEW_CHROMEOS_H_ |
| OLD | NEW |