| OLD | NEW |
| (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_COCOA_SIGNIN_VIEW_CONTROLLER_H_ | |
| 6 #define UI_APP_LIST_COCOA_SIGNIN_VIEW_CONTROLLER_H_ | |
| 7 | |
| 8 #import <Cocoa/Cocoa.h> | |
| 9 | |
| 10 #include "ui/app_list/app_list_export.h" | |
| 11 | |
| 12 namespace app_list { | |
| 13 class SigninDelegate; | |
| 14 } | |
| 15 | |
| 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 | |
| 19 // "Settings" links. | |
| 20 APP_LIST_EXPORT | |
| 21 @interface SigninViewController : NSViewController { | |
| 22 @private | |
| 23 app_list::SigninDelegate* delegate_; // Weak. Owned by AppListViewDelegate. | |
| 24 } | |
| 25 | |
| 26 - (id)initWithFrame:(NSRect)frame | |
| 27 cornerRadius:(CGFloat)cornerRadius | |
| 28 delegate:(app_list::SigninDelegate*)delegate; | |
| 29 | |
| 30 @end | |
| 31 | |
| 32 #endif // UI_APP_LIST_COCOA_SIGNIN_VIEW_CONTROLLER_H_ | |
| OLD | NEW |