summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/extensions/extension_popup_controller.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/cocoa/extensions/extension_popup_controller.h')
-rw-r--r--chrome/browser/cocoa/extensions/extension_popup_controller.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/extensions/extension_popup_controller.h b/chrome/browser/cocoa/extensions/extension_popup_controller.h
index f6858bd..0e88cb0 100644
--- a/chrome/browser/cocoa/extensions/extension_popup_controller.h
+++ b/chrome/browser/cocoa/extensions/extension_popup_controller.h
@@ -55,4 +55,13 @@ class ExtensionHost;
arrowLocation:(BubbleArrowLocation)arrowLocation;
@end
+@interface ExtensionPopupController(TestingAPI)
+// Returns a weak pointer to the current popup's view.
+- (NSView*)view;
+// Returns the minimum allowed size for an extension popup.
++ (NSSize)minPopupSize;
+// Returns the maximum allowed size for an extension popup.
++ (NSSize)maxPopupSize;
+@end
+
#endif // CHROME_BROWSER_COCOA_EXTENSIONS_EXTENSION_POPUP_CONTROLLER_H_