Chromium Code Reviews| 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 { |
|
samarth
2013/07/02 21:14:15
We should make sure the server isn't relying on th
Jered
2013/07/02 22:03:11
It can't be set, because Instant is disabled, righ
|
| - 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)); |