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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_UPDATE_SCREEN_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_UPDATE_SCREEN_HANDLER_H_
10 #include "base/compiler_specific.h"
11 #include "chrome/browser/chromeos/login/screens/update_view.h"
12 #include "chrome/browser/ui/webui/chromeos/login/base_screen_handler.h"
16 class UpdateScreenHandler
: public UpdateView
, public BaseScreenHandler
{
18 UpdateScreenHandler();
19 ~UpdateScreenHandler() override
;
22 void PrepareToShow() override
;
25 void Bind(UpdateModel
& model
) override
;
26 void Unbind() override
;
29 void DeclareLocalizedValues(
30 ::login::LocalizedValuesBuilder
* builder
) override
;
31 void Initialize() override
;
36 // Keeps whether screen should be shown right after initialization.
39 DISALLOW_COPY_AND_ASSIGN(UpdateScreenHandler
);
42 } // namespace chromeos
44 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_UPDATE_SCREEN_HANDLER_H_