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

Side by Side Diff: ui/app_list/views/signin_view.h

Issue 20656002: Add profile selector menu to app list. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove junk from list_model.h Created 7 years, 4 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 2013 The Chromium Authors. All rights reserved. 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 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 UI_APP_LIST_VIEWS_SIGNIN_VIEW_H_ 5 #ifndef UI_APP_LIST_VIEWS_SIGNIN_VIEW_H_
6 #define UI_APP_LIST_VIEWS_SIGNIN_VIEW_H_ 6 #define UI_APP_LIST_VIEWS_SIGNIN_VIEW_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 10 matching lines...) Expand all
21 class SigninDelegate; 21 class SigninDelegate;
22 22
23 // The SigninView is shown in the app list when the user needs to sign in. 23 // The SigninView is shown in the app list when the user needs to sign in.
24 class SigninView : public views::View, 24 class SigninView : public views::View,
25 public views::ButtonListener, 25 public views::ButtonListener,
26 public views::LinkListener { 26 public views::LinkListener {
27 public: 27 public:
28 SigninView(SigninDelegate* delegate, int width); 28 SigninView(SigninDelegate* delegate, int width);
29 virtual ~SigninView(); 29 virtual ~SigninView();
30 30
31 void set_delegate(SigninDelegate* delegate) { delegate_ = delegate; }
koz (OOO until 15th September) 2013/08/05 01:09:11 Is this used?
calamity 2013/08/08 04:52:12 Removed.
32
31 private: 33 private:
32 // views::ButtonListener overrides: 34 // views::ButtonListener overrides:
33 virtual void ButtonPressed(views::Button* sender, 35 virtual void ButtonPressed(views::Button* sender,
34 const ui::Event& event) OVERRIDE; 36 const ui::Event& event) OVERRIDE;
35 37
36 // views::LinkListener overrides: 38 // views::LinkListener overrides:
37 virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE; 39 virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE;
38 40
39 views::Link* learn_more_link_; 41 views::Link* learn_more_link_;
40 views::Link* settings_link_; 42 views::Link* settings_link_;
41 scoped_ptr<gfx::Font> title_font_; 43 scoped_ptr<gfx::Font> title_font_;
42 scoped_ptr<gfx::Font> text_font_; 44 scoped_ptr<gfx::Font> text_font_;
43 scoped_ptr<gfx::Font> button_font_; 45 scoped_ptr<gfx::Font> button_font_;
44 46
45 SigninDelegate* delegate_; 47 SigninDelegate* delegate_;
46 48
47 DISALLOW_COPY_AND_ASSIGN(SigninView); 49 DISALLOW_COPY_AND_ASSIGN(SigninView);
48 }; 50 };
49 51
50 } // namespace app_list 52 } // namespace app_list
51 53
52 #endif // UI_APP_LIST_VIEWS_SIGNIN_VIEW_H_ 54 #endif // UI_APP_LIST_VIEWS_SIGNIN_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698