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

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

Issue 12088037: Revert 179302 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 10 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
« no previous file with comments | « ui/app_list/views/search_box_view.cc ('k') | ui/app_list/views/signin_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "base/memory/scoped_ptr.h"
11 #include "ui/views/view.h"
12
13 namespace content {
14 class WebContents;
15 }
16
17 namespace views {
18 class WebView;
19 }
20
21 namespace app_list {
22
23 class SigninDelegate;
24
25 // The SigninView is shown in the app list when the user needs to sign in.
26 // It just shows a webview, which is prepared for signin by the signin delegate.
27 class SigninView : public views::View {
28 public:
29 SigninView(SigninDelegate* delegate);
30 virtual ~SigninView();
31
32 // Show the signin UI and begins the signin process.
33 void BeginSignin();
34
35 private:
36 scoped_ptr<content::WebContents> web_contents_;
37 views::WebView* web_view_;
38
39 SigninDelegate* delegate_;
40
41 DISALLOW_COPY_AND_ASSIGN(SigninView);
42 };
43
44 } // namespace app_list
45
46 #endif // UI_APP_LIST_VIEWS_SIGNIN_VIEW_H_
OLDNEW
« no previous file with comments | « ui/app_list/views/search_box_view.cc ('k') | ui/app_list/views/signin_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698