OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_LOGIN_SCREENS_NETWORK_ERROR_MODEL_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_ERROR_MODEL_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_ERROR_MODEL_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_ERROR_MODEL_H_ |
7 | 7 |
8 #include "base/callback_list.h" | 8 #include "base/callback_list.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "chrome/browser/chromeos/login/oobe_screen.h" |
10 #include "chrome/browser/chromeos/login/screens/base_screen.h" | 11 #include "chrome/browser/chromeos/login/screens/base_screen.h" |
11 #include "chrome/browser/chromeos/login/screens/network_error.h" | 12 #include "chrome/browser/chromeos/login/screens/network_error.h" |
12 #include "chrome/browser/ui/webui/chromeos/login/oobe_screen.h" | |
13 | 13 |
14 namespace chromeos { | 14 namespace chromeos { |
15 | 15 |
16 class BaseScreenDelegate; | 16 class BaseScreenDelegate; |
17 class NetworkErrorView; | 17 class NetworkErrorView; |
18 | 18 |
19 class NetworkErrorModel : public BaseScreen { | 19 class NetworkErrorModel : public BaseScreen { |
20 public: | 20 public: |
21 static const char kContextKeyErrorStateCode[]; | 21 static const char kContextKeyErrorStateCode[]; |
22 static const char kContextKeyErrorStateNetwork[]; | 22 static const char kContextKeyErrorStateNetwork[]; |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 // Shows captive portal dialog. | 77 // Shows captive portal dialog. |
78 virtual void ShowCaptivePortal() = 0; | 78 virtual void ShowCaptivePortal() = 0; |
79 | 79 |
80 // Toggles the connection pending indicator. | 80 // Toggles the connection pending indicator. |
81 virtual void ShowConnectingIndicator(bool show) = 0; | 81 virtual void ShowConnectingIndicator(bool show) = 0; |
82 }; | 82 }; |
83 | 83 |
84 } // namespace chromeos | 84 } // namespace chromeos |
85 | 85 |
86 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_ERROR_MODEL_H_ | 86 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_ERROR_MODEL_H_ |
OLD | NEW |