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

Side by Side Diff: ui/app_list/views/signin_view.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 UI_APP_LIST_VIEWS_SIGNIN_VIEW_H_
6 #define UI_APP_LIST_VIEWS_SIGNIN_VIEW_H_
7
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "ui/views/controls/button/button.h"
11 #include "ui/views/controls/link_listener.h"
12 #include "ui/views/view.h"
13
14 namespace app_list {
15
16 class SigninDelegate;
17
18 // The SigninView is shown in the app list when the user needs to sign in.
19 class SigninView : public views::View,
20 public views::ButtonListener,
21 public views::LinkListener {
22 public:
23 SigninView(SigninDelegate* delegate, int width);
24 virtual ~SigninView();
25
26 private:
27 // views::ButtonListener overrides:
28 virtual void ButtonPressed(views::Button* sender,
29 const ui::Event& event) OVERRIDE;
30
31 // views::LinkListener overrides:
32 virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE;
33
34 views::Link* learn_more_link_;
35 views::Link* settings_link_;
36
37 SigninDelegate* delegate_;
38
39 DISALLOW_COPY_AND_ASSIGN(SigninView);
40 };
41
42 } // namespace app_list
43
44 #endif // UI_APP_LIST_VIEWS_SIGNIN_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698