Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(193)

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/update_screen_handler.h

Issue 872633008: Migrate (Network)ErrorScreen to ScreenContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_UPDATE_SCREEN_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_UPDATE_SCREEN_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_UPDATE_SCREEN_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_UPDATE_SCREEN_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 16 matching lines...) Expand all
27 void Hide() override; 27 void Hide() override;
28 void Bind(UpdateModel& model) override; 28 void Bind(UpdateModel& model) override;
29 void Unbind() override; 29 void Unbind() override;
30 30
31 // BaseScreenHandler: 31 // BaseScreenHandler:
32 void DeclareLocalizedValues( 32 void DeclareLocalizedValues(
33 ::login::LocalizedValuesBuilder* builder) override; 33 ::login::LocalizedValuesBuilder* builder) override;
34 void Initialize() override; 34 void Initialize() override;
35 35
36 private: 36 private:
37 // Observer is added in OobeUI.
37 // NetworkDropdownHandler::Observer implementation: 38 // NetworkDropdownHandler::Observer implementation:
38 void OnConnectToNetworkRequested() override; 39 void OnConnectToNetworkRequested() override;
39 40
40 UpdateModel* model_; 41 UpdateModel* model_;
41 42
42 // Keeps whether screen should be shown right after initialization. 43 // Keeps whether screen should be shown right after initialization.
43 bool show_on_init_; 44 bool show_on_init_;
44 45
45 DISALLOW_COPY_AND_ASSIGN(UpdateScreenHandler); 46 DISALLOW_COPY_AND_ASSIGN(UpdateScreenHandler);
46 }; 47 };
47 48
48 } // namespace chromeos 49 } // namespace chromeos
49 50
50 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_UPDATE_SCREEN_HANDLER_H_ 51 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_UPDATE_SCREEN_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698