Index: chrome/browser/ui/cocoa/extensions/extension_popup_controller.h |
diff --git a/chrome/browser/ui/cocoa/extensions/extension_popup_controller.h b/chrome/browser/ui/cocoa/extensions/extension_popup_controller.h |
index 207778427d6bd0d2e4477f06ba34fb83a2d1cd4f..7ce70d3d7b28a0a52891089965c4781922c47fc0 100644 |
--- a/chrome/browser/ui/cocoa/extensions/extension_popup_controller.h |
+++ b/chrome/browser/ui/cocoa/extensions/extension_popup_controller.h |
@@ -6,6 +6,7 @@ |
#define CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_POPUP_CONTROLLER_H_ |
#import <Cocoa/Cocoa.h> |
+#include <string> |
#include "base/memory/scoped_ptr.h" |
#import "chrome/browser/ui/cocoa/base_bubble_controller.h" |
@@ -48,6 +49,8 @@ class ExtensionViewHost; |
scoped_ptr<DevtoolsNotificationBridge> notificationBridge_; |
scoped_ptr<ExtensionPopupContainer> container_; |
+ std::string extensionId_; |
+ |
// Whether the popup has a devtools window attached to it. |
BOOL beingInspected_; |
@@ -94,6 +97,9 @@ class ExtensionViewHost; |
// Set whether the popup is being inspected or not. If it is being inspected |
// it will not be hidden when it loses focus. |
- (void)setBeingInspected:(BOOL)beingInspected; |
+ |
+@property(readonly, nonatomic) std::string extensionId; |
+ |
@end |
@interface ExtensionPopupController(TestingAPI) |