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

Unified Diff: chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm

Issue 9460045: Add Mac interface for installing bundles of extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 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/toolbar/toolbar_controller.mm
diff --git a/chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm b/chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm
index d22fc288204055860befcfc8b26848415e32e638..8a54ba30bd3723e39ab874de90996f83faefe33c 100644
--- a/chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm
+++ b/chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm
@@ -711,6 +711,12 @@ class NotificationBridge : public content::NotificationObserver {
return locationBarView_->GetBookmarkBubblePoint();
}
+- (NSPoint)wrenchButtonBubblePoint {
Robert Sesek 2012/02/27 18:59:20 Remove? Not called and not declared in the .h
jstritar 2012/03/05 18:05:08 Done.
+ const NSRect bounds = [wrenchButton_ bounds];
+ NSPoint anchor = NSMakePoint(NSMidX(bounds), NSMidY(bounds));
+ return [wrenchButton_ convertPoint:anchor toView:nil];
+}
+
- (CGFloat)desiredHeightForCompression:(CGFloat)compressByHeight {
// With no toolbar, just ignore the compression.
return hasToolbar_ ? kBaseToolbarHeight - compressByHeight :

Powered by Google App Engine
This is Rietveld 408576698