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_CHROMEOS_LOGIN_SCREENS_UPDATE_VIEW_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_UPDATE_VIEW_H_
8 #include "base/strings/string16.h"
14 // Interface for dependency injection between NetworkScreen and its actual
15 // representation. Owned by UpdateScreen.
18 virtual ~UpdateView() {}
20 // Prepare the contents to showing.
21 virtual void PrepareToShow() = 0;
23 // Shows the contents of the screen.
24 virtual void Show() = 0;
26 // Hides the contents of the screen.
27 virtual void Hide() = 0;
29 // Binds |model| to the view.
30 virtual void Bind(UpdateModel
& model
) = 0;
32 // Unbinds model from the view.
33 virtual void Unbind() = 0;
36 } // namespace chromeos
38 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_UPDATE_VIEW_H_