Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5602)

Unified Diff: chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm

Issue 670463004: Make a platform-independent ToolbarActionViewController (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698