OLD | NEW |
1 // Copyright (c) 2012 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_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 "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "chrome/browser/chromeos/dbus/power_manager_client.h" | |
11 #include "chrome/browser/chromeos/status/status_area_button.h" | 10 #include "chrome/browser/chromeos/status/status_area_button.h" |
| 11 #include "chromeos/dbus/power_manager_client.h" |
12 #include "ui/views/controls/button/menu_button_listener.h" | 12 #include "ui/views/controls/button/menu_button_listener.h" |
13 #include "ui/views/controls/menu/menu_delegate.h" | 13 #include "ui/views/controls/menu/menu_delegate.h" |
14 | 14 |
15 namespace base { | 15 namespace base { |
16 class TimeDelta; | 16 class TimeDelta; |
17 } | 17 } |
18 | 18 |
19 namespace views { | 19 namespace views { |
20 class MenuRunner; | 20 class MenuRunner; |
21 } | 21 } |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 | 78 |
79 // If non-null the menu is showing. | 79 // If non-null the menu is showing. |
80 scoped_ptr<views::MenuRunner> menu_runner_; | 80 scoped_ptr<views::MenuRunner> menu_runner_; |
81 | 81 |
82 DISALLOW_COPY_AND_ASSIGN(PowerMenuButton); | 82 DISALLOW_COPY_AND_ASSIGN(PowerMenuButton); |
83 }; | 83 }; |
84 | 84 |
85 } // namespace chromeos | 85 } // namespace chromeos |
86 | 86 |
87 #endif // CHROME_BROWSER_CHROMEOS_STATUS_POWER_MENU_BUTTON_H_ | 87 #endif // CHROME_BROWSER_CHROMEOS_STATUS_POWER_MENU_BUTTON_H_ |
OLD | NEW |