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

Unified Diff: chrome/renderer/searchbox/searchbox.h

Issue 2884293002: Remove unused embeddedSearch.searchBox APIs (Closed)
Patch Set: . Created 3 years, 7 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/renderer/searchbox/searchbox.h
diff --git a/chrome/renderer/searchbox/searchbox.h b/chrome/renderer/searchbox/searchbox.h
index 40679545ec8f6958a4d42e5c517607473f5e04b7..9d22f9f94d9c31e93d8883d24b5638d73278d6b3 100644
--- a/chrome/renderer/searchbox/searchbox.h
+++ b/chrome/renderer/searchbox/searchbox.h
@@ -124,7 +124,6 @@ class SearchBox : public content::RenderFrameObserver,
bool is_focused() const { return is_focused_; }
bool is_input_in_progress() const { return is_input_in_progress_; }
bool is_key_capture_enabled() const { return is_key_capture_enabled_; }
- const base::string16& query() const { return query_; }
const InstantSuggestion& suggestion() const { return suggestion_; }
private:
@@ -142,8 +141,7 @@ class SearchBox : public content::RenderFrameObserver,
const std::vector<InstantMostVisitedItem>& items) override;
void SetInputInProgress(bool input_in_progress) override;
void SetSuggestionToPrefetch(const InstantSuggestion& suggestion) override;
- void Submit(const base::string16& query,
- const EmbeddedSearchRequestParams& params) override;
+ void Submit(const EmbeddedSearchRequestParams& params) override;
void ThemeChanged(const ThemeBackgroundInfo& theme_info) override;
// Returns the current zoom factor of the render view or 1 on failure.
@@ -163,7 +161,6 @@ class SearchBox : public content::RenderFrameObserver,
bool is_key_capture_enabled_;
InstantRestrictedIDCache<InstantMostVisitedItem> most_visited_items_cache_;
ThemeBackgroundInfo theme_info_;
- base::string16 query_;
EmbeddedSearchRequestParams embedded_search_request_params_;
InstantSuggestion suggestion_;
chrome::mojom::InstantAssociatedPtr instant_service_;

Powered by Google App Engine
This is Rietveld 408576698