Index: chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm |
diff --git a/chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm b/chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm |
index 117114741eb717d81aed0522eb734bafbcacffa0..3004f2ded899c1183eeee37f44bab18c4bc4ef37 100644 |
--- a/chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm |
+++ b/chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm |
@@ -148,6 +148,8 @@ class DevtoolsNotificationBridge : public content::NotificationObserver { |
@implementation ExtensionPopupController |
+@synthesize extensionId = extensionId_; |
+ |
- (id)initWithHost:(extensions::ExtensionViewHost*)host |
parentWindow:(NSWindow*)parentWindow |
anchoredAt:(NSPoint)anchoredAt |
@@ -166,6 +168,7 @@ class DevtoolsNotificationBridge : public content::NotificationObserver { |
parentWindow:parentWindow |
anchoredAt:anchoredAt])) { |
host_.reset(host); |
+ extensionId_ = host_->extension_id(); |
beingInspected_ = devMode; |
ignoreWindowDidResignKey_ = NO; |