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

Unified Diff: chrome/browser/ui/search/instant_ipc_sender.cc

Issue 18223002: InstantExtended: Remove overlay control code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Call renamed method. Created 7 years, 6 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
« no previous file with comments | « chrome/browser/ui/search/instant_ipc_sender.h ('k') | chrome/browser/ui/search/instant_overlay.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/search/instant_ipc_sender.cc
diff --git a/chrome/browser/ui/search/instant_ipc_sender.cc b/chrome/browser/ui/search/instant_ipc_sender.cc
index 4150259e3787df4fc60d21af710d6badd7c399ca..a457534a09c9551162429824779eca31095a46b2 100644
--- a/chrome/browser/ui/search/instant_ipc_sender.cc
+++ b/chrome/browser/ui/search/instant_ipc_sender.cc
@@ -15,26 +15,10 @@ class InstantIPCSenderImpl : public InstantIPCSender {
virtual ~InstantIPCSenderImpl() {}
private:
- virtual void Update(const string16& text,
- size_t selection_start,
- size_t selection_end,
- bool verbatim) OVERRIDE {
- Send(new ChromeViewMsg_SearchBoxChange(routing_id(), text, verbatim,
- selection_start, selection_end));
- }
-
virtual void Submit(const string16& text) OVERRIDE {
Send(new ChromeViewMsg_SearchBoxSubmit(routing_id(), text));
}
- virtual void Cancel(const string16& text) OVERRIDE {
- Send(new ChromeViewMsg_SearchBoxCancel(routing_id(), text));
- }
-
- virtual void SetPopupBounds(const gfx::Rect& bounds) OVERRIDE {
- Send(new ChromeViewMsg_SearchBoxPopupResize(routing_id(), bounds));
- }
-
virtual void SetOmniboxBounds(const gfx::Rect& bounds) OVERRIDE {
Send(new ChromeViewMsg_SearchBoxMarginChange(
routing_id(), bounds.x(), bounds.width()));
@@ -51,37 +35,11 @@ class InstantIPCSenderImpl : public InstantIPCSender {
routing_id(), is_app_launcher_enabled));
}
- virtual void SendAutocompleteResults(
- const std::vector<InstantAutocompleteResult>& results) OVERRIDE {
- Send(new ChromeViewMsg_SearchBoxAutocompleteResults(routing_id(), results));
- }
-
- virtual void UpOrDownKeyPressed(int count) OVERRIDE {
- Send(new ChromeViewMsg_SearchBoxUpOrDownKeyPressed(routing_id(), count));
- }
-
- virtual void EscKeyPressed() OVERRIDE {
- Send(new ChromeViewMsg_SearchBoxEscKeyPressed(routing_id()));
- }
-
- virtual void CancelSelection(const string16& user_text,
- size_t selection_start,
- size_t selection_end,
- bool verbatim) OVERRIDE {
- Send(new ChromeViewMsg_SearchBoxCancelSelection(
- routing_id(), user_text, verbatim, selection_start, selection_end));
- }
-
virtual void SendThemeBackgroundInfo(
const ThemeBackgroundInfo& theme_info) OVERRIDE {
Send(new ChromeViewMsg_SearchBoxThemeChanged(routing_id(), theme_info));
}
- virtual void SetDisplayInstantResults(bool display_instant_results) OVERRIDE {
- Send(new ChromeViewMsg_SearchBoxSetDisplayInstantResults(
- routing_id(), display_instant_results));
- }
-
virtual void FocusChanged(OmniboxFocusState state,
OmniboxFocusChangeReason reason) OVERRIDE {
Send(new ChromeViewMsg_SearchBoxFocusChanged(routing_id(), state, reason));
« no previous file with comments | « chrome/browser/ui/search/instant_ipc_sender.h ('k') | chrome/browser/ui/search/instant_overlay.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698