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

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

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.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)

Powered by Google App Engine
This is Rietveld 408576698