Index: chrome/browser/ui/cocoa/share_menu_controller.h |
diff --git a/chrome/browser/ui/cocoa/share_menu_controller.h b/chrome/browser/ui/cocoa/share_menu_controller.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..10af470487193834d25307ca7d3ef525ba1f964f |
--- /dev/null |
+++ b/chrome/browser/ui/cocoa/share_menu_controller.h |
@@ -0,0 +1,20 @@ |
+// Copyright 2017 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_BROWSER_UI_COCOA_SHARE_MENU_CONTROLLER_H_ |
+#define CHROME_BROWSER_UI_COCOA_SHARE_MENU_CONTROLLER_H_ |
+ |
+#import <Cocoa/Cocoa.h> |
+ |
+@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.
|
+ : NSObject<NSMenuDelegate, NSSharingServiceDelegate> |
+@end |
+ |
+@interface ShareMenuController (ExposedForTesting) |
+// Whether the menu should add a "More..." item that opens the |
+// Sharing Extension pref pane. |
++ (BOOL)shouldShowMoreItem; |
+@end |
+ |
+#endif // CHROME_BROWSER_UI_COCOA_SHARE_MENU_CONTROLLER_H_ |