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

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

Issue 2511043002: [Mac] Omnibox icons active states (Closed)
Patch Set: Cleaned up Created 4 years, 1 month 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.h
diff --git a/chrome/browser/ui/cocoa/toolbar/toolbar_controller.h b/chrome/browser/ui/cocoa/toolbar/toolbar_controller.h
index 3297ebe4f1b6406a4fd666d95b5d78ef8abf055d..86b62a893fe863f7eeb289563936501281613003 100644
--- a/chrome/browser/ui/cocoa/toolbar/toolbar_controller.h
+++ b/chrome/browser/ui/cocoa/toolbar/toolbar_controller.h
@@ -24,6 +24,7 @@ class Browser;
class BrowserActionsContainerViewSizeDelegate;
@class BrowserActionsController;
class CommandUpdater;
+class LocationBarDecoration;
class LocationBarViewMac;
@class MenuButton;
class Profile;
@@ -165,8 +166,14 @@ class NotificationBridge;
// Point on the save credit card icon for the save credit card bubble.
- (NSPoint)saveCreditCardBubblePoint;
-// Point on the translate icon for the Translate bubble.
-- (NSPoint)translateBubblePoint;
+// Point on the given |decoration| for its associated bubble.
+- (NSPoint)bubblePointForDecoration:(LocationBarDecoration*)decoration;
+
+// Returns the star icon decoration in the omnibox.
+- (LocationBarDecoration*)bookmarkDecoration;
Robert Sesek 2016/11/21 19:28:23 Per the previous comment, by injecting the Locatio
spqchan 2016/11/23 22:58:54 The bubble classes still need to access the decora
+
+// Returns the translate icon decoration in the omnibox.
+- (LocationBarDecoration*)translateDecoration;
// Returns the desired toolbar height for the given compression factor.
- (CGFloat)desiredHeightForCompression:(CGFloat)compressByHeight;

Powered by Google App Engine
This is Rietveld 408576698