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_SHUTDOWN_BUTTON_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SHUTDOWN_BUTTON_H_ |
6 #define CHROME_BROWSER_CHROMEOS_SHUTDOWN_BUTTON_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SHUTDOWN_BUTTON_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "views/controls/button/text_button.h" | 9 #include "views/controls/button/text_button.h" |
10 | 10 |
11 namespace chromeos { | 11 namespace chromeos { |
12 | 12 |
13 class ShutdownButton : public views::TextButton, | 13 class ShutdownButton : public views::TextButton, |
14 public views::ButtonListener { | 14 public views::ButtonListener { |
15 public: | 15 public: |
16 ShutdownButton(); | 16 ShutdownButton(); |
(...skipping 13 matching lines...) Expand all Loading... |
30 const gfx::Point& p); | 30 const gfx::Point& p); |
31 | 31 |
32 // views::ButtonListener implementation. | 32 // views::ButtonListener implementation. |
33 virtual void ButtonPressed(views::Button* sender, const views::Event& event); | 33 virtual void ButtonPressed(views::Button* sender, const views::Event& event); |
34 | 34 |
35 DISALLOW_COPY_AND_ASSIGN(ShutdownButton); | 35 DISALLOW_COPY_AND_ASSIGN(ShutdownButton); |
36 }; | 36 }; |
37 | 37 |
38 } // namespace chromeos | 38 } // namespace chromeos |
39 | 39 |
40 #endif // CHROME_BROWSER_CHROMEOS_SHUTDOWN_BUTTON_H | 40 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SHUTDOWN_BUTTON_H |
OLD | NEW |