| OLD | NEW |
| (Empty) |
| 1 // Copyright 2013 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 UI_APP_LIST_SIGNIN_DELEGATE_H_ | |
| 6 #define UI_APP_LIST_SIGNIN_DELEGATE_H_ | |
| 7 | |
| 8 #include "base/basictypes.h" | |
| 9 #include "base/strings/string16.h" | |
| 10 #include "ui/app_list/app_list_export.h" | |
| 11 | |
| 12 namespace app_list { | |
| 13 | |
| 14 class APP_LIST_EXPORT SigninDelegate { | |
| 15 public: | |
| 16 SigninDelegate(); | |
| 17 virtual ~SigninDelegate(); | |
| 18 | |
| 19 virtual bool NeedSignin() = 0; | |
| 20 virtual void ShowSignin() = 0; | |
| 21 virtual void OpenLearnMore() = 0; | |
| 22 virtual void OpenSettings() = 0; | |
| 23 | |
| 24 virtual base::string16 GetSigninHeading() = 0; | |
| 25 virtual base::string16 GetSigninText() = 0; | |
| 26 virtual base::string16 GetSigninButtonText() = 0; | |
| 27 virtual base::string16 GetLearnMoreLinkText() = 0; | |
| 28 virtual base::string16 GetSettingsLinkText() = 0; | |
| 29 | |
| 30 private: | |
| 31 DISALLOW_COPY_AND_ASSIGN(SigninDelegate); | |
| 32 }; | |
| 33 | |
| 34 } // namespace app_list | |
| 35 | |
| 36 #endif // UI_APP_LIST_SIGNIN_DELEGATE_H_ | |
| OLD | NEW |