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

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

Issue 2232863002: Remove search::GetSearchTerms since it always returns empty string (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_query_extract
Patch Set: Android Created 4 years, 4 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.h
diff --git a/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.h b/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.h
index 1c09fd58e70fc0caf75bbdbd796d12169ee8b2f9..142f9c13cb3f33600f2e58a0421cb0e5eb84e015 100644
--- a/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.h
+++ b/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.h
@@ -53,12 +53,6 @@ class AutocompleteTextFieldObserver {
// |pboard|.
virtual void CopyToPasteboard(NSPasteboard* pboard) = 0;
- // Returns true if the Show URL option should be available.
- virtual bool ShouldEnableShowURL() = 0;
-
- // Shows the underlying URL. See OmniboxView::ShowURL().
- virtual void ShowURL() = 0;
-
// Returns true if the current clipboard text supports paste and go
// (or paste and search).
virtual bool CanPasteAndGo() = 0;
@@ -113,9 +107,6 @@ class AutocompleteTextFieldObserver {
// Called before the text field handles a mouse down event.
virtual void OnMouseDown(NSInteger button_number) = 0;
- // Returns true if mouse down should select all.
- virtual bool ShouldSelectAllOnMouseDown() = 0;
-
protected:
virtual ~AutocompleteTextFieldObserver() {}
};

Powered by Google App Engine
This is Rietveld 408576698