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

Unified Diff: chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_unittest.mm

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/autocomplete_text_field_unittest.mm
diff --git a/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_unittest.mm b/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_unittest.mm
index 81cf1376c58ff19c2a9a8a270d600e33b26ec4f1..7bd33347a8623334662c889bd90e48f3b19e20f9 100644
--- a/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_unittest.mm
+++ b/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_unittest.mm
@@ -30,7 +30,9 @@ namespace {
class MockDecoration : public LocationBarDecoration {
public:
- virtual CGFloat GetWidthForSpace(CGFloat width) { return 20.0; }
+ virtual CGFloat GetWidthForSpace(CGFloat width, CGFloat text_width) {
+ return 20.0;
+ }
virtual void DrawInFrame(NSRect frame, NSView* control_view) { ; }
MOCK_METHOD0(AcceptsMousePress, bool());

Powered by Google App Engine
This is Rietveld 408576698