OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_CLOCK_MENU_BUTTON_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_STATUS_CLOCK_MENU_BUTTON_H_ |
6 #define CHROME_BROWSER_CHROMEOS_STATUS_CLOCK_MENU_BUTTON_H_ | 6 #define CHROME_BROWSER_CHROMEOS_STATUS_CLOCK_MENU_BUTTON_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/scoped_ptr.h" | 9 #include "base/scoped_ptr.h" |
10 #include "base/timer.h" | 10 #include "base/timer.h" |
11 #include "chrome/browser/chromeos/cros/system_library.h" | 11 #include "chrome/browser/chromeos/cros/system_library.h" |
12 #include "chrome/browser/chromeos/status/status_area_button.h" | 12 #include "chrome/browser/chromeos/status/status_area_button.h" |
13 #include "chrome/common/notification_observer.h" | 13 #include "chrome/common/notification_observer.h" |
14 #include "chrome/common/notification_service.h" | |
15 #include "unicode/calendar.h" | 14 #include "unicode/calendar.h" |
16 #include "views/controls/button/menu_button.h" | 15 #include "views/controls/button/menu_button.h" |
17 #include "views/controls/menu/menu_2.h" | 16 #include "views/controls/menu/menu_2.h" |
18 #include "views/controls/menu/view_menu_delegate.h" | 17 #include "views/controls/menu/view_menu_delegate.h" |
19 | 18 |
20 namespace chromeos { | 19 namespace chromeos { |
21 | 20 |
22 class StatusAreaHost; | 21 class StatusAreaHost; |
23 | 22 |
24 // The clock menu button in the status area. | 23 // The clock menu button in the status area. |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 scoped_ptr<views::Menu2> clock_menu_; | 76 scoped_ptr<views::Menu2> clock_menu_; |
78 | 77 |
79 StatusAreaHost* host_; | 78 StatusAreaHost* host_; |
80 | 79 |
81 DISALLOW_COPY_AND_ASSIGN(ClockMenuButton); | 80 DISALLOW_COPY_AND_ASSIGN(ClockMenuButton); |
82 }; | 81 }; |
83 | 82 |
84 } // namespace chromeos | 83 } // namespace chromeos |
85 | 84 |
86 #endif // CHROME_BROWSER_CHROMEOS_STATUS_CLOCK_MENU_BUTTON_H_ | 85 #endif // CHROME_BROWSER_CHROMEOS_STATUS_CLOCK_MENU_BUTTON_H_ |
OLD | NEW |