OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_POPUP_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_POPUP_CONTROLLER_H_ |
6 #define CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_POPUP_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_POPUP_CONTROLLER_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 #import "base/mac/cocoa_protocols.h" | |
11 #import "base/memory/scoped_nsobject.h" | 10 #import "base/memory/scoped_nsobject.h" |
12 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
13 #import "chrome/browser/ui/cocoa/base_bubble_controller.h" | 12 #import "chrome/browser/ui/cocoa/base_bubble_controller.h" |
14 #import "chrome/browser/ui/cocoa/info_bubble_view.h" | 13 #import "chrome/browser/ui/cocoa/info_bubble_view.h" |
15 #include "googleurl/src/gurl.h" | 14 #include "googleurl/src/gurl.h" |
16 | 15 |
17 | 16 |
18 class Browser; | 17 class Browser; |
19 class DevtoolsNotificationBridge; | 18 class DevtoolsNotificationBridge; |
20 class ExtensionHost; | 19 class ExtensionHost; |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 @interface ExtensionPopupController(TestingAPI) | 93 @interface ExtensionPopupController(TestingAPI) |
95 // Returns a weak pointer to the current popup's view. | 94 // Returns a weak pointer to the current popup's view. |
96 - (NSView*)view; | 95 - (NSView*)view; |
97 // Returns the minimum allowed size for an extension popup. | 96 // Returns the minimum allowed size for an extension popup. |
98 + (NSSize)minPopupSize; | 97 + (NSSize)minPopupSize; |
99 // Returns the maximum allowed size for an extension popup. | 98 // Returns the maximum allowed size for an extension popup. |
100 + (NSSize)maxPopupSize; | 99 + (NSSize)maxPopupSize; |
101 @end | 100 @end |
102 | 101 |
103 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_POPUP_CONTROLLER_H_ | 102 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_POPUP_CONTROLLER_H_ |
OLD | NEW |