Update broken references to image assets
[chromium-blink-merge.git] / chrome / browser / chromeos / login / screens / network_model.h
blob8e3035fc8af2e9f258cf96075e49853ea28f1878
1 // Copyright 2014 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_NETWORK_MODEL_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_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 NetworkView;
19 class NetworkModel : public BaseScreen {
20 public:
21 static const char kUserActionContinueButtonClicked[];
22 static const char kUserActionConnectDebuggingFeaturesClicked[];
23 static const char kContextKeyLocale[];
24 static const char kContextKeyInputMethod[];
25 static const char kContextKeyTimezone[];
26 static const char kContextKeyContinueButtonEnabled[];
28 explicit NetworkModel(BaseScreenDelegate* base_screen_delegate);
29 ~NetworkModel() override;
31 // BaseScreen implementation:
32 std::string GetName() const override;
34 // This method is called, when view is being destroyed. Note, if model
35 // is destroyed earlier then it has to call Unbind().
36 virtual void OnViewDestroyed(NetworkView* view) = 0;
38 virtual std::string GetLanguageListLocale() const = 0;
40 virtual const base::ListValue* GetLanguageList() const = 0;
42 virtual void UpdateLanguageList() = 0;
45 } // namespace chromeos
47 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_MODEL_H_