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

Unified Diff: chrome/browser/ui/cocoa/location_bar/image_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/image_decoration.h
diff --git a/chrome/browser/ui/cocoa/location_bar/image_decoration.h b/chrome/browser/ui/cocoa/location_bar/image_decoration.h
index 6b105abdb3480ad86b087bc1874893af48cf9f3d..907481365bafae564b8ad3fa52b563830325afc2 100644
--- a/chrome/browser/ui/cocoa/location_bar/image_decoration.h
+++ b/chrome/browser/ui/cocoa/location_bar/image_decoration.h
@@ -23,7 +23,7 @@ class ImageDecoration : public LocationBarDecoration {
NSRect GetDrawRectInFrame(NSRect frame);
// 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;
private:

Powered by Google App Engine
This is Rietveld 408576698