Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / ui / app_list / chrome_signin_delegate.h
blob4f263ec9c1701c4201578406793d22c6a5e04179
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.
5 #ifndef CHROME_BROWSER_UI_APP_LIST_CHROME_SIGNIN_DELEGATE_H_
6 #define CHROME_BROWSER_UI_APP_LIST_CHROME_SIGNIN_DELEGATE_H_
8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "ui/app_list/signin_delegate.h"
12 class Profile;
14 class ChromeSigninDelegate : public app_list::SigninDelegate {
15 public:
16 ChromeSigninDelegate();
17 virtual ~ChromeSigninDelegate();
18 void SetProfile(Profile* profile);
20 private:
21 // Overridden from app_list::SigninDelegate:
22 virtual bool NeedSignin() OVERRIDE;
23 virtual void ShowSignin() OVERRIDE;
24 virtual void OpenLearnMore() OVERRIDE;
25 virtual void OpenSettings() OVERRIDE;
26 virtual base::string16 GetSigninHeading() OVERRIDE;
27 virtual base::string16 GetSigninText() OVERRIDE;
28 virtual base::string16 GetSigninButtonText() OVERRIDE;
29 virtual base::string16 GetLearnMoreLinkText() OVERRIDE;
30 virtual base::string16 GetSettingsLinkText() OVERRIDE;
32 Profile* profile_;
34 DISALLOW_COPY_AND_ASSIGN(ChromeSigninDelegate);
37 #endif // CHROME_BROWSER_UI_APP_LIST_CHROME_SIGNIN_DELEGATE_H_