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_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 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "chrome/browser/chromeos/base/locale_util.h" | 13 #include "chrome/browser/chromeos/base/locale_util.h" |
14 #include "chrome/browser/chromeos/login/screens/network_view.h" | 14 #include "chrome/browser/chromeos/login/screens/network_view.h" |
15 #include "chrome/browser/ui/webui/chromeos/login/base_screen_handler.h" | 15 #include "chrome/browser/ui/webui/chromeos/login/base_screen_handler.h" |
16 #include "ui/base/ime/chromeos/component_extension_ime_manager.h" | 16 #include "ui/base/ime/chromeos/component_extension_ime_manager.h" |
17 #include "ui/base/ime/chromeos/input_method_manager.h" | 17 #include "ui/base/ime/chromeos/input_method_manager.h" |
18 #include "ui/gfx/geometry/point.h" | 18 #include "ui/gfx/geometry/point.h" |
19 | 19 |
20 namespace chromeos { | 20 namespace chromeos { |
21 | 21 |
22 class CoreOobeActor; | 22 class CoreOobeActor; |
23 class IdleDetector; | |
24 class InputEventsBlocker; | |
25 | 23 |
26 // WebUI implementation of NetworkScreenActor. It is used to interact with | 24 // WebUI implementation of NetworkScreenActor. It is used to interact with |
27 // the welcome screen (part of the page) of the OOBE. | 25 // the welcome screen (part of the page) of the OOBE. |
28 class NetworkScreenHandler : public NetworkView, public BaseScreenHandler { | 26 class NetworkScreenHandler : public NetworkView, public BaseScreenHandler { |
29 public: | 27 public: |
30 explicit NetworkScreenHandler(CoreOobeActor* core_oobe_actor); | 28 explicit NetworkScreenHandler(CoreOobeActor* core_oobe_actor); |
31 ~NetworkScreenHandler() override; | 29 ~NetworkScreenHandler() override; |
32 | 30 |
33 private: | 31 private: |
34 // NetworkView implementation: | 32 // NetworkView implementation: |
(...skipping 27 matching lines...) Expand all Loading... |
62 | 60 |
63 // Position of the network control. | 61 // Position of the network control. |
64 gfx::Point network_control_pos_; | 62 gfx::Point network_control_pos_; |
65 | 63 |
66 DISALLOW_COPY_AND_ASSIGN(NetworkScreenHandler); | 64 DISALLOW_COPY_AND_ASSIGN(NetworkScreenHandler); |
67 }; | 65 }; |
68 | 66 |
69 } // namespace chromeos | 67 } // namespace chromeos |
70 | 68 |
71 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_NETWORK_SCREEN_HANDLER_H_ | 69 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_NETWORK_SCREEN_HANDLER_H_ |
OLD | NEW |