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

Side by Side Diff: chrome/browser/chromeos/login/screens/network_model.h

Issue 2649873009: cros: Fold NetworkModel into NetworkScreen (Closed)
Patch Set: Address comments Created 3 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
(Empty)
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.
4
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_MODEL_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_MODEL_H_
7
8 #include "chrome/browser/chromeos/login/screens/base_screen.h"
9
10 namespace base {
11 class ListValue;
12 }
13
14 namespace chromeos {
15
16 class BaseScreenDelegate;
17 class NetworkView;
18
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[];
27
28 explicit NetworkModel(BaseScreenDelegate* base_screen_delegate);
29 ~NetworkModel() override;
30
31 // This method is called, when view is being destroyed. Note, if model
32 // is destroyed earlier then it has to call Unbind().
33 virtual void OnViewDestroyed(NetworkView* view) = 0;
34
35 virtual std::string GetLanguageListLocale() const = 0;
36
37 virtual const base::ListValue* GetLanguageList() const = 0;
38
39 virtual void UpdateLanguageList() = 0;
40 };
41
42 } // namespace chromeos
43
44 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_MODEL_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/screens/mock_network_screen.cc ('k') | chrome/browser/chromeos/login/screens/network_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698