[chrome:omnibox]: Refactoring HTML generation part 3/3, create OutputResultsGroup helper class.

This is the 3rd of 3 CL's to replace the global static helper functions which manipulate the DOM with classes. In this CL, we replace the function addResultToOutput with OutputResultsGroup, which is responsible for generating HTML for each response from C++ AutocompleteController. Multiple responses can be returned for a single query, each is handled by unique OutputResultsGroup.

Bug: 891303
Change-Id: I385ee9b3b299d640f9cfb62d0b3bef5c704adbe8
Reviewed-on: https://chromium-review.googlesource.com/c/1294412
Commit-Queue: manuk hovanesian <manukh@chromium.org>
Reviewed-by: Tommy Li <tommycli@chromium.org>
Cr-Commit-Position: refs/heads/master@{#603484}
3 files changed