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_ERROR_SCREEN_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_ERROR_SCREEN_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_ERROR_SCREEN_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_ERROR_SCREEN_HANDLER_H_ |
7 | 7 |
8 #include "base/cancelable_callback.h" | 8 #include "base/cancelable_callback.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 } | 121 } |
122 void set_last_network_state(NetworkStateInformer::State state) { | 122 void set_last_network_state(NetworkStateInformer::State state) { |
123 last_network_state_ = state; | 123 last_network_state_ = state; |
124 } | 124 } |
125 | 125 |
126 // WebUI message handlers. | 126 // WebUI message handlers. |
127 void HandleFixCaptivePortal(const base::ListValue* args); | 127 void HandleFixCaptivePortal(const base::ListValue* args); |
128 void HandleShowCaptivePortal(const base::ListValue* args); | 128 void HandleShowCaptivePortal(const base::ListValue* args); |
129 void HandleHideCaptivePortal(const base::ListValue* args); | 129 void HandleHideCaptivePortal(const base::ListValue* args); |
130 void HandleErrorScreenUpdate(const base::ListValue* args); | 130 void HandleErrorScreenUpdate(const base::ListValue* args); |
| 131 void HandleShowLoadingTimeoutError(const base::ListValue* args); |
131 void HandleUpdateGaiaIsLocal(const base::ListValue* args); | 132 void HandleUpdateGaiaIsLocal(const base::ListValue* args); |
132 | 133 |
133 // WebUIMessageHandler implementation: | 134 // WebUIMessageHandler implementation: |
134 virtual void RegisterMessages() OVERRIDE; | 135 virtual void RegisterMessages() OVERRIDE; |
135 | 136 |
136 // BaseScreenHandler implementation: | 137 // BaseScreenHandler implementation: |
137 virtual void GetLocalizedStrings( | 138 virtual void GetLocalizedStrings( |
138 base::DictionaryValue* localized_strings) OVERRIDE; | 139 base::DictionaryValue* localized_strings) OVERRIDE; |
139 virtual void Initialize() OVERRIDE; | 140 virtual void Initialize() OVERRIDE; |
140 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; | 141 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; |
(...skipping 15 matching lines...) Expand all Loading... |
156 | 157 |
157 // NativeWindowDelegate used to get reference to NativeWindow. | 158 // NativeWindowDelegate used to get reference to NativeWindow. |
158 NativeWindowDelegate* native_window_delegate_; | 159 NativeWindowDelegate* native_window_delegate_; |
159 | 160 |
160 DISALLOW_COPY_AND_ASSIGN(ErrorScreenHandler); | 161 DISALLOW_COPY_AND_ASSIGN(ErrorScreenHandler); |
161 }; | 162 }; |
162 | 163 |
163 } // namespace chromeos | 164 } // namespace chromeos |
164 | 165 |
165 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_ERROR_SCREEN_HANDLER_H_ | 166 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_ERROR_SCREEN_HANDLER_H_ |
OLD | NEW |