Update broken references to image assets
[chromium-blink-merge.git] / chrome / browser / chromeos / login / screens / update_model.h
blob1d972eea6f1ba7cdf70a5a37ff18f6c8d82a3764
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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_UPDATE_MODEL_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_UPDATE_MODEL_H_
8 #include "chrome/browser/chromeos/login/screens/base_screen.h"
10 namespace base {
11 class ListValue;
14 namespace chromeos {
16 class BaseScreenDelegate;
17 class UpdateView;
19 class UpdateModel : public BaseScreen {
20 public:
21 static const char kUserActionCancelUpdateShortcut[];
22 static const char kContextKeyEstimatedTimeLeftSec[];
23 static const char kContextKeyShowEstimatedTimeLeft[];
24 static const char kContextKeyUpdateMessage[];
25 static const char kContextKeyShowCurtain[];
26 static const char kContextKeyShowProgressMessage[];
27 static const char kContextKeyProgress[];
28 static const char kContextKeyProgressMessage[];
29 static const char kContextKeyCancelUpdateShortcutEnabled[];
31 explicit UpdateModel(BaseScreenDelegate* base_screen_delegate);
32 ~UpdateModel() override;
34 // BaseScreen implementation:
35 std::string GetName() const override;
37 // This method is called, when view is being destroyed. Note, if model
38 // is destroyed earlier then it has to call Unbind().
39 virtual void OnViewDestroyed(UpdateView* view) = 0;
42 } // namespace chromeos
44 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_UPDATE_MODEL_H_