summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/toolbar_controller.h
diff options
context:
space:
mode:
authorshess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-25 00:47:03 +0000
committershess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-25 00:47:03 +0000
commit0407b5c4a9af9baf7f82caaf86b04299c2d5a9fe (patch)
tree12c79a16409b08c0d6b11b30d37231062663a2f1 /chrome/browser/cocoa/toolbar_controller.h
parentdf4cd1577cbd126d827a72cb0a15dcbe38a62a8b (diff)
downloadchromium_src-0407b5c4a9af9baf7f82caaf86b04299c2d5a9fe.zip
chromium_src-0407b5c4a9af9baf7f82caaf86b04299c2d5a9fe.tar.gz
chromium_src-0407b5c4a9af9baf7f82caaf86b04299c2d5a9fe.tar.bz2
[Mac] Remove knowledge of AutocompleteTextField from ToolbarController.
Concentrate the calculation in the location bar. Was going to do this in rewiring omnibox decorations, pulled it out before creating cocoa/location_bar/ subdir. BUG=none TEST=none Review URL: http://codereview.chromium.org/2846030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50797 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/toolbar_controller.h')
-rw-r--r--chrome/browser/cocoa/toolbar_controller.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/browser/cocoa/toolbar_controller.h b/chrome/browser/cocoa/toolbar_controller.h
index bc14f1b..313ef4e 100644
--- a/chrome/browser/cocoa/toolbar_controller.h
+++ b/chrome/browser/cocoa/toolbar_controller.h
@@ -138,10 +138,9 @@ class WrenchMenuModel;
// ignored. This changes the behavior of other methods, like |-view|.
- (void)setHasToolbar:(BOOL)toolbar hasLocationBar:(BOOL)locBar;
-// The bookmark bubble (when you click the star or hit Command-d)
-// needs to know where to go. Somewhere near the star icon seems like
-// a good start.
-- (NSRect)starIconInWindowCoordinates;
+// Point on the star icon for the bookmark bubble to be - in the
+// associated window's coordinate system.
+- (NSPoint)bookmarkBubblePoint;
// Returns the desired toolbar height for the given compression factor.
- (CGFloat)desiredHeightForCompression:(CGFloat)compressByHeight;