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

Side by Side Diff: chrome/browser/ui/app_list/chrome_signin_delegate.h

Issue 309443002: Remove need to sign in to use the App Launcher. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 6 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 | Annotate | Revision Log
OLDNEW
(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 CHROME_BROWSER_UI_APP_LIST_CHROME_SIGNIN_DELEGATE_H_
6 #define CHROME_BROWSER_UI_APP_LIST_CHROME_SIGNIN_DELEGATE_H_
7
8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "ui/app_list/signin_delegate.h"
11
12 class Profile;
13
14 class ChromeSigninDelegate : public app_list::SigninDelegate {
15 public:
16 ChromeSigninDelegate();
17 virtual ~ChromeSigninDelegate();
18 void SetProfile(Profile* profile);
19
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;
31
32 Profile* profile_;
33
34 DISALLOW_COPY_AND_ASSIGN(ChromeSigninDelegate);
35 };
36
37 #endif // CHROME_BROWSER_UI_APP_LIST_CHROME_SIGNIN_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698