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/memory/scoped_nsobject.h" | 10 #import "base/mac/scoped_nsobject.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #import "chrome/browser/ui/cocoa/base_bubble_controller.h" | 12 #import "chrome/browser/ui/cocoa/base_bubble_controller.h" |
13 #import "chrome/browser/ui/cocoa/info_bubble_view.h" | 13 #import "chrome/browser/ui/cocoa/info_bubble_view.h" |
14 #include "googleurl/src/gurl.h" | 14 #include "googleurl/src/gurl.h" |
15 | 15 |
16 | 16 |
17 class Browser; | 17 class Browser; |
18 class DevtoolsNotificationBridge; | 18 class DevtoolsNotificationBridge; |
19 class ExtensionPopupContainer; | 19 class ExtensionPopupContainer; |
20 | 20 |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 @interface ExtensionPopupController(TestingAPI) | 96 @interface ExtensionPopupController(TestingAPI) |
97 // Returns a weak pointer to the current popup's view. | 97 // Returns a weak pointer to the current popup's view. |
98 - (NSView*)view; | 98 - (NSView*)view; |
99 // Returns the minimum allowed size for an extension popup. | 99 // Returns the minimum allowed size for an extension popup. |
100 + (NSSize)minPopupSize; | 100 + (NSSize)minPopupSize; |
101 // Returns the maximum allowed size for an extension popup. | 101 // Returns the maximum allowed size for an extension popup. |
102 + (NSSize)maxPopupSize; | 102 + (NSSize)maxPopupSize; |
103 @end | 103 @end |
104 | 104 |
105 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_POPUP_CONTROLLER_H_ | 105 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_POPUP_CONTROLLER_H_ |
OLD | NEW |