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_UI_WEBUI_CHROMEOS_LOGIN_NETWORK_SCREEN_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_NETWORK_SCREEN_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_NETWORK_SCREEN_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_NETWORK_SCREEN_HANDLER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "chrome/browser/chromeos/login/network_screen_actor.h" | 10 #include "chrome/browser/chromeos/login/network_screen_actor.h" |
11 #include "chrome/browser/ui/webui/chromeos/login/base_screen_handler.h" | 11 #include "chrome/browser/ui/webui/chromeos/login/base_screen_handler.h" |
12 #include "ui/gfx/point.h" | 12 #include "ui/gfx/point.h" |
13 | 13 |
14 namespace base { | 14 namespace base { |
15 class ListValue; | 15 class ListValue; |
16 } | 16 } |
17 | 17 |
18 namespace views { | |
19 class Widget; | |
20 } | |
21 | |
22 namespace chromeos { | 18 namespace chromeos { |
23 | 19 |
24 // WebUI implementation of NetworkScreenActor. It is used to interact with | 20 // WebUI implementation of NetworkScreenActor. It is used to interact with |
25 // the welcome screen (part of the page) of the OOBE. | 21 // the welcome screen (part of the page) of the OOBE. |
26 class NetworkScreenHandler : public NetworkScreenActor, | 22 class NetworkScreenHandler : public NetworkScreenActor, |
27 public BaseScreenHandler { | 23 public BaseScreenHandler { |
28 public: | 24 public: |
29 NetworkScreenHandler(); | 25 NetworkScreenHandler(); |
30 virtual ~NetworkScreenHandler(); | 26 virtual ~NetworkScreenHandler(); |
31 | 27 |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 | 70 |
75 // Position of the network control. | 71 // Position of the network control. |
76 gfx::Point network_control_pos_; | 72 gfx::Point network_control_pos_; |
77 | 73 |
78 DISALLOW_COPY_AND_ASSIGN(NetworkScreenHandler); | 74 DISALLOW_COPY_AND_ASSIGN(NetworkScreenHandler); |
79 }; | 75 }; |
80 | 76 |
81 } // namespace chromeos | 77 } // namespace chromeos |
82 | 78 |
83 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_NETWORK_SCREEN_HANDLER_H_ | 79 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_NETWORK_SCREEN_HANDLER_H_ |
OLD | NEW |