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

Unified Diff: chrome/browser/ui/cocoa/location_bar/button_decoration.h

Issue 12042002: Alternate NTP: Add search token to omnibox (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address review comments Created 7 years, 11 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/location_bar/button_decoration.h
diff --git a/chrome/browser/ui/cocoa/location_bar/button_decoration.h b/chrome/browser/ui/cocoa/location_bar/button_decoration.h
index 70d4708cb6d966f7ff1c6b4ed2758f937adfb25a..26b494e3013fd08673435d306a1f45dd76838217 100644
--- a/chrome/browser/ui/cocoa/location_bar/button_decoration.h
+++ b/chrome/browser/ui/cocoa/location_bar/button_decoration.h
@@ -30,7 +30,7 @@ class ButtonDecoration : public LocationBarDecoration {
bool OnMousePressedWithView(NSRect frame, NSView* control_view);
// Implement |LocationBarDecoration|.
- virtual CGFloat GetWidthForSpace(CGFloat width) OVERRIDE;
+ virtual CGFloat GetWidthForSpace(CGFloat width, CGFloat text_width) OVERRIDE;
virtual void DrawInFrame(NSRect frame, NSView* control_view) OVERRIDE;
virtual bool OnMousePressed(NSRect frame) OVERRIDE;
virtual ButtonDecoration* AsButtonDecoration() OVERRIDE;
« no previous file with comments | « chrome/browser/ui/cocoa/location_bar/bubble_decoration.mm ('k') | chrome/browser/ui/cocoa/location_bar/button_decoration.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698