Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 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 CHROME_BROWSER_UI_COCOA_SHARE_MENU_CONTROLLER_H_ | |
| 6 #define CHROME_BROWSER_UI_COCOA_SHARE_MENU_CONTROLLER_H_ | |
| 7 | |
| 8 #import <Cocoa/Cocoa.h> | |
| 9 | |
| 10 @interface ShareMenuController | |
|
Robert Sesek
2017/06/28 15:37:54
Class needs a comment. How should a client use thi
lgrey
2017/06/29 21:11:50
Done.
| |
| 11 : NSObject<NSMenuDelegate, NSSharingServiceDelegate> | |
| 12 @end | |
| 13 | |
| 14 @interface ShareMenuController (ExposedForTesting) | |
| 15 // Whether the menu should add a "More..." item that opens the | |
| 16 // Sharing Extension pref pane. | |
| 17 + (BOOL)shouldShowMoreItem; | |
| 18 @end | |
| 19 | |
| 20 #endif // CHROME_BROWSER_UI_COCOA_SHARE_MENU_CONTROLLER_H_ | |
| OLD | NEW |