OLD | NEW |
---|---|
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_POWER_MENU_BUTTON_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_STATUS_POWER_MENU_BUTTON_H_ |
6 #define CHROME_BROWSER_CHROMEOS_STATUS_POWER_MENU_BUTTON_H_ | 6 #define CHROME_BROWSER_CHROMEOS_STATUS_POWER_MENU_BUTTON_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "content/browser/sensors/provider.h" | |
sadrul
2011/06/29 20:35:10
-
| |
9 #include "chrome/browser/chromeos/cros/power_library.h" | 10 #include "chrome/browser/chromeos/cros/power_library.h" |
10 #include "chrome/browser/chromeos/status/status_area_button.h" | 11 #include "chrome/browser/chromeos/status/status_area_button.h" |
11 #include "views/controls/menu/menu_delegate.h" | 12 #include "views/controls/menu/menu_delegate.h" |
12 #include "views/controls/menu/view_menu_delegate.h" | 13 #include "views/controls/menu/view_menu_delegate.h" |
13 | 14 |
14 namespace base { | 15 namespace base { |
15 class TimeDelta; | 16 class TimeDelta; |
16 } | 17 } |
17 | 18 |
18 class SkBitmap; | 19 class SkBitmap; |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
76 // The power menu. This needs to be initialized last since it calls into | 77 // The power menu. This needs to be initialized last since it calls into |
77 // GetLabelAt() during construction. | 78 // GetLabelAt() during construction. |
78 scoped_ptr<views::MenuItemView> menu_; | 79 scoped_ptr<views::MenuItemView> menu_; |
79 | 80 |
80 DISALLOW_COPY_AND_ASSIGN(PowerMenuButton); | 81 DISALLOW_COPY_AND_ASSIGN(PowerMenuButton); |
81 }; | 82 }; |
82 | 83 |
83 } // namespace chromeos | 84 } // namespace chromeos |
84 | 85 |
85 #endif // CHROME_BROWSER_CHROMEOS_STATUS_POWER_MENU_BUTTON_H_ | 86 #endif // CHROME_BROWSER_CHROMEOS_STATUS_POWER_MENU_BUTTON_H_ |
OLD | NEW |