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 UI_APP_LIST_COCOA_APP_LIST_SIGNIN_VIEW_CONTROLLER_H_
6 #define UI_APP_LIST_COCOA_APP_LIST_SIGNIN_VIEW_CONTROLLER_H_
8 #import <Cocoa/Cocoa.h>
10 #include "ui/app_list/app_list_export.h"
16 // Controller for the app list signin page. The signin view shows a blue button
17 // that opens a browser window to conduct the signin flow. The delegate also
18 // provides UI text and actions for the view, including "Learn More" and
21 @interface SigninViewController
: NSViewController
{
23 app_list::SigninDelegate
* delegate_
; // Weak. Owned by AppListViewDelegate.
26 - (id
)initWithFrame
:(NSRect
)frame
27 cornerRadius
:(CGFloat
)cornerRadius
28 delegate
:(app_list::SigninDelegate
*)delegate
;
32 #endif // UI_APP_LIST_COCOA_APP_LIST_SIGNIN_VIEW_CONTROLLER_H_