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

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

Issue 2549373005: cros: Refactor of BaseScreen::GetName to BaseScreen::screen_id. (Closed)
Patch Set: Nits Created 3 years, 11 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_MODEL_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_MODEL_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_MODEL_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_MODEL_H_
7 7
8 #include "chrome/browser/chromeos/login/screens/base_screen.h" 8 #include "chrome/browser/chromeos/login/screens/base_screen.h"
9 9
10 namespace base { 10 namespace base {
(...skipping 10 matching lines...) Expand all
21 static const char kUserActionContinueButtonClicked[]; 21 static const char kUserActionContinueButtonClicked[];
22 static const char kUserActionConnectDebuggingFeaturesClicked[]; 22 static const char kUserActionConnectDebuggingFeaturesClicked[];
23 static const char kContextKeyLocale[]; 23 static const char kContextKeyLocale[];
24 static const char kContextKeyInputMethod[]; 24 static const char kContextKeyInputMethod[];
25 static const char kContextKeyTimezone[]; 25 static const char kContextKeyTimezone[];
26 static const char kContextKeyContinueButtonEnabled[]; 26 static const char kContextKeyContinueButtonEnabled[];
27 27
28 explicit NetworkModel(BaseScreenDelegate* base_screen_delegate); 28 explicit NetworkModel(BaseScreenDelegate* base_screen_delegate);
29 ~NetworkModel() override; 29 ~NetworkModel() override;
30 30
31 // BaseScreen implementation:
32 std::string GetName() const override;
33
34 // This method is called, when view is being destroyed. Note, if model 31 // This method is called, when view is being destroyed. Note, if model
35 // is destroyed earlier then it has to call Unbind(). 32 // is destroyed earlier then it has to call Unbind().
36 virtual void OnViewDestroyed(NetworkView* view) = 0; 33 virtual void OnViewDestroyed(NetworkView* view) = 0;
37 34
38 virtual std::string GetLanguageListLocale() const = 0; 35 virtual std::string GetLanguageListLocale() const = 0;
39 36
40 virtual const base::ListValue* GetLanguageList() const = 0; 37 virtual const base::ListValue* GetLanguageList() const = 0;
41 38
42 virtual void UpdateLanguageList() = 0; 39 virtual void UpdateLanguageList() = 0;
43 }; 40 };
44 41
45 } // namespace chromeos 42 } // namespace chromeos
46 43
47 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_MODEL_H_ 44 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_MODEL_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/screens/network_error_model.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