Index: chrome/browser/ui/views/location_bar/location_bar_view.h |
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.h b/chrome/browser/ui/views/location_bar/location_bar_view.h |
index f96e4634d95fb4c87cadd1e861efe5647bb8d52b..74b1d6bd3a9f563875d4c1fff98224a830cce179 100644 |
--- a/chrome/browser/ui/views/location_bar/location_bar_view.h |
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.h |
@@ -156,11 +156,6 @@ class LocationBarView : public LocationBar, |
// appears, not where the icons are shown). |
gfx::Point GetLocationEntryOrigin() const; |
-#if defined(OS_WIN) |
- // Invoked from SuggestedTextView when the suggested text should be committed. |
- void OnCommitSuggestedText(); |
-#endif |
- |
// Sizing functions |
virtual gfx::Size GetPreferredSize(); |
@@ -195,7 +190,7 @@ class LocationBarView : public LocationBar, |
virtual void OnAutocompleteWillClosePopup(); |
virtual void OnAutocompleteLosingFocus(gfx::NativeView view_gaining_focus); |
virtual void OnAutocompleteWillAccept(); |
- virtual bool OnCommitSuggestedText(const string16& typed_text); |
+ virtual bool OnCommitSuggestedText(bool skip_inline_autocomplete); |
virtual bool AcceptCurrentInstantPreview(); |
virtual void OnPopupBoundsChanged(const gfx::Rect& bounds); |
virtual void OnAutocompleteAccept(const GURL& url, |