summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/extensions/browser_action_button.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/cocoa/extensions/browser_action_button.h')
-rw-r--r--chrome/browser/cocoa/extensions/browser_action_button.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/cocoa/extensions/browser_action_button.h b/chrome/browser/cocoa/extensions/browser_action_button.h
index 606b033..1205c80 100644
--- a/chrome/browser/cocoa/extensions/browser_action_button.h
+++ b/chrome/browser/cocoa/extensions/browser_action_button.h
@@ -42,7 +42,7 @@ extern NSString* const kBrowserActionButtonDragEndNotification;
scoped_nsobject<NSViewAnimation> moveAnimation_;
// The extension for this button. Weak.
- Extension* extension_;
+ const Extension* extension_;
// The ID of the active tab.
int tabId_;
@@ -57,7 +57,7 @@ extern NSString* const kBrowserActionButtonDragEndNotification;
}
- (id)initWithFrame:(NSRect)frame
- extension:(Extension*)extension
+ extension:(const Extension*)extension
profile:(Profile*)profile
tabId:(int)tabId;
@@ -76,7 +76,7 @@ extern NSString* const kBrowserActionButtonDragEndNotification;
- (NSImage*)compositedImage;
@property(readonly, nonatomic) BOOL isBeingDragged;
-@property(readonly, nonatomic) Extension* extension;
+@property(readonly, nonatomic) const Extension* extension;
@property(readwrite, nonatomic) int tabId;
@end